[Libreoffice-bugs] [Bug 127205] New: Crash when terminating the StarDesktop from running a document macro

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 28 15:55:47 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=127205

            Bug ID: 127205
           Summary: Crash when terminating the StarDesktop from running a
                    document macro
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: glogow at fbihome.de

Description:
This is basically a variant of bug 115090. But instead of closing the running
document, this closes LO. Eventually the same happens when calling
XDesktop::terminate() from an extension, but I didn't yet test that.

Interesting, but unrelated fact: if you have a modified document when opening
the crash document, this will trigger the veto handling and LO doesn't crash,
if you abort the shutdown / terminate. So everything else seem to work as
expected.

I also found
https://ask.libreoffice.org/en/question/175943/stardesktopterminate-does-not-terminateclose-libre-office/,
which suggest that probably adding a "wait" will prevent the crash, but even if
that works, it is just a workaround.

Some times an older LO version won't show the recovery dialog on crash, but
just on the next start. Some times you don't get any recovery dialog, but dmesg
shows a crash like

[25671.427177] soffice.bin[12655]: segfault at 0 ip 0000000000000000 sp
00007ffd9e2fcdf8 error 14 in soffice.bin[400000+1000]

Steps to Reproduce:
1. Open the attached document and click ok from the message box.


Actual Results:
LO crashes.

Expected Results:
LO should just exit without a crash.


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested with OOo 3.3.0 and various releases in between (bibisect releases) and
LO master (6.4).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190828/c71aed7b/attachment-0001.html>


More information about the Libreoffice-bugs mailing list