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

            Bug ID: 152802
           Summary: Frequent Crashes when Closing LibreOffice (without
                    data losses, tested on Calc only)
           Product: LibreOffice
           Version: 7.4.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to