Error: Stellarium crashes with coredump signal 11

Hey there,

i’m using Manjaro quite a while now and am very happy with it.
One of my other hobbies is Astronomy. Therefore i use the Stellarium-package from the AUR. Installation worked fine and the general usage is ok too.
But when i try to delete one of the custom telescopes from the list the programm crashes and i get an coredump error.

journalctl shows the following line at the time of the crash:

kernel: stellarium[3676]: segfault at 7fcb86d66c58 ip 00007fcb6e378125 sp 00007fffd97017d0 error 4 in libQt5Widgets.so.5.15.5[7fcb6e1d1000+3c4000]

So i looked closer on the coredump-process:
coredumpctl info 3676 | less generates the following output (very long, although already shortened):

           PID: 3676 (stellarium)
           UID: 1000 (flo)
           GID: 1000 (flo)
        Signal: 11 (SEGV)
     Timestamp: Sat 2022-09-10 14:22:15 CEST (18min ago)
  Command Line: stellarium
    Executable: /usr/bin/stellarium
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (flo)
       Boot ID: d133935c3b8e488bad6fd6ed53fb0f00
    Machine ID: 4f16143f847c4c1386feecc9ceccbd0d
      Hostname: flo-mika-gulfi
       Storage: /var/lib/systemd/coredump/core.stellarium.1000.d133935c3b8e488bad6fd6ed53fb0f00.3676.1662812535000000.zst (present)
     Disk Size: 48.7M
       Message: Process 3676 (stellarium) of user 1000 dumped core.
                
                Module linux-vdso.so.1 with build-id 15c48e8c72ad1b981d55e5c548007224f45150b1
                Module libqnmbearer.so with build-id b1cbd6f2376017b756fb782fc9a325314e4c35e6
                Module libqgenericbearer.so with build-id 323ed9b1016288ff8521d212b1e5e0bd4ab9ced0
                Module libqconnmanbearer.so with build-id ea8573fa44b30d7d473702b24f7b4eddfc3d86b7
                Module libQt5Svg.so.5 with build-id 1638765a4fe9b14d115a5ca30e949fd90a9ac82c
                Module libqsvg.so with build-id 1ea8dae592b5b30f762efe2794b79f44e735dce5
                Module libQt5Pdf.so.5 with build-id d5f89f2a0606639128d32d9d194443e7649a9879
                Module libqpdf.so with build-id 3f9760fc8f5a9001f7ed48587e4140077230b634
                Module libqjpeg.so with build-id 9c4bed3debf5080c1483666c6d9d590d9007cd0d
                Module libqico.so with build-id 09e8beae999de04e1e49ba9d51dea9323de94b6b
                Module libqgif.so with build-id 51881447eb4f6e9a55bb6a1036b146048a7baa58
                Module libncursesw.so.6 with build-id b9917757481e6fa6097e2a1f31f5bb5eaf138c4e
                Module libedit.so.0 with build-id 4b0babfcad161c2ad0af6e59e2493258db23a331
                Module libvulkan.so.1 with build-id dd97393da4f886994c9dfc153b35ea6d906f57ff
                Module libdrm_nouveau.so.2 with build-id 78e99e753be2b598acf02a6f30bc6615a6a3067f
                Module libdrm_amdgpu.so.1 with build-id e03ead624f04700b1fd00df43863fecfb1ff8b72
                Module libelf.so.1 with build-id 5ba0792747dce7480d031794ed90c620da72dbff
                Module libdrm_radeon.so.1 with build-id 5c9c31961c5f0dd9b40cb3e134b8d9189ee59fbb
                Module libsensors.so.5 with build-id dc8b2c1c0d8525411aca188ea3cc3fb86d381d30
                Module libLLVM-14.so with build-id 16d23f3ab6fb7269b2f13a9932a2a7ec4b1d5104
                Module iris_dri.so with build-id 247f930d52c9b9e6d6e140462136d983b0b617da
                Module libxshmfence.so.1 with build-id d9b3ce4edb0b6a0818bcc57dda020d2da5e3c895
                Module libxcb-present.so.0 with build-id 8ed389d9cd6ad7110fbb00c93b32e0efaa71a6b1
                Module libxcb-dri3.so.0 with build-id 088c750254cc139e7d62b8a3fc7795a138447ccf
                Module libXxf86vm.so.1 with build-id b8b37b0c66be0a760a8491e3c86a00c4efdc825d
                Module libxcb-dri2.so.0 with build-id 7bde0abc84135ae6258a8d1d130864071c2cc327
                Module libglapi.so.0 with build-id a5ca7bec18ce3ff85c63b88bd43a7884ea95a1f7
                Module libGLX_mesa.so.0 with build-id 6721ac15576bf0a0a4d5a29429915cb88cdf5426
                Module libxcb-glx.so.0 with build-id 71d5b6691f53a235696da49ffa2178d643ecc228
                Module libqxcb-glx-integration.so with build-id e2c0419868b0bab893535ae4aaff94fc2e27d64a
                Module libcomposeplatforminputcontextplugin.so with build-id 0be5cf4dd6f619507419c05cd608577e092c78fb
                Module libqt5ct.so with build-id 9417235459a81cdac223a735568ecc7aef5a4d3f
                Module libXcursor.so.1 with build-id f0525ae3715ac95f96a8cdb44795b03f831334b0
                Module libuuid.so.1 with build-id 9057a530e6b3b0e71f24602a0039c490c9a0b5a1
                Module libxcb-util.so.1 with build-id b1e4c01b388a3bd7a0a9ad384865b61f5f1d4a24
                Module libxkbcommon-x11.so.0 with build-id 90654f41d9fe91c74bef6672a8b57ab34418b27a
...
                Module stellarium with build-id 6e2d829f24526b7b071b592715f9849e483eb492
                Stack trace of thread 3676:
                #0  0x00007fcb6e378125 n/a (libQt5Widgets.so.5 + 0x30d125)
                #1  0x00007fcb6e378eb1 _ZN16QDialogButtonBox11changeEventEP6QEvent (libQt5Widgets.so.5 + 0x30deb1)
                #2  0x00007fcb6e219d9f _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5 + 0x1aed9f)
                #3  0x00007fcb6e1e3b3c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x178b3c)
                #4  0x00007fcb6d209ad8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28cad8)
                #5  0x00007fcb6e2102a3 _ZN14QWidgetPrivate15setStyle_helperEP6QStyleb (libQt5Widgets.so.5 + 0x1a52a3)
                #6  0x00007fcb6e21b425 _ZN7QWidget9setParentEPS_6QFlagsIN2Qt10WindowTypeEE (libQt5Widgets.so.5 + 0x1b0425)
                #7  0x00007fcb6e1fd06e _ZN14QLayoutPrivate20reparentChildWidgetsEP7QWidget (libQt5Widgets.so.5 + 0x19206e)
                #8  0x00007fcb6e215f18 _ZN7QWidget9setLayoutEP7QLayout (libQt5Widgets.so.5 + 0x1aaf18)
                #9  0x00007fcb6e4198cb n/a (libQt5Widgets.so.5 + 0x3ae8cb)
                #10 0x00007fcb6e41a1c2 n/a (libQt5Widgets.so.5 + 0x3af1c2)
                #11 0x00007fcb6e41b009 _ZN11QMessageBoxC1ENS_4IconERK7QStringS3_6QFlagsINS_14StandardButtonEEP7QWidgetS4_IN2Qt10WindowTypeEE (libQt5Widgets.so.5 + 0x3b0009)
                #12 0x00007fcb6e41b632 n/a (libQt5Widgets.so.5 + 0x3b0632)
                #13 0x0000562ad58f658a n/a (stellarium + 0x31358a)
                #14 0x0000562ad5e44e90 n/a (stellarium + 0x861e90)
                #15 0x00007fcb6d23a378 n/a (libQt5Core.so.5 + 0x2bd378)
                #16 0x00007fcb6e2c7517 _ZN15QAbstractButton7clickedEb (libQt5Widgets.so.5 + 0x25c517)
                #17 0x00007fcb6e2c9d7a n/a (libQt5Widgets.so.5 + 0x25ed7a)
                #18 0x00007fcb6e2cb2bd n/a (libQt5Widgets.so.5 + 0x2602bd)
                #19 0x00007fcb6e2cb460 _ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent (libQt5Widgets.so.5 + 0x260460)
                #20 0x00007fcb6e21a707 _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5 + 0x1af707)
                #21 0x00007fcb6e1e3b3c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x178b3c)
                #22 0x00007fcb6e1e9359 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17e359)
                #23 0x00007fcb6d209ad8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28cad8)
                #24 0x00007fcb6e1e7357 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt5Widgets.so.5 + 0x17c357)
                #25 0x00007fcb6e4f8fac n/a (libQt5Widgets.so.5 + 0x48dfac)
                #26 0x00007fcb6e4e8a24 _ZN13QGraphicsItem10sceneEventEP6QEvent (libQt5Widgets.so.5 + 0x47da24)
                #27 0x00007fcb6e50102a n/a (libQt5Widgets.so.5 + 0x49602a)
                #28 0x00007fcb6e50bd2e _ZN14QGraphicsScene17mouseReleaseEventEP24QGraphicsSceneMouseEvent (libQt5Widgets.so.5 + 0x4a0d2e)
                #29 0x00007fcb6e509e02 _ZN14QGraphicsScene5eventEP6QEvent (libQt5Widgets.so.5 + 0x49ee02)
                #30 0x00007fcb6e1e3b3c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x178b3c)
                #31 0x00007fcb6d209ad8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28cad8)
                #32 0x00007fcb6e5322fe _ZN13QGraphicsView17mouseReleaseEventEP11QMouseEvent (libQt5Widgets.so.5 + 0x4c72fe)
                #33 0x00007fcb6e21a707 _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5 + 0x1af707)
                #34 0x00007fcb6e2c8813 _ZN6QFrame5eventEP6QEvent (libQt5Widgets.so.5 + 0x25d813)
                #35 0x00007fcb6d209742 _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent (libQt5Core.so.5 + 0x28c742)
                #36 0x00007fcb6e1e3b2c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x178b2c)
                #37 0x00007fcb6e1e9359 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17e359)
                #38 0x00007fcb6d209ad8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28cad8)
                #39 0x00007fcb6e1e7357 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt5Widgets.so.5 + 0x17c357)
                #40 0x00007fcb6e2383d5 n/a (libQt5Widgets.so.5 + 0x1cd3d5)
                #41 0x00007fcb6e23a17e n/a (libQt5Widgets.so.5 + 0x1cf17e)
                #42 0x00007fcb6e1e3b3c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x178b3c)
                #43 0x00007fcb6d209ad8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28cad8)
                #44 0x00007fcb6da4002c _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt5Gui.so.5 + 0x13f02c)
                #45 0x00007fcb6da29935 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5 + 0x128935)
                #46 0x00007fcb51d7ea30 n/a (libQt5XcbQpa.so.5 + 0x63a30)
                #47 0x00007fcb6369fc6b g_main_context_dispatch (libglib-2.0.so.0 + 0x54c6b)
                #48 0x00007fcb636f6001 n/a (libglib-2.0.so.0 + 0xab001)
                #49 0x00007fcb6369d392 g_main_context_iteration (libglib-2.0.so.0 + 0x52392)
                #50 0x00007fcb6d25432c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d732c)
                #51 0x00007fcb6d20227c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28527c)
                #52 0x00007fcb6d20cda9 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x28fda9)
...
                Stack trace of thread 3684:
                #0  0x00007fcb6cab3346 n/a (libc.so.6 + 0x83346)
                #1  0x00007fcb6cab5b60 pthread_cond_wait (libc.so.6 + 0x85b60)
                #2  0x00007fcb4a6bbc7c n/a (iris_dri.so + 0xb2c7c)
                #3  0x00007fcb4a6b537c n/a (iris_dri.so + 0xac37c)
                #4  0x00007fcb6cab678d n/a (libc.so.6 + 0x8678d)
                #5  0x00007fcb6cb378e4 __clone (libc.so.6 + 0x1078e4)
                
                Stack trace of thread 3682:
                #0  0x00007fcb6cab3346 n/a (libc.so.6 + 0x83346)
                #1  0x00007fcb6cab5b60 pthread_cond_wait (libc.so.6 + 0x85b60)
                #2  0x00007fcb4a6bbc7c n/a (iris_dri.so + 0xb2c7c)
                #3  0x00007fcb4a6b537c n/a (iris_dri.so + 0xac37c)
                #4  0x00007fcb6cab678d n/a (libc.so.6 + 0x8678d)
                #5  0x00007fcb6cb378e4 __clone (libc.so.6 + 0x1078e4)
                
                Stack trace of thread 3678:
                #0  0x00007fcb6cab3346 n/a (libc.so.6 + 0x83346)
                #1  0x00007fcb6cab5b60 pthread_cond_wait (libc.so.6 + 0x85b60)
                #2  0x00007fcb4a6bbc7c n/a (iris_dri.so + 0xb2c7c)
                #3  0x00007fcb4a6b537c n/a (iris_dri.so + 0xac37c)
                #4  0x00007fcb6cab678d n/a (libc.so.6 + 0x8678d)
                #5  0x00007fcb6cb378e4 __clone (libc.so.6 + 0x1078e4)
                
                Stack trace of thread 3689:
                #0  0x00007fcb6cb2ae9f __poll (libc.so.6 + 0xfae9f)
                #1  0x00007fcb636f5f68 n/a (libglib-2.0.so.0 + 0xaaf68)
                #2  0x00007fcb6369d392 g_main_context_iteration (libglib-2.0.so.0 + 0x52392)
                #3  0x00007fcb6d25432c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d732c)
                #4  0x00007fcb6d20227c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28527c)
                #5  0x00007fcb6d06449f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe749f)
                #6  0x00007fcb6d0612ca n/a (libQt5Core.so.5 + 0xe42ca)
                #7  0x00007fcb6cab678d n/a (libc.so.6 + 0x8678d)
                #8  0x00007fcb6cb378e4 __clone (libc.so.6 + 0x1078e4)
                
                Stack trace of thread 3679:
                #0  0x00007fcb6cab3346 n/a (libc.so.6 + 0x83346)
                #1  0x00007fcb6cab5b60 pthread_cond_wait (libc.so.6 + 0x85b60)
                #2  0x00007fcb4a6bbc7c n/a (iris_dri.so + 0xb2c7c)
                #3  0x00007fcb4a6b537c n/a (iris_dri.so + 0xac37c)
                #4  0x00007fcb6cab678d n/a (libc.so.6 + 0x8678d)
                #5  0x00007fcb6cb378e4 __clone (libc.so.6 + 0x1078e4)
                
                Stack trace of thread 3685:
                #0  0x00007fcb6cab3346 n/a (libc.so.6 + 0x83346)
                #1  0x00007fcb6cab5b60 pthread_cond_wait (libc.so.6 + 0x85b60)
                #2  0x00007fcb4a6bbc7c n/a (iris_dri.so + 0xb2c7c)
                #3  0x00007fcb4a6b537c n/a (iris_dri.so + 0xac37c)
                #4  0x00007fcb6cab678d n/a (libc.so.6 + 0x8678d)
                #5  0x00007fcb6cb378e4 __clone (libc.so.6 + 0x1078e4)
                
                Stack trace of thread 3690:
                #0  0x00007fcb6cab3346 n/a (libc.so.6 + 0x83346)
                #1  0x00007fcb6cab5e64 pthread_cond_timedwait (libc.so.6 + 0x85e64)
                #2  0x00007fcb6d0686d4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xeb6d4)

Seems to be a problem with Qt5. I don’t have much experience with it. Does anybody has an idea for a solution?

Best,
Florian

Did you try rebuilding the package (as it is an AUR package)?

Just rebuilded it with yay. Still the same error…

In unstable branch, there is a new qt version (15.5.6) availlable. No more crashes on my system as I had similar crashes when I tried to add a new widget on the KDE taskbar, now it works again…
Cheers, Eddy

Are you sure? If you have the same version already built in the package cache, Yay will not actually rebuild it and reinstall the same package again.

Do it manually to be sure:

sudo pacman -Syu --needed base-devel git
git clone https://aur.archlinux.org/stellarium.git
cd stellarium
makepkg -srcif

Hey,

i cleaned the yay-chache before rebuilding. But didn’t change the outcome. The problem still occures.
I’ll try it with a manual installation as you recommend.

Best

Manual installation was successfull, but the error still occurs:

kernel: stellarium[35079]: segfault at 7f53e407cc58 ip 00007f53cb68e125 sp 00007ffecc8af190 error 4 in libQt5Widgets.so.5.15.5[7f53cb4e7000+3c4000]

coredumpctl:

          PID: 35079 (stellarium)
           UID: 1000 (flo)
           GID: 1000 (flo)
        Signal: 11 (SEGV)
     Timestamp: Mon 2022-09-12 10:00:39 CEST (2min 29s ago)
  Command Line: stellarium --startup-script=
    Executable: /usr/bin/stellarium
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/dbus.service
          Unit: user@1000.service
     User Unit: dbus.service
         Slice: user-1000.slice
     Owner UID: 1000 (flo)
       Boot ID: 9f290dacc4cb4092b7e843713656f6e8
    Machine ID: 4f16143f847c4c1386feecc9ceccbd0d
      Hostname: flo-mika-gulfi
       Storage: /var/lib/systemd/coredump/core.stellarium.1000.9f290dacc4cb4092b7e843713656f6e8.35079.1662969639000000.zst (present)
     Disk Size: 51.6M
       Message: Process 35079 (stellarium) of user 1000 dumped core.
...
...

Very similar output…