Bug 399798 - The window manager keeps crashing and I need to restart it
Summary: The window manager keeps crashing and I need to restart it
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.12.6
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-14 15:54 UTC by kbwerf+kde
Modified: 2018-11-16 11:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kbwerf+kde 2018-10-14 15:54:31 UTC
The window manager keeps crashing and I need to restart it using
kwin --replace &

STEPS TO REPRODUCE
It doesn't happen every time, but when it happens I'm usually switching between virtual deskops. I also have several workspaces set up, but I've been staying on one of them.

OBSERVED RESULT
The window decorations disappear, and doesn't come back until I run kwin --replace &
Sometimes keyboard input disappears.

EXPECTED RESULT


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.12.6
KDE Frameworks Version: 5.44.0
Qt Version:  5.9.5
I'm using kubuntu 18.04 fully updated as of now.

ADDITIONAL INFORMATION
output from kwin:

user@host:/var$ kwin --replace &
[2] 8298
user@host:/var$ QXcbConnection: XCB error: 3 (BadWindow), sequence: 181, resource id: 119537670, major code: 20 (GetProperty), minor code: 0
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setWindow: Painter not active
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active                                                                                                                    
QPainter::setBrush: Painter not active                                                                                                                  
QPainter::setClipRect: Painter not active                                                                                                               
QPainter::drawRects: Painter not active                                                                                                                 
QPainter::restore: Unbalanced save/restore                                                                                                              
QPainter::save: Painter not active                                                                                                                      
QPainter::setRenderHint: Painter must be active to set rendering hints                                                                                  
QPainter::setBrush: Painter not active                                                                                                                  
QPainter::setPen: Painter not active                                                                                                                    
QPainter::drawRects: Painter not active                                                                                                                 
QPainter::restore: Unbalanced save/restore                                                                                                              
OpenGL vendor string:                   NVIDIA Corporation                                                                                              
OpenGL renderer string:                 GeForce GTX 970/PCIe/SSE2                                                                                       
OpenGL version string:                  4.6.0 NVIDIA 390.87                                                                                             
OpenGL shading language version string: 4.60 NVIDIA                                                                                                     
Driver:                                 NVIDIA                                                                                                          
Driver version:                         390.87                                                                                                          
GPU class:                              Unknown                                                                                                         
OpenGL version:                         4.6                                                                                                             
GLSL version:                           4.60                                                                                                            
X server version:                       1.19.6                                                                                                          
Linux kernel version:                   4.15                                                                                                            
Requires strict binding:                no                                                                                                              
GLSL shaders:                           yes                                                                                                             
Texture NPOT support:                   yes                                                                                                             
Virtual Machine:                        no                                                                                                              
kf5.kcoreaddons.desktopparser: Property type "Url" is not a known QVariant type. Found while parsing property definition for "X-KWin-Video-Url" in "/usr/share/kservicetypes5/kwineffect.desktop"                                                                                                               
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2926, resource id: 0, major code: 14 (GetGeometry), minor code: 0                                 
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2936, resource id: 0, major code: 14 (GetGeometry), minor code: 0                                 
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2937, resource id: 0, major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2938, resource id: 0, major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2939, resource id: 0, major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2940, resource id: 0, major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2942, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Comment 1 kbwerf+kde 2018-10-14 17:05:46 UTC
The programs I were actively using at the time were emacs, blender, firefox and konsole.
Comment 2 Vlad Zahorodnii 2018-10-17 14:12:29 UTC
Please install debug packages and submit a backtrace (you can get the backtrace by clicking on the sad face in the system tray). 

My guess is that's because of makeSubQuad.
Comment 3 kbwerf+kde 2018-10-17 17:38:22 UTC
I'm trying to figure out which packages to install, https://wiki.kubuntu.org/Kubuntu/Bugs/Reporting seems to be outdated.
Comment 4 Andrew Crouthamel 2018-11-01 18:49:23 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 5 Bug Janitor Service 2018-11-16 11:45:57 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!