Bug 439086

Summary: Plasma hangs when connecting external 4K monitor as primary
Product: [Plasma] plasmashell Reporter: German Alves <germanoalves>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.22.1   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description German Alves 2021-06-23 18:37:57 UTC
Application: plasmashell (5.22.1)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.12.12-1-default x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.1
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Hope to help with these backtraces. All I did right after a clean install was set the external 4K monitor as primary, and right after Plasma shuts down unexpectedly. This happens quite frequently in the full wayland session.

- Custom settings of the application:
I only use the Breeze dark with the openSUSE dark theme option.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f48e4a76880 (LWP 1952))]
[KCrash Handler]
#6  0x00007f48e78cfa60 in QScreen::name (this=0x562da339e0d0) at kernel/qscreen.cpp:195
#7  0x0000562da2419b8a in ShellCorona::addOutput (this=this@entry=0x562da36e0a90, screen=<optimized out>, screen@entry=0x562da339e0d0) at /usr/src/debug/plasma5-workspace-5.22.1-1.1.x86_64/shell/shellcorona.cpp:1248
#8  0x0000562da241a80b in ShellCorona::load (this=<optimized out>) at /usr/src/debug/plasma5-workspace-5.22.1-1.1.x86_64/shell/shellcorona.cpp:698
#9  0x00007f48e74740f3 in QtPrivate::QSlotObjectBase::call (a=0x7ffd10907fe0, r=0x562da36e0a90, this=0x562da36ec3e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x562da3860960, signal_index=4, argv=0x7ffd10907fe0) at kernel/qobject.cpp:3886
#11 0x00007f48e746d5bf in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f48e96eb560, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd10907fe0) at kernel/qobject.cpp:3946
#12 0x00007f48e96c72f1 in KActivities::Consumer::serviceStatusChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kactivities5-5.83.0-1.1.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_consumer.cpp:253
#13 0x00007f48e74740f3 in QtPrivate::QSlotObjectBase::call (a=0x7ffd10908120, r=0x562da3860960, this=0x562da372fab0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x562da386a100, signal_index=11, argv=0x7ffd10908120) at kernel/qobject.cpp:3886
#15 0x00007f48e746d5bf in QMetaObject::activate (sender=sender@entry=0x562da386a100, m=m@entry=0x7f48e96eb620 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7ffd10908120) at kernel/qobject.cpp:3946
#16 0x00007f48e96d81d2 in KActivities::ActivitiesCache::serviceStatusChanged (_t1=KActivities::Consumer::Running, this=0x562da386a100) at /usr/src/debug/kactivities5-5.83.0-1.1.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:412
#17 KActivities::ActivitiesCache::setAllActivities (this=0x562da386a100, _activities=...) at /usr/src/debug/kactivities5-5.83.0-1.1.x86_64/src/lib/activitiescache_p.cpp:270
#18 0x00007f48e96cb607 in KActivities::ActivitiesCache::passInfoFromReply<QList<ActivityInfo>, void (KActivities::ActivitiesCache::*)(QList<ActivityInfo> const&)> (f=<optimized out>, watcher=0x562da3712550, this=0x562da386a100) at /usr/src/debug/kactivities5-5.83.0-1.1.x86_64/src/lib/activitiescache_p.cpp:180
#19 KActivities::ActivitiesCache::setAllActivitiesFromReply (watcher=0x562da3712550, this=0x562da386a100) at /usr/src/debug/kactivities5-5.83.0-1.1.x86_64/src/lib/activitiescache_p.cpp:195
#20 KActivities::ActivitiesCache::qt_static_metacall (_o=0x562da386a100, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kactivities5-5.83.0-1.1.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:201
#21 0x00007f48e7474128 in doActivate<false> (sender=0x562da3712550, signal_index=3, argv=0x7ffd10908390) at kernel/qobject.cpp:3898
#22 0x00007f48e746d5bf in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f48e7eec5c0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd10908390) at kernel/qobject.cpp:3946
#23 0x00007f48e7eccfff in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#24 0x00007f48e746a09e in QObject::event (this=0x562da3712550, e=0x562da33e6110) at kernel/qobject.cpp:1314
#25 0x00007f48e81d8a5f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x562da3712550, e=0x562da33e6110) at kernel/qapplication.cpp:3632
#26 0x00007f48e743daaa in QCoreApplication::notifyInternal2 (receiver=0x562da3712550, event=0x562da33e6110) at kernel/qcoreapplication.cpp:1063
#27 0x00007f48e7440af7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x562da337b6f0) at kernel/qcoreapplication.cpp:1817
#28 0x00007f48e7495a73 in postEventSourceDispatch (s=s@entry=0x562da3401310) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f48e57b880f in g_main_dispatch (context=0x562da33e0410) at ../glib/gmain.c:3337
#30 g_main_context_dispatch (context=0x562da33e0410) at ../glib/gmain.c:4055
#31 0x00007f48e57b8b98 in g_main_context_iterate (context=context@entry=0x562da33e0410, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#32 0x00007f48e57b8c4f in g_main_context_iteration (context=0x562da33e0410, may_block=1) at ../glib/gmain.c:4196
#33 0x00007f48e74950f4 in QEventDispatcherGlib::processEvents (this=0x562da34010d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f48e743c4bb in QEventLoop::exec (this=this@entry=0x7ffd10908780, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#35 0x00007f48e7444790 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x00007f48e789b1fc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#37 0x00007f48e81d89d5 in QApplication::exec () at kernel/qapplication.cpp:2824
#38 0x0000562da23f51f8 in main (argc=<optimized out>, argv=0x7ffd10908970) at /usr/src/debug/plasma5-workspace-5.22.1-1.1.x86_64/shell/main.cpp:251
[Inferior 1 (process 1952) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2021-06-27 22:26:08 UTC

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