Bug 426630

Summary: plasmashell crashes on startup but runs fine
Product: [Plasma] plasmashell Reporter: Grzegorz Kowzan <kan.nokt>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.19.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Grzegorz Kowzan 2020-09-17 06:33:09 UTC
Application: plasmashell (5.19.5)

Qt Version: 5.15.1
Frameworks Version: 5.73.0
Operating System: Linux 5.7.11-1-default x86_64
Windowing system: Wayland
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Fresh login into Plasma (Wayland) session on OpenSUSE Tumbleweed (20200915-0). External monitor connected by USB-C/DisplayPort and laptop monitor disabled. The crash happens every time I login, i.e. there is a notification from DrKonqi in the tray, but the desktop actually runs normally. If not for DrKonqi notification, I wouldn't know the crash happened.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f4dc42f9a92 in QScreen::name (this=0x55fb94f115a0) at kernel/qscreen.cpp:189
#5  0x000055fb94ad7b13 in ShellCorona::addOutput (this=this@entry=0x55fb94f239c0, screen=<optimized out>, screen@entry=0x55fb94f115a0) at /usr/src/debug/plasma5-workspace-5.19.5-2.1.x86_64/shell/shellcorona.cpp:1324
#6  0x000055fb94ad87cb in ShellCorona::load (this=<optimized out>) at /usr/src/debug/plasma5-workspace-5.19.5-2.1.x86_64/shell/shellcorona.cpp:766
#7  0x00007f4dc3ec5646 in QtPrivate::QSlotObjectBase::call (a=0x7ffcea1ddc90, r=0x55fb94f239c0, this=0x55fb9516cb20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false> (sender=0x55fb94f91ab0, signal_index=4, argv=argv@entry=0x7ffcea1ddc90) at kernel/qobject.cpp:3886
#9  0x00007f4dc3ebe9a0 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f4dc5f8c560, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcea1ddc90) at kernel/qobject.cpp:3946
#10 0x00007f4dc5f68311 in KActivities::Consumer::serviceStatusChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kactivities5-5.73.0-1.2.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_consumer.cpp:253
#11 0x00007f4dc3ec5680 in doActivate<false> (sender=0x55fb94fcad80, signal_index=11, argv=argv@entry=0x7ffcea1dddf0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#12 0x00007f4dc3ebe9a0 in QMetaObject::activate (sender=sender@entry=0x55fb94fcad80, m=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7ffcea1dddf0) at kernel/qobject.cpp:3946
#13 0x00007f4dc5f7990e in KActivities::ActivitiesCache::serviceStatusChanged (_t1=KActivities::Consumer::Running, this=0x55fb94fcad80) at /usr/src/debug/kactivities5-5.73.0-1.2.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:412
#14 KActivities::ActivitiesCache::setAllActivities (this=0x55fb94fcad80, _activities=...) at /usr/src/debug/kactivities5-5.73.0-1.2.x86_64/src/lib/activitiescache_p.cpp:285
#15 0x00007f4dc5f6c522 in KActivities::ActivitiesCache::passInfoFromReply<QList<ActivityInfo>, void (KActivities::ActivitiesCache::*)(QList<ActivityInfo> const&)> (f=<optimized out>, watcher=<optimized out>, this=0x55fb94fcad80) at /usr/include/qt5/QtCore/qlist.h:164
#16 KActivities::ActivitiesCache::setAllActivitiesFromReply (watcher=<optimized out>, this=0x55fb94fcad80) at /usr/src/debug/kactivities5-5.73.0-1.2.x86_64/src/lib/activitiescache_p.cpp:211
#17 KActivities::ActivitiesCache::qt_static_metacall (_o=0x55fb94fcad80, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kactivities5-5.73.0-1.2.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:201
#18 0x00007f4dc3ec5680 in doActivate<false> (sender=0x55fb94faca40, signal_index=3, argv=argv@entry=0x7ffcea1de060) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#19 0x00007f4dc3ebe9a0 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f4dc50765e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcea1de060) at kernel/qobject.cpp:3946
#20 0x00007f4dc5056baf in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#21 0x00007f4dc3ebb091 in QObject::event (this=0x55fb94faca40, e=0x55fb94f25b90) at kernel/qobject.cpp:1314
#22 0x00007f4dc4a3a14f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55fb94faca40, e=0x55fb94f25b90) at kernel/qapplication.cpp:3630
#23 0x00007f4dc3e8f05a in QCoreApplication::notifyInternal2 (receiver=0x55fb94faca40, event=0x55fb94f25b90) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#24 0x00007f4dc3e91a91 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55fb94ef1560) at kernel/qcoreapplication.cpp:1817
#25 0x00007f4dc3ee6f23 in postEventSourceDispatch (s=0x55fb94f41520) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f4dc23152b7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f4dc2315638 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f4dc23156ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f4dc3ee65af in QEventDispatcherGlib::processEvents (this=0x55fb94f33ff0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f4dc3e8da1b in QEventLoop::exec (this=this@entry=0x7ffcea1de430, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#31 0x00007f4dc3e95c90 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x000055fb94ab2c87 in main (argc=<optimized out>, argv=0x7ffcea1de650) at /usr/src/debug/plasma5-workspace-5.19.5-2.1.x86_64/shell/main.cpp:224
[Inferior 1 (process 5092) detached]

The reporter indicates this bug may be a duplicate of or related to bug 390092.

Possible duplicates by query: bug 422420, bug 421895, bug 421700, bug 419754, bug 416347.

Reported using DrKonqi
Comment 1 Nate Graham 2021-01-26 23:07:08 UTC

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