Bug 480577

Summary: Replugging one of my monitors causes plasma to crash
Product: [Plasma] plasmashell Reporter: Marko B <markox123>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi, multiscreen, qt6
Version: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Marko B 2024-01-31 00:40:50 UTC
Application: plasmashell (6.0.80)

Qt Version: 6.6.1
Frameworks Version: 5.249.0
Operating System: Linux 6.5.0-15-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 6.0.80 [CoredumpBackend]

-- Information about the crash:
I have a laptop with nvidia gpu and intel cpu. I have the up to date kde neon unstable. This issue had been happening eversince installing it the first time more than a month ago. I turn my laptop on, the os boots normaly, and after logging into my account, one of the monitors begins heavily flickering, like a lot. Sometimes its the monitor connected via usb-c (dp alt) that flickers, sometimes it's the one connected via HDMI. For this crash, it was the one connected via HDMI. After unplugging the monitor, watiting a few seconds, and replugging, the issue is fixed but i see that a crash had occured.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140254379186880) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=140254379186880) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=140254379186880, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007f8f88642476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007f8f886287f3 in __GI_abort () at ./stdlib/abort.c:79


Reported using DrKonqi
Comment 1 Marko B 2024-01-31 00:40:52 UTC
Created attachment 165384 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-01-31 21:21:32 UTC
Thread 1 (Thread 0x7f8f84731ac0 (LWP 3370)):
[KCrash Handler]
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140254379186880) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=140254379186880) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=140254379186880, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007f8f88642476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007f8f886287f3 in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007f8f892d86f3 in qAbort() () at ./src/corelib/global/qglobal.cpp:161
#12 0x00007f8f892d4055 in qt_message_fatal<QString&> (message=..., context=<optimized out>) at ./src/corelib/global/qlogging.cpp:2003
#13 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=<optimized out>, msg=<optimized out>, ap=ap@entry=0x7ffcbae6da60) at ./src/corelib/global/qlogging.cpp:378
#14 0x00007f8f892d909f in QMessageLogger::fatal(char const*, ...) const (this=<optimized out>, msg=<optimized out>) at ./src/corelib/global/qlogging.cpp:901
#15 0x00007f8f892a9261 in qt_assert(char const*, char const*, int) (assertion=assertion@entry=0x55b31231ff58 "(m_availableScreens.count() + m_redundantScreens.count()) == m_outputOrderWatcher->outputOrder().count()", file=file@entry=0x55b3123200b7 "./shell/screenpool.cpp", line=line@entry=336) at ./src/corelib/global/qassert.cpp:68
#16 0x000055b312268860 in ScreenPool::screenInvariants() (this=0x55b312f31b30) at ./shell/screenpool.cpp:336
#17 0x000055b3122e593d in ScreenPool::handleOutputOrderChanged(QList<QString> const&) (this=0x55b312f31b30, newOrder=<optimized out>) at ./shell/screenpool.cpp:308
#18 0x000055b3122e6043 in ScreenPool::reconsiderOutputOrder() (this=0x55b312f31b30) at ./shell/screenpool.cpp:317
#19 0x00007f8f892287ae in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcbae6df60, r=0x55b312f31b30, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433
#20 doActivate<false>(QObject*, int, void**) (sender=0x55b312aa6f60, signal_index=3, argv=0x7ffcbae6df60) at ./src/corelib/kernel/qobject.cpp:4021
#21 0x00007f8f89733a06 in QScreen::geometryChanged(QRect const&) (this=this@entry=0x55b312aa6f60, _t1=...) at ./obj-x86_64-linux-gnu/src/gui/Gui_autogen/include/moc_qscreen.cpp:526
#22 0x00007f8f8973b54a in QScreenPrivate::UpdateEmitter::~UpdateEmitter() (this=0x7ffcbae6e040, this=<optimized out>) at ./src/gui/kernel/qscreen.cpp:802
#23 0x00007f8f896f7b09 in QGuiApplicationPrivate::processScreenGeometryChange(QWindowSystemInterfacePrivate::ScreenGeometryEvent*) (e=0x55b312aa4340) at ./src/gui/kernel/qguiapplication.cpp:3186
#24 QGuiApplicationPrivate::processScreenGeometryChange(QWindowSystemInterfacePrivate::ScreenGeometryEvent*) (e=0x55b312aa4340) at ./src/gui/kernel/qguiapplication.cpp:3167
#25 0x00007f8f8975553c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at ./src/gui/kernel/qwindowsysteminterface.cpp:1109
#26 0x00007f8f89b0a994 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at ./src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#27 0x00007f8f87b29d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f8f87b7f258 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f8f87b273e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f8f891082c0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55b312a90c70, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:393
#31 0x00007f8f8926a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffcbae6e2e0, flags=...) at ./src/corelib/global/qflags.h:34
#32 0x00007f8f89263d0c in QCoreApplication::exec() () at ./src/corelib/global/qflags.h:74
#33 0x00007f8f896ea040 in QGuiApplication::exec() () at ./src/gui/kernel/qguiapplication.cpp:1925
#34 0x00007f8f8b3ef089 in QApplication::exec() () at ./src/widgets/kernel/qapplication.cpp:2574
#35 0x000055b31226b9f4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:214
Comment 3 Nate Graham 2024-01-31 21:22:33 UTC

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