Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Crash on automatic update check #659

Open
egraether opened this issue Dec 21, 2018 · 3 comments
Open

Crash on automatic update check #659

egraether opened this issue Dec 21, 2018 · 3 comments

Comments

@egraether
Copy link
Contributor

reported on Linux Fedora 29, crash dump sent via Slack

PID: 12781 (Sourcetrail)
           UID: 6516 (user)
           GID: 5022 (space)
        Signal: 6 (ABRT)
     Timestamp: Fri 2018-12-21 14:50:13 CET (2h 9min ago)
  Command Line: /opt/sourcetrail/Sourcetrail
    Executable: /opt/sourcetrail/Sourcetrail
 Control Group: /user.slice/user-6516.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-6516.slice
       Session: 2
     Owner UID: 6516 (user)
       Boot ID: xxx
    Machine ID: xxx
      Hostname: machin
       Storage: /var/lib/systemd/coredump/core.Sourcetrail.6516.0fb7b6f6a7ff4a36938f6e10af29af45.12781.1545400213000000.lz4
       Message: Process 12781 (Sourcetrail) of user 6516 dumped core.
                
                Stack trace of thread 12781:
                #0  0x00007f47f237653f raise (libc.so.6)
                #1  0x00007f47f2360895 abort (libc.so.6)
                #2  0x00007f47f2735e9b n/a (libstdc++.so.6)
                #3  0x00007f47f273c2fc n/a (libstdc++.so.6)
                #4  0x00007f47f273c357 _ZSt9terminatev (libstdc++.so.6)
                #5  0x0000000000ca156f _ZNSt23_Sp_counted_ptr_inplaceISt6threadSaIS0_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv (Sourcetrail)
                #6  0x000000000095c576 n/a (Sourcetrail)
                #7  0x0000000000e17293 _ZN28SharedMemoryGarbageCollectorD1Ev (Sourcetrail)
                #8  0x0000000000e17862 _ZNSt15_Sp_counted_ptrIP28SharedMemoryGarbageCollectorLN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv (Sourcetrail)
                #9  0x0000000000e1678a n/a (Sourcetrail)
                #10 0x00007f47f2378ccc __run_exit_handlers (libc.so.6)
                #11 0x00007f47f2378e00 exit (libc.so.6)
                #12 0x00007f47d84a795b OPENSSL_config (libcrypto.so)
                #13 0x00007f47f30c80fa n/a (libQt5Network.so.5)
                #14 0x00007f47f30c2909 n/a (libQt5Network.so.5)
                #15 0x00007f47f30a41b4 n/a (libQt5Network.so.5)
                #16 0x00007f47f309cfc9 _ZN17QSslConfiguration20defaultConfigurationEv (libQt5Network.so.5)
                #17 0x0000000000a08908 _ZN9QtRequest11sendRequestE7QString (Sourcetrail)
                #18 0x00000000009628c1 _ZN15QtUpdateChecker5checkEbSt8functionIFvNS_6ResultEEE (Sourcetrail)
                #19 0x00000000009fd504 _ZN21QtUpdateCheckerWidget11checkUpdateEb (Sourcetrail)
                #20 0x00007f47f2afa0c6 n/a (libQt5Core.so.5)
                #21 0x00007f47f2aee7ab _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                #22 0x00007f47f3c3f5cc _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #23 0x00007f47f3c46917 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #24 0x00007f47f2ac2708 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                #25 0x00007f47f2b15cfe _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5)
                #26 0x00007f47f2b13d22 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #27 0x00007f47e15c35cd n/a (libQt5XcbQpa.so.5)
                #28 0x00007f47f2ac0fba _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #29 0x00007f47f2ac9ac4 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                #30 0x000000000092cc4e main (Sourcetrail)
                #31 0x00007f47f2362413 __libc_start_main (libc.so.6)
                #32 0x000000000095a891 _start (Sourcetrail)
@egraether
Copy link
Contributor Author

Fixed with 2018.4.53

Crash probably caused by no/incomplete openssl installation. Added proper exception handling which hopefully prevents the crash in the future.

@egraether
Copy link
Contributor Author

still present in 2019.1.11

           PID: 8828 (Sourcetrail)
           UID: XXX
           GID: XXX
        Signal: 6 (ABRT)
     Timestamp: Mon 2019-03-11 11:01:25 CET (8min ago)
  Command Line: /opt/sourcetrail/Sourcetrail
    Executable: /opt/sourcetrail/Sourcetrail
 Control Group: /user.slice/user-6516.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-6516.slice
       Session: 2
     Owner UID: XXX
       Boot ID: XXX
    Machine ID: XXXX
      Hostname: pc-solar5.lpp.polytechnique.fr
       Storage: /var/lib/systemd/coredump/core.Sourcetrail.6516.d34b54be025f4b38866b78f1d12c91e7.8828.1552298485000000.lz4
       Message: Process 8828 (Sourcetrail) of user 6516 dumped core.
                
                Stack trace of thread 8828:
                #0  0x00007fcd628c953f raise (libc.so.6)
                #1  0x00007fcd628b3895 abort (libc.so.6)
                #2  0x00007fcd62c88f1b n/a (libstdc++.so.6)
                #3  0x00007fcd62c8f38c n/a (libstdc++.so.6)
                #4  0x00007fcd62c8f3e7 _ZSt9terminatev (libstdc++.so.6)
                #5  0x0000000000ca70af _ZNSt23_Sp_counted_ptr_inplaceISt6threadSaIS0_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv (Sourcetrail)
                #6  0x000000000095f436 n/a (Sourcetrail)
                #7  0x0000000000e2bc13 _ZN28SharedMemoryGarbageCollectorD1Ev (Sourcetrail)
                #8  0x0000000000e2c1e2 _ZNSt15_Sp_counted_ptrIP28SharedMemoryGarbageCollectorLN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv (Sourcetrail)
                #9  0x0000000000e2b10a n/a (Sourcetrail)
                #10 0x00007fcd628cbccc __run_exit_handlers (libc.so.6)
                #11 0x00007fcd628cbe00 exit (libc.so.6)
                #12 0x00007fcd33d5595b OPENSSL_config (libcrypto.so)
                #13 0x00007fcd6361b0fa n/a (libQt5Network.so.5)
                #14 0x00007fcd63615909 n/a (libQt5Network.so.5)
                #15 0x00007fcd635f71b4 n/a (libQt5Network.so.5)
                #16 0x00007fcd635effc9 _ZN17QSslConfiguration20defaultConfigurationEv (libQt5Network.so.5)
                #17 0x0000000000a0c50d _ZN9QtRequest11sendRequestE7QString (Sourcetrail)
                #18 0x0000000000965751 _ZN15QtUpdateChecker5checkEbSt8functionIFvNS_6ResultEEE (Sourcetrail)
                #19 0x0000000000a01114 _ZN21QtUpdateCheckerWidget11checkUpdateEb (Sourcetrail)
                #20 0x00007fcd6304d0c6 n/a (libQt5Core.so.5)
                #21 0x00007fcd630417ab _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                #22 0x00007fcd641925cc _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #23 0x00007fcd64199917 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #24 0x00007fcd63015708 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                #25 0x00007fcd63068cfe _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5)
                #26 0x00007fcd63066d22 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #27 0x00007fcd51b165cd n/a (libQt5XcbQpa.so.5)
                #28 0x00007fcd63013fba _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #29 0x00007fcd6301cac4 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                #30 0x000000000092faee main (Sourcetrail)
                #31 0x00007fcd628b5413 __libc_start_main (libc.so.6)
                #32 0x000000000095d751 _start (Sourcetrail)

@egraether egraether reopened this Mar 11, 2019
@egraether
Copy link
Contributor Author

Added export OPENSSL_CONF=/etc/ssl/ to Sourcetrail.sh with 2019.2.19 as suggested by a user

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant