Bug 347808

Summary: kwin crashes when compositing is switched off and QSG_RENDER_LOOP=basic
Product: [Plasma] kwin Reporter: Nicolas F. <kdebugs>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: triaged
Priority: NOR    
Version First Reported In: 5.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kwin supportInformation

Description Nicolas F. 2015-05-16 17:32:52 UTC
kwin crashes if the user hits the global keyboard shortcut to turn off compositing, but only if QSG_RENDER_LOOP is set to basic

Reproducible: Always

Steps to Reproduce:
1. Add a script with the contents "export QSG_RENDER_LOOP=basic" to autostart pre-KDE.
2. Switch off compositing
3. Note kwin_x11 crashing



The system this was discovered on runs nvidia 349.16 and qt 5.4.1.
The issue does NOT occur when QSG_RENDER_LOOP is not set to "basic"

This issue here may be related: https://bugs.kde.org/show_bug.cgi?id=347807
Comment 1 Thomas Lübking 2015-05-16 17:42:04 UTC
can you please post the bactrace (no compositing sounds rather like a qml issue, ie. likely related to the deco in use)
Comment 2 Nicolas F. 2015-05-16 18:21:41 UTC
After building and installing debug versions of kdecoration and kwin, I can unfortunately no longer reproduce the issue. Now I am doubting whether QSG_RENDER_LOOP ever had any influence on it or whether the few crashes I experienced were simply a coincidence.
Comment 3 Thomas Lübking 2015-05-16 18:25:22 UTC
if you still have or can reproduce, feel free to post the backtraces of the stock arch packages (even limited info is better than none ;-)

also attach the output of "qdbus org.kde.KWin /KWin supportInformation"
(as mentioned, I mostly care about the used deco plugin)
Comment 4 Nicolas F. 2015-05-16 18:39:36 UTC
Even with stock packages, I am no longer able to reproduce. However, coredumpctl shows me two coredumps which might be associated with this, one is from ksplashqml and the other is from kscreen_backend_launcher. I will attach them in the hope that they are related and report back if I can reproduce the crash at a later time.
Comment 5 Nicolas F. 2015-05-16 18:42:52 UTC
Okay, filesize is over the limit, so here's a URL of the dumps: http://fratti.ch/tmp/kde-dumps.tar.gz

I'll attach the output of "qdbus org.kde.KWin /KWin supportInformation" though
Comment 6 Nicolas F. 2015-05-16 18:43:40 UTC
Created attachment 92639 [details]
kwin supportInformation
Comment 7 Andrew Crouthamel 2018-09-25 21:47:07 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 set the bug status 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 8 Andrew Crouthamel 2018-10-27 02:49:29 UTC
Dear Bug Submitter,

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!