Bug 451147 - Crashes in PanelView::geometryByDistance() when returning from sleep
Summary: Crashes in PanelView::geometryByDistance() when returning from sleep
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.24.2
Platform: openSUSE Linux
: HI crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 445362 451276 453491 455328 457438 457862 459310 459358 460790 461909 462960 465040 469997 471291 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-05 00:26 UTC by stephen.wetzel
Modified: 2023-09-15 16:57 UTC (History)
16 users (show)

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


Attachments
New crash information added by DrKonqi (3.25 KB, text/plain)
2022-04-17 19:58 UTC, stephen.wetzel
Details
New crash information added by DrKonqi (3.44 KB, text/plain)
2022-05-09 19:35 UTC, stephen.wetzel
Details
Crash info from plasma 5.25.5 (3.15 KB, text/vnd.kde.kcrash-report)
2022-10-02 20:05 UTC, stephen.wetzel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stephen.wetzel 2022-03-05 00:26:45 UTC
Application: plasmashell (5.24.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.16.11-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.2 [KCrashBackend]

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

I have two monitors conected to a motherboard with Ryzen 5700G integrated graphics via HDMI and DP.  Every since upgrading to KDE 5.24 KDE crashes whenever I return to my computer after the monitors have turned off.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  QScreen::geometry (this=0x0) at kernel/qscreen.cpp:413
#7  0x000055746adcdc0f in PanelView::geometryByDistance (this=this@entry=0x55746d3c1ae0, distance=0) at /usr/src/debug/plasma5-workspace-5.24.2-1.1.x86_64/shell/panelview.cpp:478
#8  0x000055746add2d22 in PanelView::resizeEvent (this=0x55746d3c1ae0, ev=0x7fff28d0e8b0) at /usr/src/debug/plasma5-workspace-5.24.2-1.1.x86_64/shell/panelview.cpp:788
#9  0x00007fe89ad12645 in QWindow::event (this=0x55746d3c1ae0, ev=<optimized out>) at kernel/qwindow.cpp:2438
#10 0x00007fe89b646a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55746d3c1ae0, e=0x7fff28d0e8b0) at kernel/qapplication.cpp:3632
#11 0x00007fe89a8a9e3a in QCoreApplication::notifyInternal2 (receiver=0x55746d3c1ae0, event=0x7fff28d0e8b0) at kernel/qcoreapplication.cpp:1064
#12 0x00007fe89ad07a48 in QGuiApplicationPrivate::processExposeEvent (e=0x55746cd55e40) at kernel/qguiapplication.cpp:3247
#13 0x00007fe89acdc85c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#14 0x00007fe895d73e0a in xcbSourceDispatch (source=source@entry=0x55746c17e0f0) at qxcbeventdispatcher.cpp:105
#15 0x00007fe898c09e22 in g_main_dispatch (context=0x7fe890005010) at ../glib/gmain.c:3381
#16 g_main_context_dispatch (context=0x7fe890005010) at ../glib/gmain.c:4099
#17 0x00007fe898c0a1b8 in g_main_context_iterate (context=context@entry=0x7fe890005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#18 0x00007fe898c0a26f in g_main_context_iteration (context=0x7fe890005010, may_block=1) at ../glib/gmain.c:4240
#19 0x00007fe89a901384 in QEventDispatcherGlib::processEvents (this=0x55746c188320, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#20 0x00007fe89a8a883b in QEventLoop::exec (this=this@entry=0x7fff28d0eb20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#21 0x00007fe89a8b0b10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#22 0x00007fe89acfa25c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#23 0x00007fe89b6469f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#24 0x000055746adb969a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma5-workspace-5.24.2-1.1.x86_64/shell/main.cpp:238
[Inferior 1 (process 15539) detached]

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

Possible duplicates by query: bug 450296, bug 449845, bug 445362, bug 421895, bug 421700.

Reported using DrKonqi
Comment 1 Nate Graham 2022-03-22 02:47:22 UTC
#6  QScreen::geometry (this=0x0) at kernel/qscreen.cpp:413
#7  0x000055746adcdc0f in PanelView::geometryByDistance (this=this@entry=0x55746d3c1ae0, distance=0) at /usr/src/debug/plasma5-workspace-5.24.2-1.1.x86_64/shell/panelview.cpp:478
#8  0x000055746add2d22 in PanelView::resizeEvent (this=0x55746d3c1ae0, ev=0x7fff28d0e8b0) at /usr/src/debug/plasma5-workspace-5.24.2-1.1.x86_64/shell/panelview.cpp:788
Comment 2 Nate Graham 2022-03-22 02:47:29 UTC
*** Bug 451276 has been marked as a duplicate of this bug. ***
Comment 3 stephen.wetzel 2022-04-17 19:58:24 UTC
Created attachment 148208 [details]
New crash information added by DrKonqi

plasmashell (5.24.4) using Qt 5.15.2

- What I was doing when the application crashed:

Crashes every time I wake the monitors from sleep, if they've been off for at least an hour.  If the monitors have only been off for a short time (10 minutes for example) it does not happen.  I'm not sure what the time threshold is exactly.

-- Backtrace (Reduced):
#4  QScreen::geometry (this=0x0) at kernel/qscreen.cpp:413
#5  0x0000555c9b1d9caf in PanelView::geometryByDistance (this=this@entry=0x555ca02f2f30, distance=0) at /usr/src/debug/plasma5-workspace-5.24.4-1.2.x86_64/shell/panelview.cpp:478
#6  0x0000555c9b1ded42 in PanelView::resizeEvent (this=0x555ca02f2f30, ev=0x7fff13b19ed0) at /usr/src/debug/plasma5-workspace-5.24.4-1.2.x86_64/shell/panelview.cpp:788
#7  0x00007f0416759a95 in QWindow::event (this=0x555ca02f2f30, ev=<optimized out>) at kernel/qwindow.cpp:2438
#8  0x00007f0417090b0f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555ca02f2f30, e=0x7fff13b19ed0) at kernel/qapplication.cpp:3632
Comment 4 Nate Graham 2022-05-09 17:27:01 UTC
*** Bug 445362 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2022-05-09 17:27:07 UTC
*** Bug 453491 has been marked as a duplicate of this bug. ***
Comment 6 stephen.wetzel 2022-05-09 19:35:29 UTC
Created attachment 148690 [details]
New crash information added by DrKonqi

plasmashell (5.24.5) using Qt 5.15.2

- What I was doing when the application crashed:

Same as previous examples, crashes on returning from sleep with two monitors.  Still present in 5.24.5.

-- Backtrace (Reduced):
#6  QScreen::geometry (this=0x0) at kernel/qscreen.cpp:413
#7  0x00005640c9842c5f in PanelView::geometryByDistance (this=this@entry=0x5640ca818440, distance=0) at /usr/src/debug/plasma5-workspace-5.24.5-1.2.x86_64/shell/panelview.cpp:478
#8  0x00005640c9847cd2 in PanelView::resizeEvent (this=0x5640ca818440, ev=0x7ffc910e3ed0) at /usr/src/debug/plasma5-workspace-5.24.5-1.2.x86_64/shell/panelview.cpp:788
#9  0x00007f89051d8a95 in QWindow::event (this=0x5640ca818440, ev=<optimized out>) at kernel/qwindow.cpp:2438
#10 0x00007f8905b0fb0f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5640ca818440, e=0x7ffc910e3ed0) at kernel/qapplication.cpp:3632
Comment 7 Nate Graham 2022-08-15 18:32:41 UTC
*** Bug 457862 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2022-08-15 18:33:12 UTC
*** Bug 455328 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2022-08-15 18:33:15 UTC
*** Bug 457438 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2022-08-15 18:33:46 UTC
Raising priority due to number of duplicates.
Comment 11 Nate Graham 2022-09-23 18:17:46 UTC
*** Bug 459358 has been marked as a duplicate of this bug. ***
Comment 12 stephen.wetzel 2022-10-02 20:05:19 UTC
Created attachment 152549 [details]
Crash info from plasma 5.25.5

This did stop for me for a while, but now crashes consistently again on 5.25.5.
Comment 13 Nate Graham 2022-10-09 20:09:54 UTC
*** Bug 459310 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2022-10-21 16:54:46 UTC
*** Bug 460790 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2022-11-16 18:18:43 UTC
*** Bug 461909 has been marked as a duplicate of this bug. ***
Comment 16 Nate Graham 2023-01-03 21:45:48 UTC
*** Bug 462960 has been marked as a duplicate of this bug. ***
Comment 17 Marco Martin 2023-01-18 11:27:02 UTC
this is fixed by 8c521e528adc69a920c161cc691f1322dc2089f8 in pasma-workspace
reopen *only* if this happen on a git revision more recent than that
Comment 18 Nicolas Fella 2023-02-05 13:13:43 UTC
*** Bug 465040 has been marked as a duplicate of this bug. ***
Comment 19 Nicolas Fella 2023-05-19 14:20:44 UTC
*** Bug 469997 has been marked as a duplicate of this bug. ***
Comment 20 Nate Graham 2023-09-15 16:57:09 UTC
*** Bug 471291 has been marked as a duplicate of this bug. ***