Bug 159831 - Segmentation fault on exit
Summary: Segmentation fault on exit
Status: RESOLVED DUPLICATE of bug 157042
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-21 20:41 UTC by Fabio Sirna
Modified: 2024-02-22 12:38 UTC (History)
2 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 Fabio Sirna 2024-02-21 20:41:41 UTC
As soon as I close the LibreCalc, I get an error. This is the log.




Application: soffice (soffice), signal: Segmentation fault

           PID: 6603 (soffice.bin)
           UID: 1000 (fabio)
           GID: 1000 (fabio)
        Signal: 11 (SEGV)
     Timestamp: Wed 2024-02-21 21:37:32 CET (9s ago)
  Command Line: /usr/lib64/libreoffice/program/soffice.bin --calc --splash-pipe=5
    Executable: /usr/lib64/libreoffice/program/soffice.bin
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-libreoffice\x2dcalc-cf14d57206ad46118bb58e8ee6e48c73.scope
          Unit: user@1000.service
     User Unit: app-libreoffice\x2dcalc-cf14d57206ad46118bb58e8ee6e48c73.scope
         Slice: user-1000.slice
     Owner UID: 1000 (fabio)
       Boot ID: 3c7cbdeefdd8410eb3c4e3f485502d6f
    Machine ID: 0959f08706a34a3387265cf4bf8ae110
      Hostname: tumbleweed
       Storage: /var/lib/systemd/coredump/core.soffice\x2ebin.1000.3c7cbdeefdd8410eb3c4e3f485502d6f.6603.1708547852000000.zst (present)
  Size on Disk: 63.3M
       Message: Process 6603 (soffice.bin) of user 1000 dumped core.
                
                Stack trace of thread 6603:
                #0  0x00007f63698949ec __pthread_kill_implementation (libc.so.6 + 0x949ec)
                #1  0x00007f6369841176 raise (libc.so.6 + 0x41176)
                #2  0x00007f6363034d9a _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x7d9a)
                #3  0x00007f6369841240 __restore_rt (libc.so.6 + 0x41240)
                #4  0x00007f636e35fab0 _ZN3rtl3str7releaseI12_rtl_uStringEEvPT_ (libuno_sal.so.3 + 0x16ab0)
                #5  0x00007f636aebdcbb _ZNSt10_HashtableIN3rtl8OUStringESt4pairIKS1_N3com3sun4star3uno3AnyEESaIS9_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb1ELb0ELb1EEEE5clearEv (libmergedlo.so + 0x12bdcbb)
                #6  0x00007f636b00d693 _ZN10comphelper6detail20ConfigurationWrapperD1Ev (libmergedlo.so + 0x140d693)
                #7  0x00007f63698439e6 __run_exit_handlers (libc.so.6 + 0x439e6)
                #8  0x00007f6369843b30 exit (libc.so.6 + 0x43b30)
                #9  0x00007f636982a1f7 __libc_start_call_main (libc.so.6 + 0x2a1f7)
                #10 0x00007f636982a2b9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a2b9)
                #11 0x00005598c78010c5 _start (soffice.bin + 0x10c5)
                
                Stack trace of thread 6623:
                #0  0x00007f63698e552b __getpid (libc.so.6 + 0xe552b)
                #1  0x00007f63404eaa69 n/a (libhsa-runtime64.so.1 + 0xeaa69)
                #2  0x00007f63404e9719 n/a (libhsa-runtime64.so.1 + 0xe9719)
                #3  0x00007f63404e2a4e n/a (libhsa-runtime64.so.1 + 0xe2a4e)
                #4  0x00007f6340476f94 n/a (libhsa-runtime64.so.1 + 0x76f94)
                #5  0x00007f634045092e n/a (libhsa-runtime64.so.1 + 0x5092e)
                #6  0x00007f6340468b12 n/a (libhsa-runtime64.so.1 + 0x68b12)
                #7  0x00007f634041a9e7 n/a (libhsa-runtime64.so.1 + 0x1a9e7)
                #8  0x00007f6369892bb2 start_thread (libc.so.6 + 0x92bb2)
                #9  0x00007f636991400c __clone3 (libc.so.6 + 0x11400c)
                
                Stack trace of thread 6605:
                #0  0x00007f636990578f __poll (libc.so.6 + 0x10578f)
                #1  0x00007f636836aaff n/a (libglib-2.0.so.0 + 0x5daff)
                #2  0x00007f636836b20c g_main_context_iteration (libglib-2.0.so.0 + 0x5e20c)
                #3  0x00007f636514688e _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x34688e)
                #4  0x00007f63650ec3cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ec3cb)
                #5  0x00007f6364f0304e _ZN7QThread4execEv (libQt5Core.so.5 + 0x10304e)
                #6  0x00007f6363211517 n/a (libQt5DBus.so.5 + 0x1a517)
                #7  0x00007f6364f0427d n/a (libQt5Core.so.5 + 0x10427d)
                #8  0x00007f6369892bb2 start_thread (libc.so.6 + 0x92bb2)
                #9  0x00007f636991400c __clone3 (libc.so.6 + 0x11400c)
                ELF object binary architecture: AMD x86-64


This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 6603]
[New LWP 6623]
[New LWP 6605]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/lib64/libreoffice/program/soffice.bin --calc --splash-pipe=5'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f63698949ec in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f636557d500 (LWP 6603))]
[Current thread is 1 (Thread 0x7f636557d500 (LWP 6603))]

Thread 3 (Thread 0x7f6360a006c0 (LWP 6605)):
#0  0x00007f636990578f in poll () from /lib64/libc.so.6
#1  0x00007f636836aaff in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f636836b20c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f636514688e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f63650ec3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f6364f0304e in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f6363211517 in ?? () from /lib64/libQt5DBus.so.5
#7  0x00007f6364f0427d in ?? () from /lib64/libQt5Core.so.5
#8  0x00007f6369892bb2 in start_thread () from /lib64/libc.so.6
#9  0x00007f636991400c in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6339c006c0 (LWP 6623)):
#0  0x00007f63698e552b in getpid () from /lib64/libc.so.6
#1  0x00007f63404eaa69 in ?? () from /opt/rocm-6.0.0/lib/libhsa-runtime64.so.1
#2  0x00007f63404e9719 in ?? () from /opt/rocm-6.0.0/lib/libhsa-runtime64.so.1
#3  0x00007f63404e2a4e in ?? () from /opt/rocm-6.0.0/lib/libhsa-runtime64.so.1
#4  0x00007f6340476f94 in ?? () from /opt/rocm-6.0.0/lib/libhsa-runtime64.so.1
#5  0x00007f634045092e in ?? () from /opt/rocm-6.0.0/lib/libhsa-runtime64.so.1
#6  0x00007f6340468b12 in ?? () from /opt/rocm-6.0.0/lib/libhsa-runtime64.so.1
#7  0x00007f634041a9e7 in ?? () from /opt/rocm-6.0.0/lib/libhsa-runtime64.so.1
#8  0x00007f6369892bb2 in start_thread () from /lib64/libc.so.6
#9  0x00007f636991400c in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f636557d500 (LWP 6603)):
[KCrash Handler]
#4  rtl::str::release<_rtl_uString> () at /usr/src/debug/libreoffice-7.6.4.1/sal/rtl/strtmpl.hxx:745
#5  rtl_uString_release (pThis=0x7f6332366a80) at /usr/src/debug/libreoffice-7.6.4.1/sal/rtl/ustring.cxx:1178
#6  0x00007f636aebdcbb in rtl::OUString::~OUString () at /usr/src/debug/libreoffice-7.6.4.1/include/rtl/ustring.hxx:549
#7  std::pair<rtl::OUString const, com::sun::star::uno::Any>::~pair () at /usr/include/c++/13/bits/stl_pair.h:187
#8  std::__new_allocator<std::__detail::_Hash_node<std::pair<rtl::OUString const, com::sun::star::uno::Any>, true> >::destroy<std::pair<rtl::OUString const, com::sun::star::uno::Any> > () at /usr/include/c++/13/bits/new_allocator.h:198
#9  std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<rtl::OUString const, com::sun::star::uno::Any>, true> > >::destroy<std::pair<rtl::OUString const, com::sun::star::uno::Any> > () at /usr/include/c++/13/bits/alloc_traits.h:558
#10 std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<rtl::OUString const, com::sun::star::uno::Any>, true> > >::_M_deallocate_node () at /usr/include/c++/13/bits/hashtable_policy.h:2011
#11 std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<rtl::OUString const, com::sun::star::uno::Any>, true> > >::_M_deallocate_nodes () at /usr/include/c++/13/bits/hashtable_policy.h:2033
#12 std::_Hashtable<rtl::OUString, std::pair<rtl::OUString const, com::sun::star::uno::Any>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Any> >, std::__detail::_Select1st, std::equal_to<rtl::OUString>, std::hash<rtl::OUString>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::clear (this=0x7f636e11e420 <_ZZN10comphelper6detail20ConfigurationWrapper3getEvE7WRAPPER.lto_priv.0+64>) at /usr/include/c++/13/bits/hashtable.h:2524
#13 0x00007f636b00d693 in std::unordered_map<rtl::OUString, com::sun::star::uno::Any, std::hash<rtl::OUString>, std::equal_to<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Any> > >::clear () at /usr/include/c++/13/bits/unordered_map.h:798
#14 comphelper::detail::ConfigurationWrapper::~ConfigurationWrapper () at /usr/src/debug/libreoffice-7.6.4.1/comphelper/source/misc/configuration.cxx:167
#15 0x00007f63698439e6 in __run_exit_handlers () from /lib64/libc.so.6
#16 0x00007f6369843b30 in exit () from /lib64/libc.so.6
#17 0x00007f636982a1f7 in __libc_start_call_main () from /lib64/libc.so.6
#18 0x00007f636982a2b9 in __libc_start_main_impl () from /lib64/libc.so.6
#19 0x00005598c78010c5 in _start () at ../sysdeps/x86_64/start.S:115
Comment 1 m_a_riosv 2024-02-21 21:28:44 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode.

Please paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 2 Stéphane Guillou (stragu) 2024-02-22 04:10:02 UTC
This is probably the same as bug 157042, looking at the trace.
Please let us know if it is not resolved in the upcoming 7.6.5 version.
Thank you!

*** This bug has been marked as a duplicate of bug 157042 ***
Comment 3 Fabio Sirna 2024-02-22 12:38:42 UTC
Hi Miguel,
tyring to replicate it in safe mode, but I can't. Here the informations from 
about:

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 24; OS: Linux 6.7; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded