Bug 106103 - SIGSEGV on start in lcl_SelectAppIconPixmap
Summary: SIGSEGV on start in lcl_SelectAppIconPixmap
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, needsDevAdvice
Depends on:
Blocks:
 
Reported: 2017-02-20 12:39 UTC by Mikhail Krasilnikov
Modified: 2018-02-26 11:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace (8.55 KB, text/plain)
2017-02-20 12:46 UTC, Mikhail Krasilnikov
Details
registrymodifications.xcu wich causes crashes (deleted)
2017-03-21 13:55 UTC, Mikhail Krasilnikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Krasilnikov 2017-02-20 12:39:56 UTC
Description:
LibreOffice crashes on start.


Steps to Reproduce:
1. Start LibreOffice

Actual Results:  
Application crashed with SIGSEGV.

Expected Results:
Application is running.


Reproducible: Always

User Profile Reset: No

Additional Info:
gdb output:

~> gdb /usr/lib64/libreoffice/program/soffice.bin
Reading symbols from /usr/lib64/libreoffice/program/soffice.bin...Reading symbols from /usr/lib/debug/usr/lib64/libreoffice/program/soffice.bin.debug...done.
done.
(gdb) run
Starting program: /usr/lib64/libreoffice/program/soffice.bin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 20286.
[New Thread 0x7fffe0019700 (LWP 20287)]
[New Thread 0x7fffd3521700 (LWP 20288)]
[New Thread 0x7fffd2d20700 (LWP 20289)]
[New Thread 0x7fffd251f700 (LWP 20290)]

Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
lcl_SelectAppIconPixmap () at /usr/src/debug/libreoffice-5.3.0.3/vcl/unx/generic/window/salframe.cxx:257
257         if( ! ImplGetResMgr() )




User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 Mikhail Krasilnikov 2017-02-20 12:46:11 UTC
Created attachment 131354 [details]
Backtrace
Comment 2 Mikhail Krasilnikov 2017-02-20 12:54:43 UTC
OS: openSUSE Thumbleweed,
Installed LO packages:

libreoffice-base-drivers-mysql-5.3.0.3-488.1.x86_64
libreoffice-mailmerge-5.3.0.3-488.1.x86_64
libreoffice-base-5.3.0.3-488.1.x86_64
libreoffice-math-debuginfo-5.3.0.3-488.1.x86_64
libreoffice-writer-5.3.0.3-488.1.x86_64
libreoffice-icon-theme-hicontrast-5.3.0.3-488.1.noarch
libreoffice-l10n-en-5.3.0.3-488.1.noarch
libreoffice-icon-theme-sifr-5.3.0.3-488.1.noarch
libreoffice-debuginfo-5.3.0.3-488.1.x86_64
libreoffice-impress-5.3.0.3-488.1.x86_64
libreoffice-debugsource-5.3.0.3-488.1.x86_64
libreoffice-math-5.3.0.3-488.1.x86_64
libreoffice-base-debuginfo-5.3.0.3-488.1.x86_64
libreoffice-l10n-ru-5.3.0.3-488.1.noarch
libreoffice-base-drivers-mysql-debuginfo-5.3.0.3-488.1.x86_64
libreoffice-pyuno-5.3.0.3-1.1.x86_64
libreoffice-5.3.0.3-488.1.x86_64
libreoffice-share-linker-1-7.4.noarch
libreoffice-filters-optional-5.3.0.3-488.1.x86_64
libreoffice-writer-debuginfo-5.3.0.3-488.1.x86_64
libreoffice-draw-5.3.0.3-488.1.x86_64
libreoffice-draw-debuginfo-5.3.0.3-488.1.x86_64
libreoffice-branding-upstream-5.3.0.3-488.1.noarch
libreoffice-calc-5.3.0.3-488.1.x86_64
libreoffice-kde4-debuginfo-5.3.0.3-488.1.x86_64
libreoffice-kde4-5.3.0.3-488.1.x86_64
libreoffice-calc-debuginfo-5.3.0.3-488.1.x86_64
libreoffice-icon-theme-oxygen-5.3.0.3-488.1.noarch
libreoffice-gdb-pretty-printers-5.3.0.3-488.2.noarch
libreoffice-icon-theme-galaxy-5.3.0.3-488.1.noarch
libreoffice-calc-extensions-5.3.0.3-488.1.x86_64
libreoffice-icon-theme-breeze-5.3.0.3-488.1.noarch
Comment 3 Mikhail Krasilnikov 2017-02-20 13:10:52 UTC
Replacing libreoffice-kde4 with libreoffice-gtk3 allowed me to start LibreOffice.
Comment 4 Thomas Hackert 2017-03-02 15:26:31 UTC
Hello Mikhail, *,
thank you very much for reporting this bug :) I cannot - however - reproduce it with

OS: Debian Testing AMD64
LO: Version: 5.3.1.1
Build ID: 72fee18f394a980128dc111963f2eefb05998eeb
CPU Threads: 4; OS Version: Linux 4.5; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: de-DE (de_DE.UTF-8); Calc: group
(parallel installed, following the instructions from https://wiki.documentfoundation.org/Installing_in_parallel/Linux) nor other versions installed on my system, sorry ... :(

As you mentioned a couple of LO packages installed in your openSUSE system in comment 2: does this crash only happens with openSUSE's LO packages, or does it also happen with ours? If it only happens on openSUSE's, it would be better to report it to their bug tracker at http://bugzilla.opensuse.org/ ... ;)
HTH
Thomas.
Comment 5 Mikhail Krasilnikov 2017-03-02 23:18:43 UTC
Yes it seems this is an openSUSE problem. I've crated bug in openSUSE tracker: https://bugzilla.opensuse.org/show_bug.cgi?id=1027792
Comment 6 Julien Nabet 2017-03-03 06:14:58 UTC
Let's put this one to NOTOURBUG then.
Don't hesitate to reopen this tracker if it's finally an LO bug.
Comment 7 Mikhail Krasilnikov 2017-03-21 13:54:15 UTC
Well, this is not an openSUSE problem. Now I can reproduce it with original LibreOffice 5.3.1.2 Linux x86-64 RPMs.

Crashes were caused by this line in ~/.config/libreoffice/4/user/registrymodifications.xcu file:

<item oor:path="/org.openoffice.Office.Common/VCL"><prop oor:name="UseOpenGL" oor:op="fuse"><value>true</value></prop></item>

Changing "true" to "false" fixes openSUSE LibreOffice build. And running original LO build with this option set to "true" leads to crash.
Comment 8 Mikhail Krasilnikov 2017-03-21 13:55:29 UTC
Created attachment 132045 [details]
registrymodifications.xcu wich causes crashes
Comment 9 Xisco Faulí 2017-06-26 18:41:35 UTC
This bug was never confirmed. Moving back to UNCONFIRMED
Comment 10 Xisco Faulí 2017-06-27 00:32:09 UTC Comment hidden (obsolete)
Comment 11 Mikhail Krasilnikov 2017-06-27 08:42:34 UTC
I could not reproduce this error with LO 5.3.4.2. After switching UseOpenGL on LO looks ugly but works. So I think this bug could be closed.
Comment 12 Xisco Faulí 2018-02-26 11:03:14 UTC
The content of attachment 132045 [details] has been deleted