Calamares crashes in libQt5Gui.so.5 + 0x23cb18

Installer crashes with ISO I downloaded yesterday:

Jul 10 16:37:03 EndeavourOS kernel: calamares[4051]: segfault at 7f622814ebcb ip 00007f5f58b75b18 sp 00007ffc3114c6a0 error 4 in libQt5Gui.so.5.15.9[7f5f58a31000+470000] likely on CPU 28 (core 12, socket 0)
Jul 10 16:37:03 EndeavourOS kernel: Code: 48 89 44 24 38 31 c0 44 8b 6d 04 45 85 ed 0f 84 1e 02 00 00 49 89 fc 0f 8e a5 04 00 00 48 03 6d 10 31 db 0f 1f 80 00 00 00 00 <0f> b7 7d 00 8d 47 f7 83 f8 04 0f 86 48 02 00 00 83 ff 20 0f 84 3f
Jul 10 16:37:03 EndeavourOS systemd[1]: Created slice Slice /system/systemd-coredump.
Jul 10 16:37:03 EndeavourOS systemd[1]: Started Process Core Dump (PID 14391/UID 0).
Jul 10 16:37:04 EndeavourOS systemd-coredump[14392]: Process 4051 (calamares) of user 0 dumped core.
 
                                                    Stack trace of thread 4051:
#0  0x00007f5f58b75b18 _ZN2Qt15mightBeRichTextERK7QString (libQt5Gui.so.5 + 0x23cb18)
#1  0x00007f5f59dd1b09 _ZN6QLabel7setTextERK7QString (libQt5Widgets.so.5 + 0x2a3b09)
#2  0x00007f5f5a3758a3 _ZN9Calamares17ExecutionViewStep18updateFromJobQueueEdRK7QString (libcalamaresui.so.3.3 + 0x458a3)
#3  0x00007f5f5a376d8c _ZN9QtPrivate11FunctorCallINS_11IndexesListIJLi0ELi1EEEENS_4ListIJdRK7QStringEEEvMN9Calamares17ExecutionViewStepEFvdS6_EE4callESB_PS9_PPv (libcalamaresui.so.3.3 + 0x46d8c)
#4  0x00007f5f5a376dcf _ZN9QtPrivate15FunctionPointerIMN9Calamares17ExecutionViewStepEFvdRK7QStringEE4callINS_4ListIJdS5_EEEvEEvS7_PS2_PPv (libcalamaresui.so.3.3 + 0x46dcf)
#5  0x00007f5f586d2fe7 n/a (libQt5Core.so.5 + 0x2cffe7)
#6  0x00007f5f5a28e61e _ZN9Calamares8JobQueue8progressEdRK7QString (libcalamares.so.3.3 + 0x8e61e)
#7  0x00007f5f5a28eaa2 _ZN9Calamares8JobQueue18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv (libcalamares.so.3.3 + 0x8eaa2)
#8  0x00007f5f586c5834 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2c2834)
#9  0x00007f5f59ca693f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17893f)
#10 0x00007f5f5869db18 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x29ab18)
#11 0x00007f5f586a2a7b _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x29fa7b)
#12 0x00007f5f586e9088 n/a (libQt5Core.so.5 + 0x2e6088)
#13 0x00007f5f5627a981 g_main_context_dispatch (libglib-2.0.so.0 + 0x5a981)
#14 0x00007f5f562d7b39 n/a (libglib-2.0.so.0 + 0xb7b39)
#15 0x00007f5f56278032 g_main_context_iteration (libglib-2.0.so.0 + 0x58032)
#16 0x00007f5f586ecf0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2e9f0c)
#17 0x00007f5f5869c824 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x299824)
#18 0x00007f5f5869dcc3 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x29acc3)
#19 0x00005652a13f4798 main (calamares + 0x1c798)
#20 0x00007f5f57f9a850 n/a (libc.so.6 + 0x23850)
#21 0x00007f5f57f9a90a __libc_start_main (libc.so.6 + 0x2390a)
#22 0x00005652a13f3045 _start (calamares + 0x1b045)

Journal log with stack traces: http://ix.io/4Aht

Installer log from live session: http://ix.io/4Ahz

Hardware information: http://ix.io/4AhA

Boot log: http://ix.io/4AhG

GPT says:

Based on the log, the crash happens when Calamares tries to update the text of a QLabel, but encounters a segmentation fault, probably due to a bug in the code or perhaps an unexpected state or input.

What did you use to set up the USB? Might be worth doing it again or using another program. (I’ve had install issues in the past and running rufus a few times fixed it for me.)

I used Rufus.

So I restarted the machine and re-ran the install and now it worked. I used Ethernet instead of Wifi now, so perhaps that smoothed things over, dunno.

Probably still worth looking into the crash though, should I report it separately somewhere?

1 Like

Eh, this happens pretty often as usb drives are notoriously fickle. As long as you got the install going, I wouldn’t worry too much about it.

I think it’s Rufus. :wink: