Bug 149349 - LibreOffice Daily Master Build Is Crashed When Opening Writer (GTK3 and KF5)
Summary: LibreOffice Daily Master Build Is Crashed When Opening Writer (GTK3 and KF5)
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: highest critical
Assignee: Miklos Vajna
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-28 22:24 UTC by Rizal Muttaqin
Modified: 2022-05-31 02:23 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rizal Muttaqin 2022-05-28 22:24:03 UTC
Open up Writer make the app crash

Here what I can get from CLI 

Using GTK3:

SAL_USE_VCLPLUGIN=gtk3 libreofficedev7.4 

(soffice:85912): Gdk-WARNING **: 05:21:20.410: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
warn:sal.osl:85912:85912:sal/osl/unx/module.cxx:152: dlopen(/opt/libreofficedev7.4/program/libjava_gcc3.so, 257): /opt/libreofficedev7.4/program/libjava_gcc3.so: cannot open shared object file: No such file or directory
warn:sal.osl:85912:85912:sal/osl/unx/module.cxx:152: dlopen(/opt/libreofficedev7.4/program/libgcc3_java.so, 257): /opt/libreofficedev7.4/program/libgcc3_java.so: cannot open shared object file: No such file or directory
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = soffice.bin path = /opt/libreofficedev7.4/program pid = 85912
KCrash: Arguments: /opt/libreofficedev7.4/program/soffice.bin --nocrashhandler 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: known incorrect sRGB profile
libpng warning: profile matches sRGB but writing iCCP instead
Unable to find file for pid 85912 expected at "kcrash-metadata/85912.ini"
warn:sal.osl.pipe:85912:85914:sal/osl/unx/pipe.cxx:389: accept() failed: EBADF
warn:desktop.app:85912:85914:desktop/source/app/officeipcthread.cxx:1209: Error on accept: 10

(soffice:85912): GLib-GIO-ERROR **: 05:22:24.855: inotify read(): Bad file descriptor

Using kf5:

SAL_USE_VCLPLUGIN=kf5 libreofficedev7.4 
warn:sal.osl:86202:86202:sal/osl/unx/module.cxx:152: dlopen(/opt/libreofficedev7.4/program/libjava_gcc3.so, 257): /opt/libreofficedev7.4/program/libjava_gcc3.so: cannot open shared object file: No such file or directory
warn:sal.osl:86202:86202:sal/osl/unx/module.cxx:152: dlopen(/opt/libreofficedev7.4/program/libgcc3_java.so, 257): /opt/libreofficedev7.4/program/libgcc3_java.so: cannot open shared object file: No such file or directory
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = soffice.bin path = /opt/libreofficedev7.4/program pid = 86202
KCrash: Arguments: /opt/libreofficedev7.4/program/soffice.bin --nocrashhandler 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: known incorrect sRGB profile
libpng warning: profile matches sRGB but writing iCCP instead
^Cwarn:sal.osl.pipe:86202:86206:sal/osl/unx/pipe.cxx:389: accept() failed: EBADF
warn:desktop.app:86202:86206:desktop/source/app/officeipcthread.cxx:1209: Error on accept: 10
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 28 and type 'Read', disabling...


Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 7674399aac661eb503d7badc53b9a4d68bd9839d
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: id-ID (id_ID.UTF-8); UI: en-US
Calc: threaded
Comment 1 Julien Nabet 2022-05-29 20:54:38 UTC Comment hidden (obsolete)
Comment 2 Rizal Muttaqin 2022-05-29 21:47:32 UTC
(In reply to Julien Nabet from comment #1)
> On Writer I got a crash with gtk3 and kf5 but not gen rendering.
> Do you reproduce this with gen rendering?

Using gen Writer doesn't crash
Comment 3 Rizal Muttaqin 2022-05-29 22:08:25 UTC
Still reproducible with

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 6959a18d1a8fea4d65498083dc3ba05f640d0f39
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: id-ID (id_ID.UTF-8); UI: en-US
Calc: threaded
Comment 4 Timur 2022-05-30 07:44:01 UTC Comment hidden (obsolete)
Comment 5 Xisco Faulí 2022-05-30 08:52:16 UTC
Not reproduced in

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: c3baf2a7f48b5ee46c6792b3106cb4fedb4a2ad2
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 6 Rizal Muttaqin 2022-05-30 11:08:24 UTC
(In reply to Timur from comment #4)
> I don't know why Julien didn't confirm. I didn't test yet but I set New. 
> Just in case, did you try with a new profile?

Yes I have deleted old user profile completely (rm -Rf ~/.config/libreofficedev) and issue is persist
Comment 7 Julien Nabet 2022-05-30 11:33:06 UTC
(In reply to Timur from comment #4)
> I don't know why Julien didn't confirm. I didn't test yet but I set New. 
> Just in case, did you try with a new profile?

It's because I wanted to be sure it wasn't another bug I had.

Anyway, I think it should be fixed thanks to Miklos' patch https://cgit.freedesktop.org/libreoffice/core/commit/?id=b3f2ae52e381f7d5fa466dc9df7d04d3d13ca4b9.

(I'll give it a try tonight)
Comment 8 Stéphane Guillou (stragu) 2022-05-30 13:46:24 UTC
Also experienced that with:

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 212cb61fb6adc05395b9f9afe0dacbd6594ae06b
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

with user profile reset. OS is Ubuntu 20.04.
Comment 9 Julien Nabet 2022-05-30 18:43:55 UTC
With master sources updated today, I confirm I don't reproduce the crash anymore.

I'm pretty sure it's thanks to Miklos' patch https://cgit.freedesktop.org/libreoffice/core/commit/?id=b3f2ae52e381f7d5fa466dc9df7d04d3d13ca4b9.

Rizal/Strago: don't hesitate to reopen this tracker if you still reproduce this with a build which includes the quoted patch.

(Miklos: I assigned this one to you since you made the fix! :-))
Comment 10 Stéphane Guillou (stragu) 2022-05-31 02:23:29 UTC
Also verified as fixed on:

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 3676fb9d7b505d9f8079008b41e423b54663a86a
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Thank you all!