Bug 419754

Summary: Plasma crashed on Wayland after I connect an external monitor to hdmi port while I was using a tty
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2020-04-06 19:31:57 UTC
Application: plasmashell (5.18.80)

Qt Version: 5.14.1
Frameworks Version: 5.69.0
Operating System: Linux 5.3.0-45-generic x86_64
Windowing system: Wayland
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
start Wayland session
switch to  tty
do login with the same usr account used to start Plasma session
connect an external monitor to hdmi port
go back to Plasma session
Result: only cursor is visible, plasma crashed

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fcb1f578c80 (LWP 1188))]
[KCrash Handler]
#7  0x00007fcb0c964dc0 in QtWaylandClient::QWaylandWindow::setVisible(bool) (this=this@entry=0x562a9c8368d0, visible=<optimized out>) at qwaylandwindow.cpp:423
#8  0x00007fcb01c6b5f4 in QtWaylandClient::QWaylandEglWindow::setVisible(bool) (this=0x562a9c8368d0, visible=<optimized out>) at ../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:167
#9  0x00007fcb19b69dc3 in QWindowPrivate::setVisible(bool) (this=0x562a988498d0, visible=<optimized out>) at kernel/qwindow.cpp:408
#10 0x0000562a95adfa13 in ShellCorona::addOutput(QScreen*) (this=0x562a96e7d130, screen=<optimized out>) at ./shell/shellcorona.cpp:1311
#11 0x00007fcb1959dfe7 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe9a2426e0, r=0x562a96e7d130, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#12 0x00007fcb1959dfe7 in doActivate<false>(QObject*, int, void**) (sender=0x7ffe9a242e20, signal_index=9, argv=0x7ffe9a2426e0) at kernel/qobject.cpp:3870
#13 0x00007fcb195988a2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fcb1a2d35a0 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe9a2426e0) at kernel/qobject.cpp:3930
#14 0x00007fcb19b52882 in QGuiApplication::screenAdded(QScreen*) (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qguiapplication.cpp:389
#15 0x00007fcb19b3af82 in QWindowSystemInterface::handleScreenAdded(QPlatformScreen*, bool) (ps=<optimized out>, isPrimary=isPrimary@entry=false) at kernel/qwindowsysteminterface.cpp:815
#16 0x00007fcb0c95b11b in QtWaylandClient::QWaylandDisplay::handleScreenInitialized(QtWaylandClient::QWaylandScreen*) (this=0x562a96e5e750, screen=<optimized out>, screen@entry=0x562a986de290) at qwaylanddisplay.cpp:269
#17 0x00007fcb0c966026 in QtWaylandClient::QWaylandScreen::maybeInitialize() (this=0x562a986de290) at qwaylandscreen.cpp:91
#18 0x00007fcb125d6dae in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#19 0x00007fcb125d671f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#20 0x00007fcb17d6ae24 in wl_closure_invoke (closure=closure@entry=0x562a978b8270, flags=flags@entry=1, target=<optimized out>, target@entry=0x562a9c84cd80, opcode=opcode@entry=2, data=<optimized out>) at ../src/connection.c:1006
#21 0x00007fcb17d67659 in dispatch_event (display=display@entry=0x562a96e5e890, queue=<optimized out>) at ../src/wayland-client.c:1427
#22 0x00007fcb17d68b24 in dispatch_queue (queue=0x562a96e5e958, display=0x562a96e5e890) at ../src/wayland-client.c:1573
#23 0x00007fcb17d68b24 in wl_display_dispatch_queue_pending (display=0x562a96e5e890, queue=0x562a96e5e958) at ../src/wayland-client.c:1815
#24 0x00007fcb17d68b7c in wl_display_dispatch_pending (display=<optimized out>) at ../src/wayland-client.c:1878
#25 0x00007fcb0c959642 in QtWaylandClient::QWaylandDisplay::flushRequests() (this=0x562a96e5e750) at qwaylanddisplay.cpp:208
#26 0x00007fcb1959ddc9 in doActivate<false>(QObject*, int, void**) (sender=0x562a96e758a0, signal_index=4, argv=0x7ffe9a242ba0) at kernel/qobject.cpp:3882
#27 0x00007fcb195988a2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x562a96e758a0, m=m@entry=0x7fcb19a30240 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#28 0x00007fcb1955f4b3 in QAbstractEventDispatcher::awake() (this=this@entry=0x562a96e758a0) at .moc/moc_qabstracteventdispatcher.cpp:149
#29 0x00007fcb195c20fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x562a96e758a0, flags=...) at kernel/qeventdispatcher_glib.cpp:430
#30 0x00007fcb1956163a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe9a242cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#31 0x00007fcb1956adb0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1400
#32 0x0000562a95ac2058 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:220

Possible duplicates by query: bug 418316, bug 418232, bug 418216, bug 418156, bug 417741.

Reported using DrKonqi
Comment 1 Nate Graham 2021-01-26 23:09:44 UTC

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