Bug 441607

Summary: Lock screen appears to cause logout when using 2ary monitor only.
Product: [Plasma] plasmashell Reporter: lepidoptera
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.22.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description lepidoptera 2021-08-27 14:19:03 UTC
Application: plasmashell (5.22.4)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.12-2-default x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.4
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
To reproduce:
  - connect laptop to external monitor via HDMI
  - close laptop so that only the external monitor is active
  - attempt to "Lock Screen"

Result:
  - instead of seeing a prompt to unlock, I see a prompt to login
  - processes running in the locked session appear to have been killed

This problem occured under X11. I am using Wayland now, but want to submit this report before risking another crash.
I also tried to use slock from suckless-utils under Wayland. This also returned me to the login screen, but didn't crash the session -- I could reactivate it using loginctl.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f7237beb980 (LWP 15010))]
[KCrash Handler]
#6  0x00007f723aba2814 in QScreen::name (this=<optimized out>) at kernel/qscreen.cpp:195
#7  0x000055e1c78b138a in ShellCorona::addOutput (this=this@entry=0x55e1c867e8d0, screen=<optimized out>, screen@entry=0x55e1c8678bc0) at /usr/src/debug/plasma5-workspace-5.22.4-1.4.x86_64/shell/shellcorona.cpp:1251
#8  0x000055e1c78b200b in ShellCorona::load (this=<optimized out>) at /usr/src/debug/plasma5-workspace-5.22.4-1.4.x86_64/shell/shellcorona.cpp:701
#9  0x00007f723a759fd3 in QtPrivate::QSlotObjectBase::call (a=0x7fff15f09a20, r=0x55e1c867e8d0, this=0x55e1c88501f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x55e1c87fb190, signal_index=4, argv=0x7fff15f09a20) at kernel/qobject.cpp:3886
#11 0x00007f723a75349f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f723c9cf560, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff15f09a20) at kernel/qobject.cpp:3946
#12 0x00007f723c9ab2f1 in KActivities::Consumer::serviceStatusChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kactivities5-5.85.0-1.1.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_consumer.cpp:253
#13 0x00007f723a759fd3 in QtPrivate::QSlotObjectBase::call (a=0x7fff15f09b60, r=0x55e1c87fb190, this=0x55e1c87f8990) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x55e1c881bfe0, signal_index=11, argv=0x7fff15f09b60) at kernel/qobject.cpp:3886
#15 0x00007f723a75349f in QMetaObject::activate (sender=sender@entry=0x55e1c881bfe0, m=m@entry=0x7f723c9cf620 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7fff15f09b60) at kernel/qobject.cpp:3946
#16 0x00007f723c9bc312 in KActivities::ActivitiesCache::serviceStatusChanged (_t1=KActivities::Consumer::Running, this=0x55e1c881bfe0) at /usr/src/debug/kactivities5-5.85.0-1.1.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:412
#17 KActivities::ActivitiesCache::setAllActivities (this=0x55e1c881bfe0, _activities=...) at /usr/src/debug/kactivities5-5.85.0-1.1.x86_64/src/lib/activitiescache_p.cpp:270
#18 0x00007f723c9af677 in KActivities::ActivitiesCache::passInfoFromReply<QList<ActivityInfo>, void (KActivities::ActivitiesCache::*)(QList<ActivityInfo> const&)> (f=<optimized out>, watcher=0x55e1c87a3db0, this=0x55e1c881bfe0) at /usr/src/debug/kactivities5-5.85.0-1.1.x86_64/src/lib/activitiescache_p.cpp:180
#19 KActivities::ActivitiesCache::setAllActivitiesFromReply (watcher=0x55e1c87a3db0, this=0x55e1c881bfe0) at /usr/src/debug/kactivities5-5.85.0-1.1.x86_64/src/lib/activitiescache_p.cpp:195
#20 KActivities::ActivitiesCache::qt_static_metacall (_o=0x55e1c881bfe0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kactivities5-5.85.0-1.1.x86_64/build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:201
#21 0x00007f723a75a008 in doActivate<false> (sender=0x55e1c87a3db0, signal_index=3, argv=0x7fff15f09dd0) at kernel/qobject.cpp:3898
#22 0x00007f723b19ffff in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /lib64/libQt5DBus.so.5
#23 0x00007f723a74ff7e in QObject::event (this=0x55e1c87a3db0, e=0x55e1c86c57d0) at kernel/qobject.cpp:1314
#24 0x00007f723b4b5a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e1c87a3db0, e=0x55e1c86c57d0) at kernel/qapplication.cpp:3632
#25 0x00007f723a72398a in QCoreApplication::notifyInternal2 (receiver=0x55e1c87a3db0, event=0x55e1c86c57d0) at kernel/qcoreapplication.cpp:1064
#26 0x00007f723a7269d7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55e1c864f0c0) at kernel/qcoreapplication.cpp:1821
#27 0x00007f723a77b7e3 in postEventSourceDispatch (s=0x55e1c86f4750) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f7238a4480f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#29 0x00007f7238a44b98 in ?? () from /lib64/libglib-2.0.so.0
#30 0x00007f7238a44c4f in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#31 0x00007f723a77ae64 in QEventDispatcherGlib::processEvents (this=0x55e1c86f4510, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f723a72238b in QEventLoop::exec (this=this@entry=0x7fff15f0a1c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x00007f723a72a670 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00007f723ab6e19c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#35 0x00007f723b4b59f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#36 0x000055e1c788c479 in main (argc=<optimized out>, argv=0x7fff15f0a3b0) at /usr/src/debug/plasma5-workspace-5.22.4-1.4.x86_64/shell/main.cpp:254
[Inferior 1 (process 15010) detached]

Possible duplicates by query: bug 441394, bug 440993, bug 440771, bug 440224, bug 440104.

Reported using DrKonqi
Comment 1 Nate Graham 2021-08-28 00:03:23 UTC

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