Summary: | plasmashell crashes in KScreen::WaylandConfig::setupRegistry() when monitor is turned off | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | TheFeelTrain <thefeeltrain> |
Component: | common | Assignee: | kscreen-bugs-null <kscreen-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | nate |
Priority: | NOR | Keywords: | drkonqi, qt6 |
Version: | 5.93.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
TheFeelTrain
2024-02-04 09:22:58 UTC
Thank you for the bug report! Unfortunately I can't reproduce the crash myself on current git master, and the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong: > #4 0x0000713c359e8516 in ??? () at /usr/lib/qt6/plugins/kf6/kscreen/KSC_KWayland.so Could you please install debug symbols for KWin and KScreen and attach a new symbolicated backtrace generated by using `coredumpctl gdb` in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this. Thanks again! I ran DEBUGINFOD_URLS="https://debuginfod.archlinux.org" coredumpctl gdb 451197 and then typed "bt" when it hits the prompt, this is all it gives me: #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007620a3eab393 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007620a3e5a6c8 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x00007620a63f644f in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-5.249.0/src/kcrash.cpp:586 #4 0x00007620a3e5a770 in <signal handler called> () at /usr/lib/libc.so.6 #5 0x00007620760543cf in KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}::operator()() const (__closure=0x761da0251208) at /usr/src/debug/plasma-activities-stats/plasma-activities-stats-5.93.0/src/resultmodel.cpp:482 #6 std::__invoke_impl<void, KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}>(std::__invoke_other, KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}&&) (__f=...) at /usr/include/c++/13.2.1/bits/invoke.h:61 #7 std::__invoke<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}>(KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/13.2.1/bits/invoke.h:96 #8 std::thread::_Invoker<std::tuple<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x761da0251208) at /usr/include/c++/13.2.1/bits/std_thread.h:292 #9 std::thread::_Invoker<std::tuple<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}> >::operator()() (this=0x761da0251208) at /usr/include/c++/13.2.1/bits/std_thread.h:299 #10 std::thread::_State_impl<std::thread::_Invoker<std::tuple<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}> > >::_M_run() (this=0x761da0251200) at /usr/include/c++/13.2.1/bits/std_thread.h:244 #11 0x00007620a34e1943 in std::execute_native_thread_routine (__p=0x761da0251200) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:104 #12 0x00007620a3ea955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #13 0x00007620a3f26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 I feel like there should be more but I am not sure how to get it. Pressing enter simply prints the same thing again. Maybe this is enough but let me know if there is something else I can do. Thanks, that's helpful. Looks like this is the same as Bug 458121. *** This bug has been marked as a duplicate of bug 458121 *** Are you sure it's the same one? It doesn't actually happen to me at boot at all, just when turning off my monitor. And I tried uninstalling kactivites and it still happens, now with a different backtrace: 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 0x76da885339c0 (LWP 90069))] (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x000076da8daab393 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78 #2 0x000076da8da5a6c8 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x000076da8ff4644f in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-5.249.0/src/kcrash.cpp:586 #4 0x000076da8da5a770 in <signal handler called> () at /usr/lib/libc.so.6 #5 KScreen::WaylandConfig::setupRegistry()::{lambda(void*, wl_registry*, unsigned int, char const*, unsigned int)#1}::_FUN(void*, wl_registry*, unsigned int, char const*, unsigned int) () at /usr/include/c++/13.2.1/bits/atomic_base.h:505 #6 0x000076da8ce764f6 in ffi_call_unix64 () at ../src/x86/unix64.S:104 #7 0x000076da8ce72f5e in ffi_call_int (cif=cif@entry=0x7fff13652ba0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673 #8 0x000076da8ce75b73 in ffi_call (cif=cif@entry=0x7fff13652ba0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fff13652c70) at ../src/x86/ffi64.c:710 #9 0x000076da8ffd7645 in wl_closure_invoke (closure=closure@entry=0x76da78001550, target=<optimized out>, target@entry=0x5d2db94fbc70, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../wayland-1.22.0/src/connection.c:1025 #10 0x000076da8ffd7e73 in dispatch_event (display=display@entry=0x5d2db8ba6470, queue=0x5d2db8ba6560) at ../wayland-1.22.0/src/wayland-client.c:1631 #11 0x000076da8ffd813c in dispatch_queue (queue=0x5d2db8ba6560, display=0x5d2db8ba6470) at ../wayland-1.22.0/src/wayland-client.c:1777 #12 wl_display_dispatch_queue_pending (display=0x5d2db8ba6470, queue=0x5d2db8ba6560) at ../wayland-1.22.0/src/wayland-client.c:2019 #13 0x000076da8fc0bb6e in QtWaylandClient::EventThread::readAndDispatchEvents (this=0x5d2db8c3a8b0) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.7.0-beta2/src/client/qwaylanddisplay.cpp:227 #14 0x000076da8d5b0a74 in QObject::event (this=0x5d2db8ba6220, e=0x76da780014d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qobject.cpp:1446 #15 0x000076da8f57bf6b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5d2db8ba6220, e=0x76da780014d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/widgets/kernel/qapplication.cpp:3298 #16 0x000076da8d566178 in QCoreApplication::notifyInternal2 (receiver=0x5d2db8ba6220, event=event@entry=0x76da780014d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qcoreapplication.cpp:1134 #17 0x000076da8d566504 in QCoreApplication::sendEvent (event=0x76da780014d0, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qcoreapplication.cpp:1575 #18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5d2db8b74ba0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qcoreapplication.cpp:1946 #19 0x000076da8d7ae014 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qcoreapplication.cpp:1803 #20 postEventSourceDispatch (s=0x5d2db8c3e6b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qeventdispatcher_glib.cpp:244 #21 0x000076da8c14af69 in g_main_dispatch (context=0x76da80000ef0) at ../glib/glib/gmain.c:3476 #22 0x000076da8c1a93a7 in g_main_context_dispatch_unlocked (context=0x76da80000ef0) at ../glib/glib/gmain.c:4284 #23 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x76da80000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349 #24 0x000076da8c149162 in g_main_context_iteration (context=0x76da80000ef0, may_block=1) at ../glib/glib/gmain.c:4414 #25 0x000076da8d7aba54 in QEventDispatcherGlib::processEvents (this=0x5d2db8ba32b0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #26 0x000076da8d56e39e in QEventLoop::processEvents (flags=..., this=0x7fff13653260) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qeventloop.cpp:100 #27 QEventLoop::exec (this=0x7fff13653260, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/kernel/qeventloop.cpp:182 #28 0x000076da8d569d88 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/corelib/global/qflags.h:74 #29 0x000076da8f5784ba in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta2/src/widgets/kernel/qapplication.cpp:2568 #30 0x00005d2db7b543e9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.93.0/shell/main.cpp:214 Well, it means there are multiple bugs. Perhaps one of them is Bug 458121. We can use this one for the original issue, which thanks to the debug symbols, I can now tell is in KScreen::WaylandConfig::setupRegistry(). Moving to KScreen. Appears to be solved with 6.0.2, closing for now. Indeed! *** This bug has been marked as a duplicate of bug 482768 *** |