https://bugs.kde.org/show_bug.cgi?id=502205
Bug ID: 502205 Summary: Random crashes coinciding with file dialogues Classification: Applications Product: konsole Version: 24.12.3 Platform: Arch Linux OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: konsole-de...@kde.org Reporter: stepien...@gmail.com Target Milestone: --- SUMMARY Konsole randomly crashes after selecting files in file selection dialogues STEPS TO REPRODUCE 1. Open Konsole 2. Open a file selection dialogue in any other app 3. Select files 4. Click "Ok" OBSERVED RESULT Konsole crashes EXPECTED RESULT Konsole doesn't crash SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux rolling / KDE Plasma KDE Plasma Version: 6.3.3 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.3 ADDITIONAL INFORMATION `KConfigWatcher::configChanged` and `Breeze::ToolsAreaManager::configUpdated` appear repeatedly. I'll paste all my backtraces below, starting with the latest one. Application: Konsole (konsole), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} warning: Can't open file /memfd:wayland-shm (deleted) during file-backed mapping note processing warning: Can't open file anon_inode:i915.gem during file-backed mapping note processing [New LWP 8814] [New LWP 8815] [New LWP 8816] [New LWP 8817] [New LWP 8818] [New LWP 8819] Downloading 1.13 M separate debug info for /usr/lib/qt6/plugins/imageformats/libqpdf.so... Downloading 25.41 M separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libQt6Pdf.so.6... Downloading 1.46 M separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libopenjp2.so.7... [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/konsole'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x752ef271fa40 (LWP 8814))] Cannot QML trace cores :( /usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:547: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S') /usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:564: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 'timestamp': datetime.utcnow().isoformat(), [Current thread is 1 (Thread 0x752ef271fa40 (LWP 8814))] Thread 6 (Thread 0x752ed37ff6c0 (LWP 8819)): #0 __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 #1 0x0000752efae9fe33 in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49 #2 0x0000752efaea04bc in __futex_abstimed_wait_common64 (private=0, futex_word=0x570cb297ea78, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57 #3 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x570cb297ea78, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #4 0x0000752efaea051f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x570cb297ea78, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #5 0x0000752efaea2c0e in __pthread_cond_wait_common (cond=0x570cb297ea58, mutex=0x570cb297ea28, clockid=0, abstime=0x0) at pthread_cond_wait.c:426 #6 ___pthread_cond_wait (cond=0x570cb297ea58, mutex=0x570cb297ea28) at pthread_cond_wait.c:458 #7 0x0000752ee93003ee in cnd_wait () at ../mesa-25.0.2/src/c11/impl/threads_posix.c:111 #8 0x0000752ee92caecc in util_queue_thread_func () at ../mesa-25.0.2/src/util/u_queue.c:275 #9 0x0000752ee930031d in impl_thrd_routine () at ../mesa-25.0.2/src/c11/impl/threads_posix.c:43 #10 0x0000752efaea370a in start_thread (arg=<optimized out>) at pthread_create.c:448 #11 0x0000752efaf27aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 5 (Thread 0x752ee8dff6c0 (LWP 8818)): #0 __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 #1 0x0000752efae9fe33 in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49 #2 0x0000752efaea04bc in __futex_abstimed_wait_common64 (private=0, futex_word=0x570cb29942b0, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57 #3 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x570cb29942b0, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #4 0x0000752efaea051f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x570cb29942b0, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #5 0x0000752efaea2c0e in __pthread_cond_wait_common (cond=0x570cb2994290, mutex=0x570cb2994260, clockid=0, abstime=0x0) at pthread_cond_wait.c:426 #6 ___pthread_cond_wait (cond=0x570cb2994290, mutex=0x570cb2994260) at pthread_cond_wait.c:458 #7 0x0000752ee93003ee in cnd_wait () at ../mesa-25.0.2/src/c11/impl/threads_posix.c:111 #8 0x0000752ee92caecc in util_queue_thread_func () at ../mesa-25.0.2/src/util/u_queue.c:275 #9 0x0000752ee930031d in impl_thrd_routine () at ../mesa-25.0.2/src/c11/impl/threads_posix.c:43 #10 0x0000752efaea370a in start_thread (arg=<optimized out>) at pthread_create.c:448 #11 0x0000752efaf27aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 4 (Thread 0x752eebfff6c0 (LWP 8817)): #0 __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 #1 0x0000752efae9fe33 in __internal_syscall_cancel (a1=a1@entry=128844388362976, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49 #2 0x0000752efae9fe74 in __syscall_cancel (a1=a1@entry=128844388362976, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:75 #3 0x0000752efaf1a53e in __GI___poll (fds=fds@entry=0x752eebffeae0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #4 0x0000752ef71ae88d in poll (__fds=0x752eebffeae0, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44 #5 QtWaylandClient::EventThread::run (this=0x570cb28f5ab0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182 #6 0x0000752efaadc3db in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:375 #7 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:311 #8 QThreadPrivate::start (arg=0x570cb28f5ab0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:339 #9 0x0000752efaea370a in start_thread (arg=<optimized out>) at pthread_create.c:448 #10 0x0000752efaf27aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 3 (Thread 0x752ef0fff6c0 (LWP 8816)): #0 __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 #1 0x0000752efae9fe33 in __internal_syscall_cancel (a1=a1@entry=128844472249056, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49 #2 0x0000752efae9fe74 in __syscall_cancel (a1=a1@entry=128844472249056, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:75 #3 0x0000752efaf1a53e in __GI___poll (fds=fds@entry=0x752ef0ffeae0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #4 0x0000752ef71ae88d in poll (__fds=0x752ef0ffeae0, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44 #5 QtWaylandClient::EventThread::run (this=0x570cb28e17c0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182 #6 0x0000752efaadc3db in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:375 #7 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:311 #8 QThreadPrivate::start (arg=0x570cb28e17c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:339 #9 0x0000752efaea370a in start_thread (arg=<optimized out>) at pthread_create.c:448 #10 0x0000752efaf27aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 2 (Thread 0x752ef1bff6c0 (LWP 8815)): #0 __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 #1 0x0000752efae9fe33 in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49 #2 0x0000752efae9fe74 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75 #3 0x0000752efaf1aa06 in __GI_ppoll (fds=fds@entry=0x570cb2871b10, nfds=nfds@entry=3, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42 #4 0x0000752ef7d69e27 in ppoll (__fds=0x570cb2871b10, __nfds=3, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101 #5 g_main_context_poll_unlocked (priority=<optimized out>, context=0x752eec000c80, timeout_usec=<optimized out>, fds=0x570cb2871b10, n_fds=3) at ../glib/glib/gmain.c:4632 #6 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x752eec000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4309 #7 0x0000752ef7d05535 in g_main_context_iteration (context=0x752eec000c80, may_block=1) at ../glib/glib/gmain.c:4379 #8 0x0000752efabc531d in QEventDispatcherGlib::processEvents (this=0x752eec000b70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #9 0x0000752efa961826 in QEventLoop::processEvents (this=0x752ef1bfeaa0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:103 #10 QEventLoop::exec (this=0x752ef1bfeaa0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:185 #11 0x0000752efaa5a3f9 in QThread::exec (this=this@entry=0x752ef972fb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74 #12 0x0000752ef96a46ce in QDBusConnectionManager::run (this=0x752ef972fb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:144 #13 0x0000752efaadc3db in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:375 #14 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:311 #15 QThreadPrivate::start (arg=0x752ef972fb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:339 #16 0x0000752efaea370a in start_thread (arg=<optimized out>) at pthread_create.c:448 #17 0x0000752efaf27aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 1 (Thread 0x752ef271fa40 (LWP 8814)): [KCrash Handler] #5 0x0000752efbcaf0b3 in QLayout::menuBar (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qlayout.cpp:898 #6 QMainWindow::menuBar (this=this@entry=0x570cb3336a70) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qmainwindow.cpp:465 #7 0x0000752ee85ddd53 in Breeze::ToolsAreaManager::configUpdated (this=0x570cb2abeb00) at /usr/src/debug/breeze/breeze-6.3.3/kstyle/breezetoolsareamanager.cpp:144 #8 0x0000752efa9b3f1c in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486 #9 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4123 #10 0x0000752efc1fe07e in KConfigWatcher::configChanged (this=this@entry=0x570cb2ac0ec0, _t1=..., _t2=...) at /usr/src/debug/kconfig/build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:159 #11 0x0000752efc206c24 in KConfigWatcher::onConfigChangeNotification (this=0x570cb2ac0ec0, changes=...) at /usr/src/debug/kconfig/kconfig-6.12.0/src/core/kconfigwatcher.cpp:114 #12 KConfigWatcher::qt_static_metacall (_o=_o@entry=0x570cb2ac0ec0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7fff290ab178) at /usr/src/debug/kconfig/build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:108 #13 0x0000752efc206df2 in KConfigWatcher::qt_metacall (this=0x570cb2ac0ec0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff290ab178) at /usr/src/debug/kconfig/build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:144 #14 0x0000752ef96b38a2 in QDBusConnectionPrivate::deliverCall (this=0x752eec001690, object=0x570cb2ac0ec0, msg=..., metaTypes=..., slotIdx=5) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1008 #15 0x0000752efa9a498a in QObject::event (this=0x570cb2ac0ec0, e=0x752eec012e00) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1418 #16 0x0000752efbaff04a in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x570cb2ac0ec0, e=0x752eec012e00) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296 #17 0x0000752efa956c60 in QCoreApplication::notifyInternal2 (receiver=0x570cb2ac0ec0, event=event@entry=0x752eec012e00) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1177 #18 0x0000752efa95703c in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x752eec012e00) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1617 #19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x570cb285f310) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1951 #20 0x0000752efabc793c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1805 #21 postEventSourceDispatch (s=s@entry=0x570cb28661b0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246 #22 0x0000752ef7d06104 in g_main_dispatch (context=0x752eec000f00) at ../glib/glib/gmain.c:3398 #23 0x0000752ef7d69d57 in g_main_context_dispatch_unlocked (context=0x752eec000f00) at ../glib/glib/gmain.c:4249 #24 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x752eec000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4314 #25 0x0000752ef7d05535 in g_main_context_iteration (context=0x752eec000f00, may_block=1) at ../glib/glib/gmain.c:4379 #26 0x0000752efabc531d in QEventDispatcherGlib::processEvents (this=0x570cb28687e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #27 0x0000752efa961826 in QEventLoop::processEvents (this=0x7fff290ab7e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:103 #28 QEventLoop::exec (this=0x7fff290ab7e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:185 #29 0x0000752efa95a356 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74 #30 0x0000752efbafaf1a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2564 #31 0x0000570c922137a5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole/konsole-24.12.3/src/main.cpp:260 -- You are receiving this mail because: You are watching all bug changes.