https://bugs.kde.org/show_bug.cgi?id=430835

            Bug ID: 430835
           Summary: Crash in QMessageLogger::fatal when removing screen
                    containing system tray on wayland
           Product: plasmashell
           Version: 5.20.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Multi-screen support
          Assignee: aleix...@kde.org
          Reporter: leon...@lausen.nl
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY In Wayland Sessions, if the system tray was moved to an external
screen, the plasma session and many KDE Applications will crash upon removal of
the external screen. The crash occurs during a call to QMessageLogger.

STEPS TO REPRODUCE
1. Start a KDE Wayland Session
2. Add a second screen
3. Right click on the system tray and "Edit Panel"
4. Drag panel to the new screen and position it there
5. Disconnect second screen
6. Observe crash
7. Reconnect second srceen
8. Observe that plasmashell will start again

OBSERVED RESULT
plasmashell crashes. System tray disappears, tens of Dr Konqi windows show up
for various KDE Background daemons.

EXPECTED RESULT
Panel moves to remaining screen.
No crash

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.10.2-gentoo
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 620

ADDITIONAL INFORMATION
Exemplar backtrace (all the backtraces look similar):

Application: KOrganizer Reminder Daemon (korgac), signal: Aborted

[KCrash Handler]
#4  0x00007fb88a5cddd1 in raise () from /lib64/libc.so.6
#5  0x00007fb88a5b7536 in abort () from /lib64/libc.so.6
#6  0x00007fb88aa69c97 in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib64/libQt5Core.so.5
#7  0x00007fb8880d0a50 in QtWaylandClient::QWaylandDisplay::checkError() const
() from /usr/lib64/libQt5WaylandClient.so.5
#8  0x00007fb8880d1a53 in QtWaylandClient::QWaylandDisplay::flushRequests() ()
from /usr/lib64/libQt5WaylandClient.so.5
#9  0x00007fb88ac59b1c in void doActivate<false>(QObject*, int, void**) () from
/usr/lib64/libQt5Core.so.5
#10 0x00007fb88ac5cd06 in QSocketNotifier::activated(QSocketDescriptor,
QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from
/usr/lib64/libQt5Core.so.5
#11 0x00007fb88ac5d45b in QSocketNotifier::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#12 0x00007fb88b6046af in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#13 0x00007fb88ac2b018 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#14 0x00007fb88ac76e8e in socketNotifierSourceDispatch(_GSource*, int
(*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007fb888863867 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#16 0x00007fb888863af0 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#17 0x00007fb888863b7f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#18 0x00007fb88ac7645b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#19 0x00007fb88ac29a43 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#20 0x00007fb88ac314b0 in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#21 0x000055daeb3e6a18 in main ()
[Inferior 1 (process 2324) detached]

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to