Description: When closing LibreOffice, even starting it from a bash console (konsole from Plasma / KDE), a kcrash window is started. Below some traces I could get. The first one is from konsole: #being cf = 'libreoffice /.../somefile.ods' [nico@a7er ~]$ cf 45 -- exe=/usr/lib/libreoffice/program/soffice.bin 20 -- appname=soffice.bin 37 -- apppath=/usr/lib/libreoffice/program 10 -- signal=11 9 -- pid=3184 12 -- startupid=0 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = soffice.bin path = /usr/lib/libreoffice/program pid = 3184 KCrash: Arguments: /usr/lib/libreoffice/program/soffice.bin --nocrashhandler KCrash: Attempting to start /usr/lib/drkonqi file:///usr/lib/qt/qml/org/kde/kirigami.2/ContextDrawer.qml:132:9: QML ListView: Binding loop detected for property "topMargin" org.kde.drkonqi.bugzilla: RuntimeException: "Failed to resolve bugzilla product" org.kde.drkonqi: "Failed to resolve bugzilla product" The second one is from kcrash after installing the debug symbols (using the button it has): Application: soffice (soffice), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [KCrash Handler] #6 0x00007f38592a4884 in () at /usr/lib/libreoffice/program/libuno_sal.so.3 #7 0x00007f38588fe1d5 in () at /usr/lib/libreoffice/program/libcomphelper.so #8 0x00007f38588fe2f9 in () at /usr/lib/libreoffice/program/libcomphelper.so #9 0x00007f3858fc5fa5 in __run_exit_handlers (status=0, listp=0x7f3859163760 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:113 #10 0x00007f3858fc6120 in __GI_exit (status=<optimized out>) at exit.c:143 #11 0x00007f3858fae297 in __libc_start_call_main (main=main@entry=0x555f3a6d6020, argc=argc@entry=3, argv=argv@entry=0x7ffffb940468) at ../sysdeps/nptl/libc_start_call_main.h:74 #12 0x00007f3858fae34a in __libc_start_main_impl (main=0x555f3a6d6020, argc=3, argv=0x7ffffb940468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffb940458) at ../csu/libc-start.c:381 #13 0x0000555f3a6d6065 in () [Inferior 1 (process 3184) detached] Steps to Reproduce: 1. Launch the alias command I've mentioned, which points to 'libreoffice /.../somefile.ods' 2. Work on that file 3. Save 4. Close Calc's window or UI Actual Results: The traces I've mentioned before, in the konsole (if launched from the konsole) and the kcrash dialog, which output I've provided in the description but I'll repeat here: Application: soffice (soffice), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [KCrash Handler] #6 0x00007f38592a4884 in () at /usr/lib/libreoffice/program/libuno_sal.so.3 #7 0x00007f38588fe1d5 in () at /usr/lib/libreoffice/program/libcomphelper.so #8 0x00007f38588fe2f9 in () at /usr/lib/libreoffice/program/libcomphelper.so #9 0x00007f3858fc5fa5 in __run_exit_handlers (status=0, listp=0x7f3859163760 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:113 #10 0x00007f3858fc6120 in __GI_exit (status=<optimized out>) at exit.c:143 #11 0x00007f3858fae297 in __libc_start_call_main (main=main@entry=0x555f3a6d6020, argc=argc@entry=3, argv=argv@entry=0x7ffffb940468) at ../sysdeps/nptl/libc_start_call_main.h:74 #12 0x00007f3858fae34a in __libc_start_main_impl (main=0x555f3a6d6020, argc=3, argv=0x7ffffb940468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffb940458) at ../csu/libc-start.c:381 #13 0x0000555f3a6d6065 in () [Inferior 1 (process 3184) detached] Expected Results: LibreOffice Calc closing without any reports, in other words, no crash should raise after closing. Reproducible: Sometimes User Profile Reset: Yes Additional Info: It's not only new to LibreOffice version 7.4.3.2 - I can't tell exactly in which version it started to happen, but I think it was around June 2022, in package libreoffice-fresh for ArchLinux, which points to 7.3.3 likely. Plasma / KDE version is currently 5.26.4 Linux Distribution is ArchLinux. Version: 7.4.3.2 / LibreOffice Community Build ID: 40(Build:2) CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: es-AR (es_AR.UTF-8); UI: en-US 7.4.3-3 Calc: threaded
I'm sorry... I was pretty sure I had cleared the profile, but after doing it (might be the first time, I can't remember), the crash is not happening. I'll close the bug, and in case it reoccurs, I'll reopen it. Sorry for the noise.
Happened again, now with the new user profile: 1) konsole output: 45 -- exe=/usr/lib/libreoffice/program/soffice.bin 20 -- appname=soffice.bin 37 -- apppath=/usr/lib/libreoffice/program 10 -- signal=11 10 -- pid=71688 12 -- startupid=0 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = soffice.bin path = /usr/lib/libreoffice/program pid = 71688 KCrash: Arguments: /usr/lib/libreoffice/program/soffice.bin --nocrashhandler KCrash: Attempting to start /usr/lib/drkonqi 2) kcrash output: Application: soffice (soffice), signal: Segmentation fault [KCrash Handler] #4 0x00007fc5676df884 in () at /usr/lib/libreoffice/program/libuno_sal.so.3 #5 0x00007fc566d391d5 in () at /usr/lib/libreoffice/program/libcomphelper.so #6 0x00007fc566d392f9 in () at /usr/lib/libreoffice/program/libcomphelper.so #7 0x00007fc567400fa5 in () at /usr/lib/libc.so.6 #8 0x00007fc567401120 in () at /usr/lib/libc.so.6 #9 0x00007fc5673e9297 in () at /usr/lib/libc.so.6 #10 0x00007fc5673e934a in __libc_start_main () at /usr/lib/libc.so.6 #11 0x000055dab883c065 in () [Inferior 1 (process 71688) detached] 3) kcrash output after installing (again) the debug symbols: Application: soffice (soffice), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [KCrash Handler] #6 0x00007fc5676df884 in () at /usr/lib/libreoffice/program/libuno_sal.so.3 #7 0x00007fc566d391d5 in () at /usr/lib/libreoffice/program/libcomphelper.so #8 0x00007fc566d392f9 in () at /usr/lib/libreoffice/program/libcomphelper.so #9 0x00007fc567400fa5 in __run_exit_handlers (status=0, listp=0x7fc56759e760 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:113 #10 0x00007fc567401120 in __GI_exit (status=<optimized out>) at exit.c:143 #11 0x00007fc5673e9297 in __libc_start_call_main (main=main@entry=0x55dab883c020, argc=argc@entry=3, argv=argv@entry=0x7ffe04c81fb8) at ../sysdeps/nptl/libc_start_call_main.h:74 #12 0x00007fc5673e934a in __libc_start_main_impl (main=0x55dab883c020, argc=3, argv=0x7ffe04c81fb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe04c81fa8) at ../csu/libc-start.c:381 #13 0x000055dab883c065 in () [Inferior 1 (process 71688) detached]