Bug 423075

Summary: Plasma crashed with "The Wayland connection experienced a fatal error" after right-click on Keyboard Layout applet hidden in system tray
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: System TrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: butirsky, kctcom, materka, nate, plasma-bugs
Priority: NOR Keywords: drkonqi, wayland
Version: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.23
Sentry Crash Report:

Description Patrick Silva 2020-06-16 22:33:44 UTC
Application: plasmashell (5.19.80)

Qt Version: 5.14.2
Frameworks Version: 5.72.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:
I opened the popup that shows hidden systray icons, right-clicked on Keyboard Layout applet and Plasma crashed.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7ff5cfc39c80 (LWP 28479))]
[KCrash Handler]
#6  0x00007ff5c924de97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007ff5c924f801 in __GI_abort () at abort.c:79
#8  0x00007ff5c9a1768b in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1914
#9  0x00007ff5c9a1768b in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd75181510, msg=msg@entry=0x7ff5bd0a6940 "The Wayland connection experienced a fatal error: %s") at global/qlogging.cpp:893
#10 0x00007ff5bd0185d8 in QtWaylandClient::QWaylandDisplay::checkError() const (this=<optimized out>) at qwaylanddisplay.cpp:198
#11 0x00007ff5bd01864e in QtWaylandClient::QWaylandDisplay::flushRequests() (this=0x5577ce450250) at qwaylanddisplay.cpp:209
#12 0x00007ff5c9c664b9 in doActivate<false>(QObject*, int, void**) (sender=0x5577ce480220, signal_index=4, argv=0x7ffd751815f0) at kernel/qobject.cpp:3882
#13 0x00007ff5c9c60f92 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5577ce480220, m=m@entry=0x7ff5ca0f9220 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#14 0x00007ff5c9c27ba3 in QAbstractEventDispatcher::awake() (this=this@entry=0x5577ce480220) at .moc/moc_qabstracteventdispatcher.cpp:149
#15 0x00007ff5c9c8a7eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5577ce480220, flags=...) at kernel/qeventdispatcher_glib.cpp:430
#16 0x00007ff5c9c29d2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd75181710, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#17 0x00007ff5c9c334a0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1383
#18 0x00005577cc1cc13f in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:224

Possible duplicates by query: bug 422911, bug 422433, bug 422231, bug 422230, bug 422229.

Reported using DrKonqi
Comment 1 Nate Graham 2021-02-25 20:51:22 UTC
#9  0x00007ff5c9a1768b in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd75181510, msg=msg@entry=0x7ff5bd0a6940 "The Wayland connection experienced a fatal error: %s") at global/qlogging.cpp:893
#10 0x00007ff5bd0185d8 in QtWaylandClient::QWaylandDisplay::checkError() const (this=<optimized out>) at qwaylanddisplay.cpp:198
#11 0x00007ff5bd01864e in QtWaylandClient::QWaylandDisplay::flushRequests() (this=0x5577ce450250) at qwaylanddisplay.cpp:209
Comment 2 Nate Graham 2021-02-25 20:52:10 UTC
*** Bug 418050 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2021-02-25 20:58:53 UTC
#9  0x00007ff5c9a1768b in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd75181510, msg=msg@entry=0x7ff5bd0a6940 "The Wayland connection experienced a fatal error: %s") at global/qlogging.cpp:893
#10 0x00007ff5bd0185d8 in QtWaylandClient::QWaylandDisplay::checkError() const (this=<optimized out>) at qwaylanddisplay.cpp:198
#11 0x00007ff5bd01864e in QtWaylandClient::QWaylandDisplay::flushRequests() (this=0x5577ce450250) at qwaylanddisplay.cpp:209
Comment 4 Andrey 2021-02-26 00:17:59 UTC
If it actually doesn't related with the Layout applet itself, maybe we will keep Bug 418050 open instead? Or any duplicated bug there.
Comment 5 Nate Graham 2021-07-29 16:49:13 UTC
Should be fixed now.