Bug 139060 - LibreOffice Draw crashes when accessing Draw/General options
Summary: LibreOffice Draw crashes when accessing Draw/General options
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks:
 
Reported: 2020-12-19 11:46 UTC by bug.spencor
Modified: 2020-12-19 20:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
gdbtrace.log (12.18 KB, text/x-log)
2020-12-19 15:12 UTC, bug.spencor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bug.spencor 2020-12-19 11:46:15 UTC
I'm using LibreOffice 6.4.6 from Xubuntu 20.04 (I also tried with 6.4.7 from PPA):

When opening Tools -> Options -> LibreOffice Draw -> General the application crashes.

A new dialog "LibreOffice 6.4 Document Recovery" with message "Due to an error, LibreOffice crashed. ..."

I already renamed .config/LibreOffice folder to start with a clean setup -> same error.
Comment 1 Julien Nabet 2020-12-19 12:48:31 UTC
Could you give a try at https://wiki.documentfoundation.org/QA/FirstSteps (except profile part since you've already tested)?

If you still reproduce this, would it be possible you attach a backtrace? (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace)
Comment 2 bug.spencor 2020-12-19 15:12:09 UTC
Ok. here it is:

- i upgraded to 6.4.7 using ppa:libreoffice/libreoffice-6-4
- used renderer is "default", so it's not a graphics issue
- it's not Calc, so no OpenCL issue

- I generated a backtrace which will be attached
Comment 3 bug.spencor 2020-12-19 15:12:40 UTC
Created attachment 168330 [details]
gdbtrace.log
Comment 4 Julien Nabet 2020-12-19 15:58:21 UTC
2 things you can try:
1) Open console/terminal and type:
export SAL_USE_VCLPLUGIN=gen && soffice --draw
then try to reproduce the crash.
If you don't reproduce the crash, you'll got a workaround.

2) Since 6.4.7 is the last official release from 6.4 branch and there won't be a new one in this branch, you can give a try to 7.0.4 rc2 (from LO ppa too).
Comment 5 bug.spencor 2020-12-19 18:15:57 UTC
(In reply to Julien Nabet from comment #4)
> 2 things you can try:
> 1) Open console/terminal and type:
> export SAL_USE_VCLPLUGIN=gen && soffice --draw
> then try to reproduce the crash.
> If you don't reproduce the crash, you'll got a workaround.
> 

With that property it crashed, too. Unfortunately I lost the backtrace, because it was in /tmp and then I rebooted. Maybe I can retry it after downgrading Libreoffice again

> 2) Since 6.4.7 is the last official release from 6.4 branch and there won't
> be a new one in this branch, you can give a try to 7.0.4 rc2 (from LO ppa
> too).

Now I cannot start LibreOffice 7.0 anymore;

- either I get:

$ export SAL_USE_VCLPLUGIN= && soffice --draw
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3e843)[0x7f4b47cb6843]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3e9ba)[0x7f4b47cb69ba]
/lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f4b47a96210]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f4b47a9618b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f4b47a75859]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x9e951)[0x7f4b44c42951]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa47c)[0x7f4b44c4e47c]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa4e7)[0x7f4b44c4e4e7]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa799)[0x7f4b44c4e799]
/usr/lib/libreoffice/program/libmergedlo.so(+0xeebe18)[0x7f4b48bcae18]
/usr/lib/libreoffice/program/libmergedlo.so(+0x14edc0d)[0x7f4b491ccc0d]
/usr/lib/libreoffice/program/libmergedlo.so(+0x150b1d2)[0x7f4b491ea1d2]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2cfc5bd)[0x7f4b4a9db5bd]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2cfc89a)[0x7f4b4a9db89a]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3utl10ConfigItemC2ERKN3rtl8OUStringE14ConfigItemMode+0x82)[0x7f4b4a9d5532]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2d36b16)[0x7f4b4aa15b16]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN19SvtSysLocaleOptionsC1Ev+0x129)[0x7f4b4aa16fb9]
/usr/lib/libreoffice/program/libmergedlo.so(+0x311c8e6)[0x7f4b4adfb8e6]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0xe1c36)[0x7f4b40d23c36]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0xe3810)[0x7f4b40d25810]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0xf015b)[0x7f4b40d3215b]
/usr/lib/libreoffice/program/libmergedlo.so(_Z7InitVCLv+0x4f2)[0x7f4b4ae07be2]
/usr/lib/libreoffice/program/libmergedlo.so(_Z10ImplSVMainv+0x115)[0x7f4b4ae09185]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0xa3)[0x7f4b49ead153]
/usr/lib/libreoffice/program/soffice.bin(+0x10b0)[0x5565c66980b0]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f4b47a770b3]
/usr/lib/libreoffice/program/soffice.bin(+0x10ee)[0x5565c66980ee]

- or I get:

$ export SAL_USE_VCLPLUGIN= && soffice --draw
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3e843)[0x7f4b47cb6843]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3e9ba)[0x7f4b47cb69ba]
/lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f4b47a96210]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f4b47a9618b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f4b47a75859]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x9e951)[0x7f4b44c42951]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa47c)[0x7f4b44c4e47c]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa4e7)[0x7f4b44c4e4e7]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa799)[0x7f4b44c4e799]
/usr/lib/libreoffice/program/libmergedlo.so(+0xeebe18)[0x7f4b48bcae18]
/usr/lib/libreoffice/program/libmergedlo.so(+0x14edc0d)[0x7f4b491ccc0d]
/usr/lib/libreoffice/program/libmergedlo.so(+0x150b1d2)[0x7f4b491ea1d2]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2cfc5bd)[0x7f4b4a9db5bd]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2cfc89a)[0x7f4b4a9db89a]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3utl10ConfigItemC2ERKN3rtl8OUStringE14ConfigItemMode+0x82)[0x7f4b4a9d5532]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2d36b16)[0x7f4b4aa15b16]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN19SvtSysLocaleOptionsC1Ev+0x129)[0x7f4b4aa16fb9]
/usr/lib/libreoffice/program/libmergedlo.so(+0x311c8e6)[0x7f4b4adfb8e6]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0xe1c36)[0x7f4b40d23c36]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0xe3810)[0x7f4b40d25810]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0xf015b)[0x7f4b40d3215b]
/usr/lib/libreoffice/program/libmergedlo.so(_Z7InitVCLv+0x4f2)[0x7f4b4ae07be2]
/usr/lib/libreoffice/program/libmergedlo.so(_Z10ImplSVMainv+0x115)[0x7f4b4ae09185]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0xa3)[0x7f4b49ead153]
/usr/lib/libreoffice/program/soffice.bin(+0x10b0)[0x5565c66980b0]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f4b47a770b3]
/usr/lib/libreoffice/program/soffice.bin(+0x10ee)[0x5565c66980ee]

That's strange, because I installed 7.0 before, and at least the LibreOffice-Launcher and Draw started initially. Then I had a problem with restoring documents from the previous crash and could not start Draw. So I downgraded again. Now I cannot start it anymore at all.
Comment 6 Julien Nabet 2020-12-19 19:04:20 UTC
Hope you don't have both LO versions in the same time.

Anyway, I think the best thing to do is:
- remove any LO version
- make sure everything is up-to-date on your system
- install only 7.0.4rc2
- remove LO profile to be sure it's clean
give a new try first in safe mode and if ok, in normal mode

If you still reproduce this the crash at launching, I must recognize I'm stuck.
Comment 7 bug.spencor 2020-12-19 19:57:38 UTC
After resinstalling 7.0.4 I can start the application now.

Also with 7.0.4 the crash does not occur anymore.

For me it's OK to use the newer version from the PPA. Thanks for you help!
Comment 8 Julien Nabet 2020-12-19 20:01:23 UTC
Thank you for the feedback.
Let's put this one to WFM then.