Summary: | Konsole crashes in QtWaylandClient::QWaylandWindow::handleScreensChanged() when external monitor (with connected keyboard and mouse) goes to sleep mode | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Aleksey Maximov <amaxcz> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | nate, osobukoman |
Priority: | NOR | ||
Version: | 22.12.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Aleksey Maximov
2023-04-23 06:27:27 UTC
recompiled Konsole , 1 min timer to Screen Energy Saving (on AC) got trace. [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 0x0000002300000000 in ?? () [Current thread is 1 (Thread 0x7f744dc06400 (LWP 162639))] (gdb) bt #0 0x0000002300000000 in ?? () #1 0x00007f745105722a in QtWaylandClient::QWaylandWindow::handleScreensChanged() () from /usr/lib/libQt5WaylandClient.so.5 #2 0x00007f7452ebea71 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f744e3c64f6 in ?? () from /usr/lib/libffi.so.8 #4 0x00007f744e3c2f5e in ?? () from /usr/lib/libffi.so.8 #5 0x00007f744e3c5b73 in ffi_call () from /usr/lib/libffi.so.8 #6 0x00007f7451754645 in ?? () from /usr/lib/libwayland-client.so.0 #7 0x00007f7451754e73 in ?? () from /usr/lib/libwayland-client.so.0 #8 0x00007f745175513c in wl_display_dispatch_queue_pending () from /usr/lib/libwayland-client.so.0 #9 0x00007f7451048bf6 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /usr/lib/libQt5WaylandClient.so.5 #10 0x00007f7452eb1bb0 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #11 0x00007f7453b78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #12 0x00007f7452e8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #13 0x00007f7452e8ea53 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #14 0x00007f7452ed4e88 in ?? () from /usr/lib/libQt5Core.so.5 #15 0x00007f745123f53b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #16 0x00007f745129c219 in ?? () from /usr/lib/libglib-2.0.so.0 #17 0x00007f745123e1a2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #18 0x00007f7452ed8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #19 0x00007f7452e866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #20 0x00007f7452e91219 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #21 0x0000557af0634af1 in main (argc=1, argv=0x7ffe98025338) at /home/amaxcz/src/xx1/konsole/repos/extra-x86_64/src/konsole-22.12.3/src/main.cpp:252 (gdb) i r rax 0x557af2d3be50 93986548334160 rbx 0x557af2331570 93986537805168 rcx 0x0 0 rdx 0x0 0 rsi 0x7ffe98024640 140731448706624 rdi 0x557af2a28540 93986545108288 rbp 0x557af2a28540 0x557af2a28540 rsp 0x7ffe98024688 0x7ffe98024688 r8 0x0 0 r9 0x1 1 r10 0x7f74400047f8 140137266694136 r11 0x293 659 r12 0x7f745103cdd0 140137552137680 r13 0x557af2331580 93986537805184 r14 0x0 0 r15 0x557af22cf020 93986537402400 rip 0x2300000000 0x2300000000 eflags 0x10293 [ CF AF SF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) recompiled package pkgname=qt5-wayland pkgver=5.15.9+kde+r55 _commit=c4c3fc69250c01cb35aaae5ea1ea2bcc8236dff0 with export CFLAGS="-O0 -ggdb -DDEBUG" export CXXFLAGS="-O0 -ggdb -DDEBUG" no more bugs and crashes... ;-| so, extra/qt5-wayland 5.15.8+kde+r63-1 really have bugs. still crashing... no ideas why and how to fix it. Message: Process 3344 (konsole) of user 1000 dumped core. Stack trace of thread 3344: #0 0x00007ffa9a32f0a8 _ZNK15QPlatformScreen6screenEv (libQt5Gui.so.5 + 0x12f0a8) #1 0x00007ffa98057c51 _ZN15QtWaylandClient14QWaylandWindow20handleScreensChangedEv (libQt5WaylandClient.so.5 + 0x81c51) #2 0x00007ffa99ebea71 n/a (libQt5Core.so.5 + 0x2bea71) #3 0x00007ffa953b04f6 n/a (libffi.so.8 + 0x74f6) #4 0x00007ffa953acf5e n/a (libffi.so.8 + 0x3f5e) #5 0x00007ffa953afb73 ffi_call (libffi.so.8 + 0x6b73) #6 0x00007ffa9873e645 n/a (libwayland-client.so.0 + 0x7645) #7 0x00007ffa9873ee73 n/a (libwayland-client.so.0 + 0x7e73) #8 0x00007ffa9873f13c wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x813c) #9 0x00007ffa98048c06 _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5 + 0x72c06) #10 0x00007ffa99ebec20 n/a (libQt5Core.so.5 + 0x2bec20) #11 0x00007ffa99ed8ca7 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8ca7) #12 0x00007ffa99e866ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2866ec) #13 0x00007ffa99e91219 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x291219) #14 0x000055d36253db65 _Z13fillAboutDataR10KAboutData (/usr/bin/konsole (deleted) + 0x5b65) #15 0x00007ffa99f76e90 n/a (libQt5Core.so.5 + 0x376e90) ELF object binary architecture: AMD x86-64 lines 1986-2054/2054 (END) *** This bug has been marked as a duplicate of bug 473020 *** |