Bug 437339 - Crash on launch
Summary: Crash on launch
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-19 07:06 UTC by John Rage
Modified: 2021-07-02 04:33 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
system bugreporter message: Date: 19.05.2021 11:06 (UTC+4 Europe/Samara) (2.37 KB, text/vnd.kde.kcrash-report)
2021-05-19 07:06 UTC, John Rage
Details
gl-create.py (277 bytes, text/x-python)
2021-05-31 09:23 UTC, phd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Rage 2021-05-19 07:06:46 UTC
Created attachment 138551 [details]
system bugreporter message: Date: 19.05.2021 11:06 (UTC+4 Europe/Samara)

SUMMARY

Plasma-systemmonitor crashes when i trying to start it.

Bugreporter message:


STEPS TO REPRODUCE
1. Launching from menu
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-05-19 19:25:38 UTC
> QSGRenderLoop::handleContextCreationFailure
Hmm, System Monitor uses `KQuickAddons::QtQuickSettings::init()`, which was supposed to fix this problem after https://invent.kde.org/frameworks/kdeclarative/commit/090610124d4650150af49a8e30f6b77ad9803dfe.

Any ideas, Piotr?
Comment 2 phd 2021-05-31 09:23:18 UTC
Created attachment 138893 [details]
gl-create.py

@Nate Graham
SystemMonitor's code seems fine.
Ant KDE Frameworks version is recent enough (5.82.0).
At the first glance I really cannot tell what's wrong...

@John Rage
1.
Does the crash still occur?
Does it continue to occur after rebooting the computer?

2.
Did it occur after system upgrade (especially graphics drivers upgrade)?
Or doing something else with graphics drivers (switching GPUs maybe?)

3.
When the crash occurs again, could you immediately run this in Konsole:
    $ killall -9 systemmonitor
    $ systemmonitor
And check if the crash repeats?
Does the program output any warnings/errors in the terminal?

If the crash does repeat, try this:
    $ killall -9 systemmonitor
    $ QT_QUICK_BACKEND=software systemmonitor
Does this fix the crash and allows SystemMonitor to start properly?

4.
When the crash occurs, please run the attached gl-create.py Python script
and tell us what the output was:
    QOpenGLContext::create() == ???
Comment 3 David Edmundson 2021-06-02 11:35:25 UTC
Make sure that's plasma-systemmontior not systemmonitor in all the above commands
Comment 4 Bug Janitor Service 2021-06-17 04:33:37 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 2021-07-02 04:33:49 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!