Bug 461460 - The kscreen_osd_service crash with a segmentation fault signal when powering off the screen (on wayland)
Summary: The kscreen_osd_service crash with a segmentation fault signal when powering ...
Status: RESOLVED DUPLICATE of bug 461068
Alias: None
Product: KScreen
Classification: Plasma
Component: OSD and Plasma applet (show other bugs)
Version: 5.26.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-05 15:20 UTC by alem99393@gmail.com
Modified: 2022-11-05 17:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alem99393@gmail.com 2022-11-05 15:20:54 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. power off the screen
2. power on the screen again

OBSERVED RESULT
the crash handler notify that kscreen_osd_service has crashed

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.6
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.100
Qt Version: 5.15.7

ADDITIONAL INFORMATION
[Current thread is 1 (Thread 0x7f8d3ebd7840 (LWP 71072))]

Thread 8 (Thread 0x7f8d34cf96c0 (LWP 71077)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5605bb888808) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5605bb888808, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f8d423d251f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5605bb888808, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f8d423d4cd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5605bb8887b8, cond=0x5605bb8887e0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5605bb8887e0, mutex=0x5605bb8887b8) at pthread_cond_wait.c:618
#5  0x00007f8d2e70799e in cnd_wait () at ../mesa-22.2.1/src/c11/impl/threads_posix.c:135
#6  0x00007f8d2e6baf8c in util_queue_thread_func () at ../mesa-22.2.1/src/util/u_queue.c:287
#7  0x00007f8d2e7078cc in impl_thrd_routine () at ../mesa-22.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007f8d423d58fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f8d42457a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f8d3563b6c0 (LWP 71076)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5605bb80fa2c) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5605bb80fa2c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f8d423d251f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5605bb80fa2c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f8d423d4cd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5605bb80f9d8, cond=0x5605bb80fa00) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5605bb80fa00, mutex=0x5605bb80f9d8) at pthread_cond_wait.c:618
#5  0x00007f8d2e70799e in cnd_wait () at ../mesa-22.2.1/src/c11/impl/threads_posix.c:135
#6  0x00007f8d2e6baf8c in util_queue_thread_func () at ../mesa-22.2.1/src/util/u_queue.c:287
#7  0x00007f8d2e7078cc in impl_thrd_routine () at ../mesa-22.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007f8d423d58fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f8d42457a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f8d369936c0 (LWP 71074)):
#0  0x00007f8d4244a0bf in __GI___poll (fds=fds@entry=0x7f8d36992d30, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8d40922c7d in poll (__timeout=-1, __nfds=2, __fds=0x7f8d36992d30) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5605bb76f300) at /usr/src/debug/qtwayland/src/client/qwaylanddisplay.cpp:208
#3  0x00007f8d40ae42ea in QThreadPrivate::start (arg=0x5605bb76f300) at thread/qthread_unix.cpp:330
#4  0x00007f8d423d58fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#5  0x00007f8d42457a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f8d2e5ff6c0 (LWP 71078)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5605bb81cf4c) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5605bb81cf4c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f8d423d251f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5605bb81cf4c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f8d423d4cd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5605bb81cef8, cond=0x5605bb81cf20) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5605bb81cf20, mutex=0x5605bb81cef8) at pthread_cond_wait.c:618
#5  0x00007f8d2e70799e in cnd_wait () at ../mesa-22.2.1/src/c11/impl/threads_posix.c:135
#6  0x00007f8d2e6baf8c in util_queue_thread_func () at ../mesa-22.2.1/src/util/u_queue.c:287
#7  0x00007f8d2e7078cc in impl_thrd_routine () at ../mesa-22.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007f8d423d58fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f8d42457a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f8d361926c0 (LWP 71075)):
#0  0x00007f8d4244a0bf in __GI___poll (fds=fds@entry=0x7f8d36191d30, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8d40922c7d in poll (__timeout=-1, __nfds=2, __fds=0x7f8d36191d30) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5605bb76f2b0) at /usr/src/debug/qtwayland/src/client/qwaylanddisplay.cpp:208
#3  0x00007f8d40ae42ea in QThreadPrivate::start (arg=0x5605bb76f2b0) at thread/qthread_unix.cpp:330
#4  0x00007f8d423d58fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#5  0x00007f8d42457a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f8d3cc9e6c0 (LWP 71073)):
#0  0x00007f8d4244a0bf in __GI___poll (fds=0x7f8d380053e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8d3f36d1df in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f8d380053e0, timeout=<optimized out>, context=0x7f8d38001cf0) at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x7f8d38001cf0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
#3  0x00007f8d3f315132 in g_main_context_iteration (context=0x7f8d38001cf0, may_block=1) at ../glib/glib/gmain.c:4303
#4  0x00007f8d40cd7c4c in QEventDispatcherGlib::processEvents (this=0x7f8d38000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f8d40c8573c in QEventLoop::exec (this=0x7f8d3cc9dd10, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f8d40ae721f in QThread::exec (this=this@entry=0x7f8d425b7560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8d4255bcba in QDBusConnectionManager::run (this=0x7f8d425b7560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qtbase/src/dbus/qdbusconnection.cpp:179
#8  0x00007f8d40ae42ea in QThreadPrivate::start (arg=0x7f8d425b7560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#9  0x00007f8d423d58fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#10 0x00007f8d42457a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f8d2ddfe6c0 (LWP 71079)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5605bb81d4b8) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5605bb81d4b8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f8d423d251f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5605bb81d4b8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f8d423d4cd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5605bb81d468, cond=0x5605bb81d490) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5605bb81d490, mutex=0x5605bb81d468) at pthread_cond_wait.c:618
#5  0x00007f8d2e70799e in cnd_wait () at ../mesa-22.2.1/src/c11/impl/threads_posix.c:135
#6  0x00007f8d2e6baf8c in util_queue_thread_func () at ../mesa-22.2.1/src/util/u_queue.c:287
#7  0x00007f8d2e7078cc in impl_thrd_routine () at ../mesa-22.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007f8d423d58fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f8d42457a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f8d3ebd7840 (LWP 71072)):
#0  0x00007f8d411426ff in QWindow::setVisible (this=<optimized out>, visible=false) at kernel/qwindow.cpp:630
#1  0x00007f8d40cbda51 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#2  doActivate<false> (sender=0x5605bb944fa0, signal_index=0, argv=0x7ffcf2dd3920) at kernel/qobject.cpp:3919
#3  0x00007f8d40cbddf4 in QObject::destroyed (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qobject.cpp:219
#4  0x00007f8d40cb43ac in QObject::~QObject (this=<optimized out>, this=<optimized out>) at kernel/qobject.cpp:1010
#5  0x00007f8d425edc2a in KScreen::Output::~Output (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libkscreen-5.26.2/src/output.cpp:176
#6  QtSharedPointer::CustomDeleter<KScreen::Output, QtSharedPointer::NormalDeleter>::execute (this=<optimized out>) at /usr/include/qt/QtCore/qsharedpointer_impl.h:187
#7  QtSharedPointer::ExternalRefCountWithCustomDeleter<KScreen::Output, QtSharedPointer::NormalDeleter>::deleter (self=<optimized out>) at /usr/include/qt/QtCore/qsharedpointer_impl.h:205
#8  0x00005605bb323956 in QtSharedPointer::ExternalRefCountData::destroy (this=0x5605bb998f00) at /usr/include/qt/QtCore/qsharedpointer_impl.h:149
#9  QSharedPointer<KScreen::Config>::deref (dd=0x5605bb998f00) at /usr/include/qt/QtCore/qsharedpointer_impl.h:458
#10 QSharedPointer<KScreen::Output>::deref (dd=<optimized out>, dd=<optimized out>) at /usr/include/qt/QtCore/qsharedpointer_impl.h:454
#11 QSharedPointer<KScreen::Output>::deref (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtCore/qsharedpointer_impl.h:453
#12 QSharedPointer<KScreen::Output>::~QSharedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtCore/qsharedpointer_impl.h:310
#13 KScreen::Osd::~Osd (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kscreen-5.26.2/osd/osd.cpp:40
#14 0x00005605bb3239e5 in KScreen::Osd::~Osd (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kscreen-5.26.2/osd/osd.cpp:38
#15 qDeleteAll<QMap<QString, KScreen::Osd*>::const_iterator> (end=..., begin=...) at /usr/include/qt/QtCore/qalgorithms.h:320
#16 qDeleteAll<QMap<QString, KScreen::Osd*> > (c=...) at /usr/include/qt/QtCore/qalgorithms.h:328
#17 KScreen::OsdManager::quit (this=0x7ffcf2dd3fe0) at /usr/src/debug/kscreen-5.26.2/osd/osdmanager.cpp:49
#18 0x00007f8d40cbda51 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x5605bb6f82b0, signal_index=3, argv=0x7ffcf2dd3b50) at kernel/qobject.cpp:3919
#20 0x00007f8d40cbffaf in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#21 0x00007f8d40cb0b86 in QObject::event (this=0x5605bb6f82b0, e=0x7ffcf2dd3c90) at kernel/qobject.cpp:1324
#22 0x00007f8d40c8cf98 in QCoreApplication::notifyInternal2 (receiver=0x5605bb6f82b0, event=0x7ffcf2dd3c90) at kernel/qcoreapplication.cpp:1064
#23 0x00007f8d40cd7493 in QTimerInfoList::activateTimers (this=0x5605bb76ec80) at kernel/qtimerinfo_unix.cpp:643
#24 0x00007f8d40cd7ad2 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#25 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#26 0x00007f8d3f31687b in g_main_dispatch (context=0x7f8d38005010) at ../glib/glib/gmain.c:3444
#27 g_main_context_dispatch (context=0x7f8d38005010) at ../glib/glib/gmain.c:4162
#28 0x00007f8d3f36d279 in g_main_context_iterate.constprop.0 (context=0x7f8d38005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4238
#29 0x00007f8d3f315132 in g_main_context_iteration (context=0x7f8d38005010, may_block=1) at ../glib/glib/gmain.c:4303
#30 0x00007f8d40cd7c4c in QEventDispatcherGlib::processEvents (this=0x5605bb7556f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f8d40c8573c in QEventLoop::exec (this=0x7ffcf2dd3f40, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007f8d40c90269 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00007f8d4113a112 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#34 0x00005605bb31e4db in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kscreen-5.26.2/osd/main.cpp:17
Comment 1 Nate Graham 2022-11-05 17:32:28 UTC

*** This bug has been marked as a duplicate of bug 461068 ***