Bug 467444 - Segmentation fault (11) on plasmashell when returning from screen locking
Summary: Segmentation fault (11) on plasmashell when returning from screen locking
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.2
Platform: Neon Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-16 11:17 UTC by Franco Pellegrini
Modified: 2023-05-13 03:46 UTC (History)
3 users (show)

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


Attachments
Light Locker (6.73 KB, image/png)
2023-04-05 11:38 UTC, Franco Pellegrini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franco Pellegrini 2023-03-16 11:17:40 UTC
SUMMARY
Every time the monitor turn on again after light locker kicks in (turning off the monitors), plasmashell crash and all panels and widgets disappear. I can reproduce it on 2 different hardware PC, every time, since more than 2 years.

STEPS TO REPRODUCE
1. wait until light locker kicks in, and monitors (dual) turn off
2. type some key to turn on again the monitors.
3. the monitors turn on
4. enter again to the session (unlock)
5. desktop crash

OBSERVED RESULT
plasmashell always crash when monitors wake up

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: RENOIR
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450M DS3H V2

ADDITIONAL INFORMATION
can also reproduce on this PC:
Processors: 6 × Intel® Core™ i5-8400 CPU @ 2.80GHz
Memory: 22.9 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Comment 1 Franco Pellegrini 2023-03-16 11:23:13 UTC
I think that I captured the crash:

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

[KCrash Handler]
#4  0x0000000000000018 in ?? ()
#5  0x00007f5d557bae1e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/libcalendarplugin.so
#6  0x00007f5d557bb1cd in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/libcalendarplugin.so
#7  0x00007f5df86822b7 in QQmlEngine::~QQmlEngine() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f5df924c527 in KDeclarative::QmlObject::~QmlObject() () from /lib/x86_64-linux-gnu/libKF5Declarative.so.5
#9  0x00007f5df924d22d in KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine() () from /lib/x86_64-linux-gnu/libKF5Declarative.so.5
#10 0x00007f5df6ee711e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f5df6ef21a6 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f5de3fbcdaa in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#13 0x00007f5df6ee711e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f5df6ef21a6 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f5de3fa5e0d in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#16 0x00007f5df92f91c8 in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#17 0x00007f5df92f93cd in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#18 0x00007f5df92e2da6 in Plasma::Applet::~Applet() () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#19 0x00007f5df92e88fd in Plasma::Containment::~Containment() () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#20 0x00005573fdc949e0 in ?? ()
#21 0x00005573fdc94c9d in ?? ()
#22 0x00007f5df6ee9883 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f5df7d6c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f5df6ebc07a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f5df6ebf167 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f5df6ec2f4c in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00005573fdc62a8b in ?? ()
#28 0x00007f5df6429d90 in __libc_start_call_main (main=main@entry=0x5573fdc61b70, argc=argc@entry=1, argv=argv@entry=0x7ffcc934d008) at ../sysdeps/nptl/libc_start_call_main.h:58
#29 0x00007f5df6429e40 in __libc_start_main_impl (main=0x5573fdc61b70, argc=1, argv=0x7ffcc934d008, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcc934cff8) at ../csu/libc-start.c:392
#30 0x00005573fdc62bb5 in ?? ()
[Inferior 1 (process 28655) detached]
Comment 2 Franco Pellegrini 2023-03-16 11:25:50 UTC
maybe its related to

https://bugs.kde.org/show_bug.cgi?id=451322
Comment 3 Nate Graham 2023-04-04 23:01:59 UTC
What is "light locker?" You mean the lock screen?

Looks like a calendar plugin is crashing:

> #5  0x00007f5d557bae1e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/libcalendarplugin.so
> #6  0x00007f5d557bb1cd in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/libcalendarplugin.so

Could you please install debug symbols for Plasma, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports for details about how to do this.

Thanks!
Comment 4 Franco Pellegrini 2023-04-05 11:38:56 UTC
Created attachment 157867 [details]
Light Locker
Comment 5 Franco Pellegrini 2023-04-05 11:39:29 UTC
(In reply to Nate Graham from comment #3)
> What is "light locker?" You mean the lock screen?
> 
> Looks like a calendar plugin is crashing:
> 
> > #5  0x00007f5d557bae1e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/libcalendarplugin.so
> > #6  0x00007f5d557bb1cd in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/libcalendarplugin.so
> 
> Could you please install debug symbols for Plasma, reproduce the crash, and
> attach a new symbolicated backtrace? See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports for details about how to do this.
> 
> Thanks!

I attached an image about the "light locker"
Comment 6 Nate Graham 2023-04-05 14:00:43 UTC
Huh, that's a very strange translation. The original English term is "Screen Locker", and I would expect the whole text to be translated into Spanish, rather than half of it translated into Spanish and the other half of it changes into a different set of English words.

I'd encourage you to submit a bug report about this to https://bugs.kde.org/enter_bug.cgi?classification=Translations&component=es.

Anyway, can you get debug symbols for the crash?
Comment 7 Franco Pellegrini 2023-04-13 14:03:36 UTC
the desktop crash every day, when screensaver turn off both monitors, and I wake up the session. But cannot catch any error report like in previous crashes.. I'm forced to kill all plasma and restart it again every time to work again. I also tried to remove calendar, but the problem continues.
Comment 8 Bug Janitor Service 2023-04-28 03:46:09 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 9 Bug Janitor Service 2023-05-13 03:46: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!