Bug 457107 - Plasma crashes in ShellCorona::primaryScreenChanged() when external monitor starts
Summary: Plasma crashes in ShellCorona::primaryScreenChanged() when external monitor s...
Status: RESOLVED DUPLICATE of bug 454064
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.25.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-25 06:04 UTC by Dmitry Sharshakov
Modified: 2022-07-29 15:11 UTC (History)
4 users (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 Dmitry Sharshakov 2022-07-25 06:04:39 UTC
Application: plasmashell (5.25.3)

Qt Version: 5.15.3
Frameworks Version: 5.96.0
Operating System: Linux 5.18.8-200.fc36.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora release 36 (Thirty Six)"
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
Some monitors tend to do a power cycle when connecting to the AMD GPU. In that case it's first visible, then hides, then becomes visible to the PC again. This not only makes Plasma crash while screen is in its DPMS state, but also shifts all windows to the main display.

Info: one of my displays is scaled to 120%

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted

[KCrash Handler]
#4  0x00007f403a49ec4c in __pthread_kill_implementation () at /lib64/libc.so.6
#5  0x00007f403a44e9c6 in raise () at /lib64/libc.so.6
#6  0x00007f403a4387f4 in abort () at /lib64/libc.so.6
#7  0x00007f403a6e9e40 in __gnu_debug::_Safe_sequence_base::_M_get_mutex() () at /lib64/libstdc++.so.6
#8  0x000055732cf4f3cf in PanelView::resizePanel() ()
#9  0x000055732cf5054b in PanelView::setThickness(int) ()
#10 0x000055732cf549fc in PanelView::restore() ()
#11 0x000055732cf571fe in ShellCorona::primaryScreenChanged(QScreen*, QScreen*) ()
#12 0x00007f403ab20c36 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#13 0x000055732cf7767b in ScreenPool::handlePrimaryOutputNameChanged(QString const&, QString const&) ()
#14 0x00007f403ab20c36 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#15 0x000055732cf56a6c in PrimaryOutputWatcher::setPrimaryOutputName(QString const&) ()
#16 0x00007f403ab20c36 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#17 0x000055732cf5691a in non-virtual thunk to WaylandPrimaryOutput::kde_primary_output_v1_primary_output(QString const&) ()
#18 0x000055732cf83bc4 in QtWayland::kde_primary_output_v1::handle_primary_output(void*, kde_primary_output_v1*, char const*) ()
#19 0x00007f403a2dc746 in ffi_call_unix64 () at /lib64/libffi.so.8
#20 0x00007f403a2d94d2 in ffi_call_int.lto_priv () at /lib64/libffi.so.8
#21 0x00007f403cc0de03 in wl_closure_invoke.constprop () at /lib64/libwayland-client.so.0
#22 0x00007f403cc0e573 in dispatch_event.isra () at /lib64/libwayland-client.so.0
#23 0x00007f403cc0e73c in wl_display_dispatch_queue_pending () at /lib64/libwayland-client.so.0
#24 0x00007f40386705e5 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /lib64/libQt5WaylandClient.so.5
#25 0x00007f403ab17694 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#26 0x00007f403b7bec82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#27 0x00007f403aaed658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#28 0x00007f403aaf09b4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#29 0x00007f403ab3e807 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#30 0x00007f4038f2bfaf in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#31 0x00007f4038f812c8 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#32 0x00007f4038f29940 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#33 0x00007f403ab3e2fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#34 0x00007f403aaec0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#35 0x00007f403aaf4162 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#36 0x000055732cf3810f in main ()
[Inferior 1 (process 1375353) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2022-07-26 20:07:53 UTC

*** This bug has been marked as a duplicate of bug 456385 ***
Comment 2 Nate Graham 2022-07-29 15:11:44 UTC

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