Bug 499495 - Konsole Crashing when connecting external screens
Summary: Konsole Crashing when connecting external screens
Status: RESOLVED UPSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 24.12.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-02-04 09:17 UTC by Roman Pletka
Modified: 2025-04-07 18:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Pletka 2025-02-04 09:17:11 UTC
Application: konsole (24.12.1)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.1
Frameworks Version: 6.10.0
Operating System: Linux 6.12.10-100.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (Workstation Edition)"
DrKonqi: 6.2.5 [CoredumpBackend]

-- Information about the crash:
Connected 2 dasy-chained external displays over USB-C. Then konsole crashed. I am running qt 6.8.1 and konsole 24.12.1.

Unlike mentioned in https://bugs.kde.org/show_bug.cgi?id=492576 this issue is not fixed in qt 6.8.1

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault


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 4593]
[New LWP 4617]
[New LWP 4650]
[New LWP 451078]
[New LWP 4649]
[New LWP 451061]
[New LWP 4751]
[New LWP 451057]
[New LWP 451058]
[New LWP 451059]
[New LWP 451060]
[New LWP 4749]
[New LWP 451056]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/konsole'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f84546a8014 in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f844d1c9600 (LWP 4593))]
Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: 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:533: 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 0x7f844d1c9600 (LWP 4593))]

Thread 13 (Thread 0x7f8412bf06c0 (LWP 451056)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a54e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8454f78c57 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f8454f75983 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 12 (Thread 0x7f843cf4f6c0 (LWP 4749)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a5179 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f84286a893d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007f842868570b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007f84286a886c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 11 (Thread 0x7f8403fff6c0 (LWP 451060)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a54e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8454f78c57 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f8454f75983 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 10 (Thread 0x7f84123ef6c0 (LWP 451059)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a54e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8454f78c57 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f8454f75983 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7f84037fe6c0 (LWP 451058)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a54e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8454f78c57 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f8454f75983 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f8420bfe6c0 (LWP 451057)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a54e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8454f78c57 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f8454f75983 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f84213ff6c0 (LWP 4751)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a5179 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f84286a893d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007f842868570b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007f84286a886c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f8400dff6c0 (LWP 451061)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a54e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8454f78c57 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f8454f75983 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f843e7ff6c0 (LWP 4649)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a5179 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8454f78cd7 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f84511046ce in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6
#4  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f83f8f3f6c0 (LWP 451078)):
#0  0x00007f84546a2729 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f84546a54e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f8454f78c57 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f8454f75983 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#6  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f843dffe6c0 (LWP 4650)):
#0  0x00007f845471c1bd in poll () from /lib64/libc.so.6
#1  0x00007f8451104735 in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6
#2  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#3  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#4  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f843f5ff6c0 (LWP 4617)):
#0  0x00007f845471c1bd in poll () from /lib64/libc.so.6
#1  0x00007f845202bc34 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f8451fcb383 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f84550a1333 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007f8454db5c3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007f8454eced45 in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007f845396d581 in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#7  0x00007f8454f6c1c7 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007f84546a6057 in start_thread () from /lib64/libc.so.6
#9  0x00007f8454729f4c in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f844d1c9600 (LWP 4593)):
[KCrash Handler]
#4  0x000055b180813880 in ?? ()
#5  0x00007f845566743e in QWindowSystemInterface::handleScreenRemoved(QPlatformScreen*) () from /lib64/libQt6Gui.so.6
#6  0x00007f845110f104 in QtWaylandClient::QWaylandDisplay::handleScreenInitialized(QtWaylandClient::QWaylandScreen*) () from /lib64/libQt6WaylandClient.so.6
#7  0x00007f8451132803 in QtWaylandClient::QWaylandScreen::maybeInitialize() () from /lib64/libQt6WaylandClient.so.6
#8  0x00007f844e3ac056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#9  0x00007f844e3a86a0 in ffi_call_int (cif=cif@entry=0x7fffb3740c50, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#10 0x00007f844e3ab4ee in ffi_call (cif=cif@entry=0x7fffb3740c50, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fffb3740d20) at ../src/x86/ffi64.c:710
#11 0x00007f84516ca10e in wl_closure_invoke (closure=closure@entry=0x55b17f4b8c80, target=<optimized out>, target@entry=0x55b1808533e0, opcode=opcode@entry=2, data=<optimized out>, flags=1) at ../src/connection.c:1228
#12 0x00007f84516ca979 in dispatch_event (display=0x55b17f2572d0, queue=0x55b17f2573c8) at ../src/wayland-client.c:1670
#13 0x00007f84516cad73 in dispatch_queue (display=0x55b17f2572d0, queue=0x55b17f2573c8) at ../src/wayland-client.c:1816
#14 wl_display_dispatch_queue_pending (display=0x55b17f2572d0, queue=0x55b17f2573c8) at ../src/wayland-client.c:2058
#15 0x00007f8451107ed6 in QtWaylandClient::QWaylandDisplay::blockingReadEvents() () from /lib64/libQt6WaylandClient.so.6
#16 0x00007f8451133cca in QtWaylandClient::QWaylandShmBackingStore::recreateBackBufferIfNeeded() () from /lib64/libQt6WaylandClient.so.6
#17 0x00007f84511342d2 in QtWaylandClient::QWaylandShmBackingStore::beginPaint(QRegion const&) () from /lib64/libQt6WaylandClient.so.6
#18 0x00007f84556803bb in QBackingStore::beginPaint(QRegion const&) () from /lib64/libQt6Gui.so.6
#19 0x00007f8455fffd4b in QWidgetRepaintManager::paintAndFlush() () from /lib64/libQt6Widgets.so.6
#20 0x00007f8455ff386a in QWidget::event(QEvent*) () from /lib64/libQt6Widgets.so.6
#21 0x00007f8456bdea10 in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF6XmlGui.so.6
#22 0x00007f8455f8d678 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#23 0x00007f8454da73f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#24 0x00007f8454dab125 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt6Core.so.6
#25 0x00007f84550a1bdf in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6
#26 0x00007f8451fc9e8c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#27 0x00007f845202bc98 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#28 0x00007f8451fcb383 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#29 0x00007f84550a1333 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#30 0x00007f8454db5c3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#31 0x00007f8454db13ee in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#32 0x000055b140a3824c in main ()

Reported using DrKonqi
Comment 1 TraceyC 2025-02-06 22:13:15 UTC
The backtrace looks to be entirely in Qt / Wayland. This looks related to bug 444386
Comment 2 Christoph Cullmann 2025-03-23 18:19:30 UTC
Yes, that is a pure Qt issue and should be fixed with a later Qt version.
Comment 3 Bug Janitor Service 2025-04-07 03:46:42 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 TraceyC 2025-04-07 18:40:42 UTC
Marking resolved, since this will be fixed in Qt