Bug 444963 - Plasma crashes after login to Wayland with an external monitor connected and multi-monitor mode set to 'Switch to laptop screen'
Summary: Plasma crashes after login to Wayland with an external monitor connected and ...
Status: RESOLVED DUPLICATE of bug 421700
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Neon Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-11-04 17:14 UTC by Patrick Silva
Modified: 2021-11-08 22:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.00 KB, text/plain)
2021-11-05 17:55 UTC, Sebastiano Barrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-11-04 17:14:18 UTC
Application: plasmashell (5.23.80)

Qt Version: 5.15.3
Frameworks Version: 5.88.0
Operating System: Linux 5.11.0-38-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.23.80 [CoredumpBackend]

-- Information about the crash:
- What I was doing when the application crashed:
use Wayland, connect an external monitor and set multi-monitor mode to 'Switch to laptop screen'.
Logout, start Plasma Wayland again, drkonqi icon in system tray indicates Plasma crash.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 22188]
[New LWP 22284]
[New LWP 22285]
[New LWP 22282]
[New LWP 22286]
[New LWP 22330]
[New LWP 22223]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasmashell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f3f848279c0 (LWP 22188))]
__preamble__

[Current thread is 1 (Thread 0x7f3f848279c0 (LWP 22188))]

Thread 7 (Thread 0x7f3f84143700 (LWP 22223)):
#0  0x00007f3f886d3aff in __GI___poll (fds=0x7f3f7c005240, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3f86f7b36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f3f7c005240, timeout=<optimized out>, context=0x7f3f7c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f3f7c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f3f86f7b4a3 in g_main_context_iteration (context=0x7f3f7c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f3f88ca3602 in QEventDispatcherGlib::processEvents (this=0x7f3f7c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f3f88c478ab in QEventLoop::exec (this=this@entry=0x7f3f84142bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f3f88a612c2 in QThread::exec (this=this@entry=0x7f3f89658d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f3f895d4f4b in QDBusConnectionManager::run (this=0x7f3f89658d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f3f88a6245c in QThreadPrivate::start (arg=0x7f3f89658d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007f3f879ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f3f886e0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f3f7a4ea700 (LWP 22330)):
#0  0x00007f3f886d3aff in __GI___poll (fds=0x7f3f68004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3f86f7b36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f3f68004e60, timeout=<optimized out>, context=0x7f3f68000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f3f68000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f3f86f7b4a3 in g_main_context_iteration (context=0x7f3f68000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f3f88ca3602 in QEventDispatcherGlib::processEvents (this=0x7f3f68000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f3f88c478ab in QEventLoop::exec (this=this@entry=0x7f3f7a4e9bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f3f88a612c2 in QThread::exec (this=this@entry=0x5643d45afee0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f3f8a274549 in QQmlThreadPrivate::run (this=0x5643d45afee0) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f3f88a6245c in QThreadPrivate::start (arg=0x5643d45afee0) at thread/qthread_unix.cpp:329
#9  0x00007f3f879ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f3f886e0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f3f80e0d700 (LWP 22286)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d434b608) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d434b5b8, cond=0x5643d434b5e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d434b5e0, mutex=0x5643d434b5b8) at pthread_cond_wait.c:647
#3  0x00007f3f8297da4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f3f8297d64b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f3f879ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3f886e0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3f82610700 (LWP 22282)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d434b608) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d434b5b8, cond=0x5643d434b5e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d434b5e0, mutex=0x5643d434b5b8) at pthread_cond_wait.c:647
#3  0x00007f3f8297da4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f3f8297d64b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f3f879ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3f886e0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3f8160e700 (LWP 22285)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d434b608) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d434b5b8, cond=0x5643d434b5e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d434b5e0, mutex=0x5643d434b5b8) at pthread_cond_wait.c:647
#3  0x00007f3f8297da4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f3f8297d64b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f3f879ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3f886e0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3f81e0f700 (LWP 22284)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d434b608) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d434b5b8, cond=0x5643d434b5e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d434b5e0, mutex=0x5643d434b5b8) at pthread_cond_wait.c:647
#3  0x00007f3f8297da4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f3f8297d64b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f3f879ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3f886e0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3f848279c0 (LWP 22188)):
[KCrash Handler]
#3  0x00007f3f89053c66 in QScreen::name (this=this@entry=0x5643d41bef50) at kernel/qscreen.cpp:195
#4  0x00005643d343c9ba in ShellCorona::load (this=0x5643d434eb70) at ./shell/shellcorona.cpp:683
#5  0x00007f3f88c7fdce in QtPrivate::QSlotObjectBase::call (a=0x7ffe9c063180, r=0x5643d434eb70, this=0x5643d454cfd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#6  doActivate<false> (sender=0x5643d453ae30, signal_index=4, argv=0x7ffe9c063180) at kernel/qobject.cpp:3886
#7  0x00007f3f88c79197 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f3f8affe0c0 <KActivities::Consumer::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe9c063180) at kernel/qobject.cpp:3946
#8  0x00007f3f8afcfda5 in KActivities::Consumer::serviceStatusChanged (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_consumer.cpp:253
#9  0x00007f3f88c7fdce in QtPrivate::QSlotObjectBase::call (a=0x7ffe9c0632a0, r=0x5643d453ae30, this=0x5643d45146f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x5643d450d7c0, signal_index=11, argv=0x7ffe9c0632a0) at kernel/qobject.cpp:3886
#11 0x00007f3f88c79197 in QMetaObject::activate (sender=sender@entry=0x5643d450d7c0, m=m@entry=0x7f3f8affe180 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7ffe9c0632a0) at kernel/qobject.cpp:3946
#12 0x00007f3f8afcfd45 in KActivities::ActivitiesCache::serviceStatusChanged (this=this@entry=0x5643d450d7c0, _t1=<optimized out>, _t1@entry=KActivities::Consumer::Running) at ./obj-x86_64-linux-gnu/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:412
#13 0x00007f3f8afe9046 in KActivities::ActivitiesCache::setAllActivities (this=this@entry=0x5643d450d7c0, _activities=...) at ./src/lib/activitiescache_p.cpp:270
#14 0x00007f3f8afe927d in KActivities::ActivitiesCache::passInfoFromReply<QList<ActivityInfo>, void (KActivities::ActivitiesCache::*)(QList<ActivityInfo> const&)> (f=(void (KActivities::ActivitiesCache::*)(class KActivities::ActivitiesCache * const, const class QList<ActivityInfo> &)) 0x7f3f8afe8ed0 <KActivities::ActivitiesCache::setAllActivities(QList<ActivityInfo> const&)>, watcher=0x5643d44ef320, this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:164
#15 KActivities::ActivitiesCache::setAllActivitiesFromReply (this=<optimized out>, watcher=0x5643d44ef320) at ./src/lib/activitiescache_p.cpp:195
#16 0x00007f3f8afd063f in KActivities::ActivitiesCache::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:201
#17 0x00007f3f88c7fe00 in doActivate<false> (sender=0x5643d44ef320, signal_index=3, argv=0x7ffe9c063540) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#18 0x00007f3f88c79197 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f3f896575e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe9c063540) at kernel/qobject.cpp:3946
#19 0x00007f3f896380d3 in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#20 0x00007f3f896381d8 in QDBusPendingCallWatcherPrivate::_q_finished (this=<optimized out>) at qdbuspendingcall.cpp:494
#21 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:86
#22 0x00007f3f88c76949 in QObject::event (this=0x5643d44ef320, e=0x5643d41e2d30) at kernel/qobject.cpp:1314
#23 0x00007f3f8995adc3 in QApplicationPrivate::notify_helper (this=this@entry=0x5643d41b0840, receiver=receiver@entry=0x5643d44ef320, e=e@entry=0x5643d41e2d30) at kernel/qapplication.cpp:3632
#24 0x00007f3f89963bb8 in QApplication::notify (this=0x7ffe9c063c30, receiver=0x5643d44ef320, e=0x5643d41e2d30) at kernel/qapplication.cpp:3156
#25 0x00007f3f88c48daa in QCoreApplication::notifyInternal2 (receiver=0x5643d44ef320, event=0x5643d41e2d30) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#26 0x00007f3f88c4b6b1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5643d4189ef0) at kernel/qcoreapplication.cpp:1821
#27 0x00007f3f88ca3fa7 in postEventSourceDispatch (s=0x5643d41d4b40) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f3f86f7b17d in g_main_dispatch (context=0x5643d41cd670) at ../../../glib/gmain.c:3309
#29 g_main_context_dispatch (context=context@entry=0x5643d41cd670) at ../../../glib/gmain.c:3974
#30 0x00007f3f86f7b400 in g_main_context_iterate (context=context@entry=0x5643d41cd670, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#31 0x00007f3f86f7b4a3 in g_main_context_iteration (context=0x5643d41cd670, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#32 0x00007f3f88ca3602 in QEventDispatcherGlib::processEvents (this=0x5643d41cb580, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f3f88c478ab in QEventLoop::exec (this=this@entry=0x7ffe9c063b10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#34 0x00007f3f88c4fa64 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x00005643d340acf5 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:238

Possible duplicates by query: bug 444745, bug 444196, bug 444059, bug 444053, bug 443961.

Reported using DrKonqi
Comment 1 Sebastiano Barrera 2021-11-05 17:55:35 UTC
Created attachment 143253 [details]
New crash information added by DrKonqi

plasmashell (5.23.2) using Qt 5.15.2

- What I was doing when the application crashed:
Nothing, I just logged in. It also happens when I'm logging into GNOME (baloo_file starts automatically in this case too).

-- Backtrace (Reduced):
#6  0x00007fdc63f77800 in QScreen::name (this=0x565302578fa0) at kernel/qscreen.cpp:195
#7  0x000056530248028a in ShellCorona::addOutput (this=this@entry=0x56530254fec0, screen=<optimized out>, screen@entry=0x565302578fa0) at /usr/src/debug/plasma5-workspace-5.23.2-1.1.x86_64/shell/shellcorona.cpp:1237
#8  0x0000565302480ea3 in ShellCorona::load (this=<optimized out>) at /usr/src/debug/plasma5-workspace-5.23.2-1.1.x86_64/shell/shellcorona.cpp:684
#9  0x00007fdc63b29043 in QtPrivate::QSlotObjectBase::call (a=0x7ffeeffabb20, r=0x56530254fec0, this=0x5653027a2950) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x5653025d74f0, signal_index=4, argv=0x7ffeeffabb20) at kernel/qobject.cpp:3886
Comment 2 Nate Graham 2021-11-08 22:00:53 UTC

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