Bug 461077

Summary: Plasmashell crash after wake from sleep
Product: [Plasma] plasmashell Reporter: Wouter <wouterjoosse>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi, multiscreen
Version First Reported In: 5.24.7Flags: wouterjoosse: Wayland?
wouterjoosse: X11?
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: .kcrash file

Description Wouter 2022-10-27 18:06:17 UTC
Created attachment 153243 [details]
.kcrash file

Qt Version: 5.15.3
Frameworks Version: 5.98.0
Operating System: Linux 5.15.0-52-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.1 LTS
DrKonqi: 5.24.5 [KCrashBackend]


-- Information about the crash:
- What I was doing when the application crashed:
Had thunderbird, vs code and firerox running when I put my laptop to sleep.

- Unusual behavior I noticed:
- Woke the laptop from sleep by opening the lid. I have two external monitors connected (daisy chained via USB-C and DP). Monitors could not receive any signal, only laptop screen was showing the login screen.
- After a few seconds, there was some flickering on the laptop screen, and one of the monitors was working.
- Login screen disappeared on laptop screen and working monitor.
- Laptop screen showed running KDE session with thunderbird and vs code. Working monitor screen stopped working. KDE session was unresponsive.
- Laptop screen stopped working
- Laptop screen and both monitors showed login screen.
- After login, KDE bug report app appeared.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007f9f92458275 in QQuickWindow::mouseGrabberItem() const () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f9f9245aaef in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f9f92442195 in QQuickItemPrivate::derefWindow() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f9f92442d58 in QQuickItem::setParentItem(QQuickItem*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f9f9244301a in QQuickItem::~QQuickItem() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f9f88036e6d in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#10 0x00007f9f90a071c3 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f9f916dd713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f9f909d9e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f9f909dcf27 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f9f90a33a67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f9f8ec51d1b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f9f8eca66f8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f9f8ec4f3c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f9f90a330b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f9f909d875b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f9f909e0cf4 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x000055be2c3a7dce in  ()
#22 0x00007f9f902f7d90 in  () at /lib/x86_64-linux-gnu/libc.so.6
#23 0x00007f9f902f7e40 in __libc_start_main () at /lib/x86_64-linux-gnu/libc.so.6
#24 0x000055be2c3a7ef5 in  ()
[Inferior 1 (process 5579) detached]

Possible duplicates by query: bug 459553, bug 458503, bug 458406, bug 451304, bug 450594.

Report to https://bugs.kde.org/
Comment 1 Nate Graham 2022-10-28 19:37:07 UTC
Thank you for the bug report! Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

> #9  0x00007f9f88036e6d in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so

Could you please install debug symbols for plasma-desktop and plasma-workspace, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks again!
Comment 2 Wouter 2022-10-31 10:44:51 UTC
(In reply to Nate Graham from comment #1)
> Thank you for the bug report! Unfortunately the backtrace is incomplete and
> missing debug symbols for the following lines that we need to figure out
> exactly what's going wrong:
> 
> > #9  0x00007f9f88036e6d in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
> 
> Could you please install debug symbols for plasma-desktop and
> plasma-workspace, reproduce the crash, and attach a new symbolicated
> backtrace? See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> 
> Thanks again!

Hi, 

There seems to be some problem installing the dbgysm packages. 

The following packages have unmet dependencies:
 plasma-desktop-dbgsym : Depends: plasma-desktop (= 4:5.24.7-0ubuntu0.1) but 4:5.24.7-0ubuntu0.1~ubuntu22.04~ppa1 is to be installed
 plasma-workspace-dbgsym : Depends: plasma-workspace (= 4:5.24.7-0ubuntu0.1) but 4:5.24.7-0ubuntu0.1~ubuntu22.04~ppa1 is to be installed

Not sure why (package from a different ppa?) and I am not sure how to resolve this.
Comment 3 Nate Graham 2022-10-31 13:48:13 UTC
That's a packaging issue with your distro, and I'm afraid  you'll need to contact them about it.
Comment 4 Bug Janitor Service 2022-11-15 05:15:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-11-30 05:17:07 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!