Bug 496254 - konsole crashes when connecting external monitors
Summary: konsole crashes when connecting external monitors
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi, multiscreen
Depends on:
Blocks:
 
Reported: 2024-11-14 06:51 UTC by Roman Pletka
Modified: 2024-11-15 10:22 UTC (History)
3 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 2024-11-14 06:51:23 UTC
Application: konsole (24.08.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.7.2
Frameworks Version: 6.8.0
Operating System: Linux 6.11.6-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (Workstation Edition)"
DrKonqi: 6.2.3 [CoredumpBackend]

-- Information about the crash:
When connecting my external monitors (2 monitors daisy-chained: USB-C -> monitor 1 -> DP -> monitor 2) the konsole session on the active screen crashes. It does not always happen when connecting the external displays but very often.

The crash can be reproduced sometimes.

-- 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 which was expanded to anon_inode:i915.gem during file-backed mapping note processing
[New LWP 4316]
[New LWP 103979]
[New LWP 103969]
[New LWP 103971]
[New LWP 103995]
[New LWP 104073]
[New LWP 4329]
[New LWP 104067]
[New LWP 4342]
[New LWP 4343]
[New LWP 103976]
[New LWP 103974]
[New LWP 104072]
[New LWP 4380]
[New LWP 103973]
[New LWP 103980]
[New LWP 103968]
[New LWP 103970]
[New LWP 103972]
[New LWP 103967]
[New LWP 103975]
[New LWP 4381]
[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  0x00007f3e0bca8664 in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f3e049a0b00 (LWP 4316))]
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 0x7f3e049a0b00 (LWP 4316))]

Thread 22 (Thread 0x7f3ded4006c0 (LWP 4381)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca57f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3ddeea893d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007f3ddee8570b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007f3ddeea886c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 21 (Thread 0x7f3dc14006c0 (LWP 103975)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 20 (Thread 0x7f3dcfe006c0 (LWP 103967)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 19 (Thread 0x7f3dcd6006c0 (LWP 103972)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 18 (Thread 0x7f3dd7a006c0 (LWP 103970)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 17 (Thread 0x7f3dcf4006c0 (LWP 103968)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 16 (Thread 0x7f3db54006c0 (LWP 103980)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 15 (Thread 0x7f3dccc006c0 (LWP 103973)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 14 (Thread 0x7f3dede006c0 (LWP 4380)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca57f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3ddeea893d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x00007f3ddee8570b in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#4  0x00007f3ddeea886c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 13 (Thread 0x7f3da8a006c0 (LWP 104072)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 12 (Thread 0x7f3dc1e006c0 (LWP 103974)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 11 (Thread 0x7f3dc0a006c0 (LWP 103976)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 10 (Thread 0x7f3df54006c0 (LWP 4343)):
#0  0x00007f3e0bd1c87d in poll () from /lib64/libc.so.6
#1  0x00007f3e08775df5 in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6
#2  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#4  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7f3df5e006c0 (LWP 4342)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca57f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560ffb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e08775d8e in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f3da94006c0 (LWP 104067)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f3df6c006c0 (LWP 4329)):
#0  0x00007f3e0bd1c87d in poll () from /lib64/libc.so.6
#1  0x00007f3e09720c34 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f3e096c0383 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3e0c6851a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c3a3bc3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0c4b7f4f in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x00007f3e0b05ae41 in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#7  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#8  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#9  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f3d9fe006c0 (LWP 104073)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f3db4a006c0 (LWP 103995)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f3dce0006c0 (LWP 103971)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f3dcea006c0 (LWP 103969)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f3db5e006c0 (LWP 103979)):
#0  0x00007f3e0bca2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x00007f3e0bca5b62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f3e0c560f7d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#3  0x00007f3e0c55dd45 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#4  0x00007f3e0c55473c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#5  0x00007f3e0bca66d7 in start_thread () from /lib64/libc.so.6
#6  0x00007f3e0bd2a60c in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3e049a0b00 (LWP 4316)):
[KCrash Handler]
#4  0x00007f3e0cc4ea3b in QWindowSystemInterface::handleScreenRemoved(QPlatformScreen*) () from /lib64/libQt6Gui.so.6
#5  0x00007f3e0878044a in QtWaylandClient::QWaylandDisplay::handleScreenInitialized(QtWaylandClient::QWaylandScreen*) () from /lib64/libQt6WaylandClient.so.6
#6  0x00007f3e087a2933 in QtWaylandClient::QWaylandScreen::maybeInitialize() () from /lib64/libQt6WaylandClient.so.6
#7  0x00007f3e05ad8056 in ffi_call_unix64 () from /lib64/libffi.so.8
#8  0x00007f3e05ad46a0 in ffi_call_int.lto_priv () from /lib64/libffi.so.8
#9  0x00007f3e05ad74ee in ffi_call () from /lib64/libffi.so.8
#10 0x00007f3e08d0f10e in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0
#11 0x00007f3e08d0f979 in dispatch_event () from /lib64/libwayland-client.so.0
#12 0x00007f3e08d0fd73 in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0
#13 0x00007f3e08775c52 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt6WaylandClient.so.6
#14 0x00007f3e0c3fcc60 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#15 0x00007f3e0c6851db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#16 0x00007f3e0c3a3bc3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#17 0x00007f3e0c39fa7c in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#18 0x0000557806b9d38c in main ()

Reported using DrKonqi
Comment 1 Nate Graham 2024-11-14 18:26:29 UTC
Backtrace is similar to the one in Bug 468694, but not exactly the same.
Comment 2 David Redondo 2024-11-15 10:22:47 UTC
Would need a better backtrace, qtwayland handles the placeholder screen correct from my View, so whatever is happening in QWSI we need more info there instead of just the function.