On my local build of the master branch, I am getting a crash upon exiting LO in the following circumstances: 1) Open LO ./instdir/program/soffice --calc 2) Open the Basic editor (Tools - Macros - Edit Macros) 3) Close the Basic editor 4) Close Calc 5) Crash Below is the backtrace obtained via make debugrun. System info Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 52806e4c1e241d12419373cb0ed013356e12c4b8 CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: CL threaded BACKTRACE Thread 1 "soffice.bin" received signal SIGABRT, Aborted. __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44 44 ./nptl/pthread_kill.c: No such file or directory. (gdb) bt #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44 #1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78 #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #3 0x00007ffff76428e6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #4 0x00007ffff76268b7 in __GI_abort () at ./stdlib/abort.c:79 #5 0x00007ffff72a4f06 in ??? () at /lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007ffff72b6e6c in ??? () at /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff72b5e19 in ??? () at /lib/x86_64-linux-gnu/libstdc++.so.6 #8 0x00007ffff72b6589 in __gxx_personality_v0 () at /lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007ffff7d49a59 in ??? () at /lib/x86_64-linux-gnu/libgcc_s.so.1 #10 0x00007ffff7d4a54d in _Unwind_Resume () at /lib/x86_64-linux-gnu/libgcc_s.so.1 #11 0x00007ffff643f09c in cppuhelper::WeakComponentImplHelperBase2::dispose (this=0x555559ab0b40) at /home/rafael/Programming/libreoffice/cppuhelper/source/compbase.cxx:30 #12 0x00007ffff64600b0 in cppuhelper::WeakComponentImplHelper2<com::sun::star::uno::XComponentContext, com::sun::star::container::XNameContainer>::dispose (this=0x555559ab0b40) at /home/rafael/Programming/libreoffice/cppuhelper/inc/compbase2.hxx:87 #13 0x00007ffff644a8a9 in cppu::(anonymous namespace)::DisposingForwarder::disposing (this=0x555559ab1170) at /home/rafael/Programming/libreoffice/cppuhelper/source/component_context.cxx:117 #14 0x00007ffff64427c4 in cppuhelper::OInterfaceContainerHelper4<com::sun::star::lang::XEventListener>::disposeAndClear (this=0x555555bf29e8, rGuard=..., rEvt=...) at /home/rafael/Programming/libreoffice/cppuhelper/inc/interfacecontainer4.hxx:402 #15 0x00007ffff643f00f in cppuhelper::WeakComponentImplHelperBase2::dispose (this=0x555555bf29c0) at /home/rafael/Programming/libreoffice/cppuhelper/source/compbase.cxx:29 #16 0x00007ffff64600b0 in cppuhelper::WeakComponentImplHelper2<com::sun::star::uno::XComponentContext, com::sun::star::container::XNameContainer>::dispose (this=0x555555bf29c0) at /home/rafael/Programming/libreoffice/cppuhelper/inc/compbase2.hxx:87 #17 0x00007ffff7a33bd2 in desktop::Desktop::DeInit (this=0x7fffffff6bb0) at /home/rafael/Programming/libreoffice/desktop/source/app/app.cxx:567 #18 0x00007fffeddb2a92 in DeInitVCL () at /home/rafael/Programming/libreoffice/vcl/source/app/svmain.cxx:556 #19 0x00007fffeddb14d5 in ImplSVMain () at /home/rafael/Programming/libreoffice/vcl/source/app/svmain.cxx:254 #20 0x00007fffeddb1731 in SVMain () at /home/rafael/Programming/libreoffice/vcl/source/app/svmain.cxx:261 #21 0x00007ffff7aaa0c7 in soffice_main () at /home/rafael/Programming/libreoffice/desktop/source/app/sofficemain.cxx:94 #22 0x0000555555554a60 in sal_main () at /home/rafael/Programming/libreoffice/desktop/source/app/main.c:51 #23 0x0000555555554a42 in main (argc=4, argv=0x7fffffff6dd8) at /home/rafael/Programming/libreoffice/desktop/source/app/main.c:49
No repro in: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 3b73071f7a7fcf80547da81e5effe4ed6018bbb4 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb) Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded The referenced commit is not in core, does your build include commits that haven't been merged yet?
Not repro on Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 8eee7eab8087590aa19bb9989c294e9be767f356 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
I was unable to reproduce the same behavior in Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a2265e8faa099d9652efd12392c2877c2df1d1eb CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded