Bug 430656 - Plasmashell crashes on login with native wayland and 2nd screen = only screen
Summary: Plasmashell crashes on login with native wayland and 2nd screen = only screen
Status: RESOLVED DUPLICATE of bug 425711
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.20.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2020-12-21 08:46 UTC by Robert Riemann
Modified: 2021-01-05 15:05 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (4.66 KB, text/plain)
2020-12-21 10:56 UTC, Robert Riemann
Details
New crash information added by DrKonqi (12.97 KB, text/plain)
2021-01-02 20:59 UTC, julien_palmieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Riemann 2020-12-21 08:46:01 UTC
Application: plasmashell (5.20.4)

Qt Version: 5.15.2
Frameworks Version: 5.77.0
Operating System: Linux 5.9.14-1-default x86_64
Windowing system: Wayland
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I have a new screen with HiDPI connected to my Thinkpad dock. I use Wayland for better HiDPI support. When I login to a Wayland (Full) Plasma Session, the plasmashell seems to crash immediatly and respans then successfully afterwards.

My session is configured to restore the previous session.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  QExplicitlySharedDataPointer<KConfigGroupPrivate>::operator bool (this=0x18) at /usr/include/qt5/QtCore/qshareddata.h:176
#5  KConfigGroup::parent (this=this@entry=0x7ffd6691f050) at /usr/src/debug/kconfig-5.77.0-1.1.x86_64/src/core/kconfiggroup.cpp:545
#6  0x00005557073219ad in PanelView::restore (this=0x555708a3f160) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/shell/panelview.cpp:576
#7  0x0000555707322315 in PanelView::containmentChanged (this=0x555708a3f160) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/shell/panelview.cpp:1180
#8  PanelView::qt_static_metacall (_o=0x555708a3f160, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd6691f1c0) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/build/shell/plasmashell_autogen/include/moc_panelview.cpp:261
#9  0x00007efe5b53a8a0 in doActivate<false> (sender=0x555708a3f160, signal_index=43, argv=0x7ffd6691f1c0, argv@entry=0x0) at kernel/qobject.cpp:3898
#10 0x00007efe5b533bc0 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7efe5d7a9e00, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#11 0x00007efe5d7830b3 in PlasmaQuick::ContainmentView::containmentChanged (this=<optimized out>) at /usr/src/debug/plasma-framework-5.77.0-1.1.x86_64/build/src/plasmaquick/KF5PlasmaQuick_autogen/include/moc_containmentview.cpp:267
#12 0x00007efe5d785690 in PlasmaQuick::ContainmentViewPrivate::setContainment (this=0x555708b2eda0, cont=0x555708471cc0) at /usr/src/debug/plasma-framework-5.77.0-1.1.x86_64/src/plasmaquick/containmentview.cpp:81
#13 0x00007efe5d788349 in PlasmaQuick::ContainmentView::setContainment (this=this@entry=0x555708a3f160, cont=<optimized out>) at /usr/src/debug/plasma-framework-5.77.0-1.1.x86_64/src/plasmaquick/containmentview.cpp:244
#14 0x0000555707326ea2 in ShellCorona::createWaitingPanels (this=<optimized out>) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/shell/shellcorona.cpp:1371
#15 0x00007efe5b53a866 in QtPrivate::QSlotObjectBase::call (a=0x7ffd6691f570, r=0x55570822ed60, this=0x55570830ce30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x55570822ee18, signal_index=3, argv=argv@entry=0x7ffd6691f570) at kernel/qobject.cpp:3886
#17 0x00007efe5b533bc0 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7efe5b7e8ba0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd6691f570) at kernel/qobject.cpp:3946
#18 0x00007efe5b53e77a in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#19 0x00007efe5b5301ef in QObject::event (this=0x55570822ee18, e=0x7ffd6691f6e0) at kernel/qobject.cpp:1336
#20 0x00007efe5c28450f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55570822ee18, e=0x7ffd6691f6e0) at kernel/qapplication.cpp:3632
#21 0x00007efe5b50428a in QCoreApplication::notifyInternal2 (receiver=0x55570822ee18, event=0x7ffd6691f6e0) at kernel/qcoreapplication.cpp:1063
#22 0x00007efe5b55aba3 in QTimerInfoList::activateTimers (this=0x555708252c80) at kernel/qtimerinfo_unix.cpp:643
#23 0x00007efe5b55b45c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#24 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#25 0x00007efe59921cf7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007efe59922078 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007efe5992212f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007efe5b55b7df in QEventDispatcherGlib::processEvents (this=0x55570827f810, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007efe5b502c4b in QEventLoop::exec (this=this@entry=0x7ffd6691f920, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007efe5b50aec0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x0000555707307082 in main (argc=<optimized out>, argv=0x7ffd6691fb40) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/shell/main.cpp:252
[Inferior 1 (process 1550) detached]

Possible duplicates by query: bug 430653, bug 430608, bug 430548, bug 430467, bug 430431.

Reported using DrKonqi
Comment 1 Robert Riemann 2020-12-21 10:56:55 UTC
Created attachment 134243 [details]
New crash information added by DrKonqi

plasmashell (5.20.4) using Qt 5.15.2

- What I was doing when the application crashed:

Also when I reboot the computer and use the plasma+xwayland session, plasma crashes immediatly after login. It then respawns without crashing.

-- Backtrace (Reduced):
#4  QExplicitlySharedDataPointer<KConfigGroupPrivate>::operator bool (this=0x18) at /usr/include/qt5/QtCore/qshareddata.h:176
#5  KConfigGroup::parent (this=this@entry=0x7fff450416a0) at /usr/src/debug/kconfig-5.77.0-1.1.x86_64/src/core/kconfiggroup.cpp:545
#6  0x00005583ec96b9ad in PanelView::restore (this=0x5583eda97ca0) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/shell/panelview.cpp:576
#7  0x00005583ec96c315 in PanelView::containmentChanged (this=0x5583eda97ca0) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/shell/panelview.cpp:1180
#8  PanelView::qt_static_metacall (_o=0x5583eda97ca0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff45041810) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/build/shell/plasmashell_autogen/include/moc_panelview.cpp:261
Comment 2 julien_palmieri 2021-01-02 20:59:12 UTC
Created attachment 134486 [details]
New crash information added by DrKonqi

plasmashell (5.20.4) using Qt 5.15.2

- What I was doing when the application crashed:

logged in with Wayland and a second screen connected. it does crash either the second screen is the only active screen or both screen are active

-- Backtrace (Reduced):
#4  0x00007f6e4bc92c76 in QScreen::name (this=this@entry=0x560c2f87b770) at kernel/qscreen.cpp:195
#5  0x0000560c2ebf17a2 in ShellCorona::load (this=0x560c2f8b70c0) at ./shell/shellcorona.cpp:729
#6  0x00007f6e4b8c06be in QtPrivate::QSlotObjectBase::call (a=0x7ffcc3d79eb0, r=0x560c2f8b70c0, this=0x560c2fae62b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x560c2f9136b0, signal_index=4, argv=0x7ffcc3d79eb0) at kernel/qobject.cpp:3886
[...]
#9  0x00007f6e4dae4dc5 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
Comment 3 Nate Graham 2021-01-04 21:54:40 UTC
Weird panel stuff:

#5  KConfigGroup::parent (this=this@entry=0x7ffd6691f050) at /usr/src/debug/kconfig-5.77.0-1.1.x86_64/src/core/kconfiggroup.cpp:545
#6  0x00005557073219ad in PanelView::restore (this=0x555708a3f160) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/shell/panelview.cpp:576
#7  0x0000555707322315 in PanelView::containmentChanged (this=0x555708a3f160) at /usr/src/debug/plasma5-workspace-5.20.4-1.1.x86_64/shell/panelview.cpp:1180
Comment 4 Nate Graham 2021-01-05 15:05:28 UTC

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