Bug 459310 - Plasmashell crash when a monitor is reconnected
Summary: Plasmashell crash when a monitor is reconnected
Status: RESOLVED DUPLICATE of bug 451147
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.25.5
Platform: Manjaro Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-09-18 08:27 UTC by altech123159
Modified: 2022-10-09 20:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace from running plasmashell with gdb (8.04 KB, text/plain)
2022-09-18 08:27 UTC, altech123159
Details

Note You need to log in before you can comment on or make changes to this bug.
Description altech123159 2022-09-18 08:27:58 UTC
Created attachment 152180 [details]
backtrace from running plasmashell with gdb

Plasmashell crash when a monitor is reconnected, i have 3 screens and if i change the input source of one of them and then change it back plasmashell crashes. 

STEPS TO REPRODUCE
1. Change input of screen or disconnect cable
2. Reconnect the screen

OBSERVED RESULT
Plasmashell crash

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.7-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen Threadripper 2950X 16-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION
This wasn't happening before the latest Manjaro stable update, see this: https://gitlab.manjaro.org/-/snippets/792/raw/ for a list of packages that got updated.
Comment 1 Nate Graham 2022-09-22 17:35:40 UTC
Pasting inline for searchability:

Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
0x00007ffff5f63154 in QScreen::geometry() const () from /usr/lib/libQt5Gui.so.5
#0  0x00007ffff5f63154 in QScreen::geometry() const () at /usr/lib/libQt5Gui.so.5
#1  0x000055555558e318 in  ()
#2  0x000055555558e784 in  ()
#3  0x000055555558ed43 in  ()
#4  0x000055555558ee19 in  ()
#5  0x00007ffff5abe0d1 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff7eed763 in KQuickAddons::QuickViewSharedEngine::statusChanged(QQmlComponent::Status) () at /usr/lib/libKF5QuickAddons.so.5
#7  0x00007ffff5abe0d1 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ffff7c27186 in KDeclarative::QmlObject::statusChanged(QQmlComponent::Status) () at /usr/lib/libKF5Declarative.so.5
#9  0x00007ffff5ab12f0 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007ffff6778b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff5a8d978 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007ffff5a8e483 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#13 0x00007ffff5ad4478 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007ffff41e0b2b in g_main_dispatch (context=0x7fffec005010) at ../glib/glib/gmain.c:3417
#15 g_main_context_dispatch (context=0x7fffec005010) at ../glib/glib/gmain.c:4135
#16 0x00007ffff4236e79 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fffec005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4211
#17 0x00007ffff41de252 in g_main_context_iteration (context=0x7fffec005010, may_block=1) at ../glib/glib/gmain.c:4276
#18 0x00007ffff5ad825c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007ffff5a8611c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007ffff5a90c49 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#21 0x0000555555577123 in  ()
#22 0x00007ffff523c2d0 in  () at /usr/lib/libc.so.6
#23 0x00007ffff523c38a in __libc_start_main () at /usr/lib/libc.so.6
#24 0x00005555555774d5 in  ()
Comment 2 Nate Graham 2022-09-22 17:36:35 UTC
Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

#0  0x00007ffff5f63154 in QScreen::geometry() const () at /usr/lib/libQt5Gui.so.5
#1  0x000055555558e318 in  ()
#2  0x000055555558e784 in  ()
#3  0x000055555558ed43 in  ()
#4  0x000055555558ee19 in  ()
#5  0x00007ffff5abe0d1 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff7eed763 in KQuickAddons::QuickViewSharedEngine::statusChanged(QQmlComponent::Status) () at /usr/lib/libKF5QuickAddons.so.5
#7  0x00007ffff5abe0d1 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ffff7c27186 in KDeclarative::QmlObject::statusChanged(QQmlComponent::Status) () at /usr/lib/libKF5Declarative.so.5

Could you please install debug symbols for plasma, plasma-framework and Qt, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks!
Comment 3 Bug Janitor Service 2022-10-07 04:51:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 altech123159 2022-10-07 06:05:36 UTC
After the latest Manjaro update the problem still occours, new versions:
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.13-1-MANJARO (64-bit)

Backtrace with (hopefully) all debug symbols:

Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
QScreen::geometry (this=0x0) at kernel/qscreen.cpp:419                                                                                                                                                      
419	    return d->geometry;
#0  QScreen::geometry() const (this=0x0) at kernel/qscreen.cpp:419
#1  0x000055555558e318 in PanelView::geometryByDistance(int) const (this=this@entry=0x555557b87740, distance=0) at /usr/src/debug/plasma-workspace-5.25.5/shell/panelview.cpp:533
#2  0x000055555558e784 in PanelView::positionPanel() (this=this@entry=0x555557b87740) at /usr/src/debug/plasma-workspace-5.25.5/shell/panelview.cpp:519
#3  0x000055555558ed43 in PanelView::updateFloating() (this=this@entry=0x555557b87740) at /usr/src/debug/plasma-workspace-5.25.5/shell/panelview.cpp:1574
#4  0x000055555558ee19 in PanelView::handleQmlStatusChange(QQmlComponent::Status) (this=0x555557b87740, status=<optimized out>) at /usr/src/debug/plasma-workspace-5.25.5/shell/panelview.cpp:1378
#5  0x00007ffff5abd381 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffd000, r=<optimized out>, this=0x55555be29a60, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#6  doActivate<false>(QObject*, int, void**) (sender=0x555557b87740, signal_index=38, argv=0x7fffffffd000) at kernel/qobject.cpp:3919
#7  0x00007ffff7eea853 in KQuickAddons::QuickViewSharedEngine::statusChanged(QQmlComponent::Status) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/build/src/quickaddons/KF5QuickAddons_autogen/include/moc_quickviewsharedengine.cpp:251
#8  0x00007ffff5abd381 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffd110, r=<optimized out>, this=0x555557022740, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false>(QObject*, int, void**) (sender=0x55555702d810, signal_index=4, argv=0x7fffffffd110) at kernel/qobject.cpp:3919
#10 0x00007ffff7c24186 in KDeclarative::QmlObject::statusChanged(QQmlComponent::Status) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/build/src/kdeclarative/KF5Declarative_autogen/include/moc_qmlobject.cpp:241
#11 0x00007ffff5ab0520 in QObject::event(QEvent*) (this=0x55555702d810, e=0x55555b117490) at kernel/qobject.cpp:1347
#12 0x00007ffff6778b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55555702d810, e=0x55555b117490) at kernel/qapplication.cpp:3637
#13 0x00007ffff5a8cb88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55555702d810, event=0x55555b117490) at kernel/qcoreapplication.cpp:1064
#14 0x00007ffff5a8d693 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x555555628ed0) at kernel/qcoreapplication.cpp:1821
#15 0x00007ffff5ad3728 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5555557dccb0) at kernel/qeventdispatcher_glib.cpp:277
#16 0x00007ffff407081b in g_main_dispatch (context=0x7fffec005010) at ../glib/glib/gmain.c:3444
#17 g_main_context_dispatch (context=0x7fffec005010) at ../glib/glib/gmain.c:4162
#18 0x00007ffff40c6ec9 in g_main_context_iterate.constprop.0 (context=0x7fffec005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4238
#19 0x00007ffff406f0d2 in g_main_context_iteration (context=0x7fffec005010, may_block=1) at ../glib/glib/gmain.c:4303
#20 0x00007ffff5ad750c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555557dfe70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007ffff5a8532c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffd570, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#22 0x00007ffff5a8fe59 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x00007ffff5f3a0e2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#24 0x00007ffff6776f2a in QApplication::exec() () at kernel/qapplication.cpp:2829
#25 0x0000555555577123 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.25.5/shell/main.cpp:243
Comment 5 Nate Graham 2022-10-09 20:09:54 UTC

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