kwin crashes when prompting passwd after screensaver activation

Bug #802584 reported by Juan-Carlos Amengual
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I have configured screen saver to activate after 15 min. of inactivity and power down screen of the laptop after 25 min. So well, almost always the laptop has activated the screen saver or even the screen is black after a long period of inactivity, when I press a key or move the mouse, a window prompting my pass pops and then kwin crashes. Most of the times, the window announcing the crash emerges (I didn't use to submit the bug report cause I don't have installed the dbg packages due to insufficient disk space in my /usr partition) and kwin is rerun and I can work with my laptop. But another times, the screen remains black or graphics begin to do weird things (windows partially deleted, desktops blinking, etc.). When the screen remains black, I switch to a console (CTRL+ALT+F1) kill the kwin process and when I return back to X (ALT+F7) there is no more black screen (I have my desktop) but there is no window manager, so I have to reboot in order to be able to work with my laptop. This is annoying! Firstly, I thought the bus was in kcometen4, the screen saver I used, but I changed to GLMatrix and problems remain (only slightly better).

By the way, I think that the problems I have with laptop suspension and hibernation are related to this bug, because sometimes, when I wake the laptop up after an hibernation or a suspension I got a black screen (after the window prompting my pass pops up) or a crazy X desktop or directly a kwin crash.

Please, let me know if I could be of help in some way. Thanks a lot for your work!!!

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: kde-window-manager 4:4.6.2a-0ubuntu5.1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Mon Jun 27 17:03:47 2011
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: kdebase-workspace
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Juan-Carlos Amengual (jcamen) wrote :
Revision history for this message
Juan-Carlos Amengual (jcamen) wrote :
Download full text (5.7 KiB)

Sorry!

$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

$ dpkg -l kde* | grep ^ii
ii kde-config-gtk 0.5.3-0ubuntu6 Configuration module for GTK+ appearance in KDE
ii kde-config-touchpad 0.5.3-0ubuntu1 touchpad configuration tool (synaptiks)
ii kde-l10n-engb 4:4.6.2-0ubuntu1 British English (engb) localization for KDE
ii kde-l10n-es 4:4.6.2-0ubuntu1 Spanish (es) localization for KDE
ii kde-style-bespin 0.1~svn100126-0ubuntu5 A very glossy Qt4 widget style
ii kde-style-qtcurve 1.8.4-1 Unified widget styles for KDE and GTK+
ii kde-style-skulpture 0.2.4-0ubuntu1 Widget style for Qt4 and KDE 4
ii kde-window-manager 4:4.6.2a-0ubuntu5.1 the K window manager (KWin)
ii kde-zeroconf 4:4.6.2-0ubuntu3 zeroconf plugins and kio slaves for KDE
ii kdeartwork-emoticons 4:4.6.2-0ubuntu1 emoticon collections for chat clients
ii kdebase-bin 4:4.6.2-0ubuntu1 core binaries for the KDE base applications
ii kdebase-data 4:4.6.2-0ubuntu1 shared data files for the KDE base applications
ii kdebase-runtime 4:4.6.2-0ubuntu1 runtime components from the official KDE release
ii kdebase-runtime-data 4:4.6.2-0ubuntu1 shared data files for the KDE base runtime module
ii kdebase-workspace 4:4.6.2a-0ubuntu5.1 KDE Plasma Workspace components
ii kdebase-workspace-bin 4:4.6.2a-0ubuntu5.1 core binaries for the KDE Plasma Workspace
ii kdebase-workspace-data 4:4.6.2a-0ubuntu5.1 shared data files for the KDE Plasma Workspace
ii kdebase-workspace-kgreet-plugins 4:4.6.2a-0ubuntu5.1 KDE greet libraries for authentication
ii kdebase-workspace-wallpapers 4:4.6.2a-0ubuntu5.1 set of extra wallpapers from the KDE base module
ii kdegames-card-data 4:4.6.2-0ubuntu2 card decks for KDE games
ii kdegraphics-libs-data 4:4.6.2-0ubuntu1 data files for libraries from the kdegraphics module
ii kdegraphics-strigi-plugins 4:4.6.2-0ubuntu1 ...

Read more...

Revision history for this message
Juan-Carlos Amengual (jcamen) wrote :
Download full text (16.5 KiB)

It just happened again, after returning from lunch pause and after entering the password when prompting for it with the screensaver active. Here the crash report:

Application: kwin (4.6.2 (4.6.2))
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
<En detalle, comente que estaba haciendo cuando la aplicación se cerró.>

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1747a4f7a0 (LWP 1815))]

Thread 3 (Thread 0x7f172aa96700 (LWP 1820)):
#0 0xffffffffff60017b in ?? ()
#1 0x00007f172aa95ad0 in ?? ()
#2 0x00007fffbcbcc7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f172a285700 (LWP 1821)):
#0 0x00007f173dc65bac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007f17461052a2 in ?? () from /usr/lib/libQtScript.so.4
#2 0x00007f17461052d9 in ?? () from /usr/lib/libQtScript.so.4
#3 0x00007f173dc60d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4 0x00007f17472a604d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1747a4f7a0 (LWP 1815)):
[KCrash Handler]
#6 0x00007f172ea50afe in ?? () from /usr/lib/dri/i965_dri.so
#7 0x00007f172ea3a05e in brw_validate_state () from /usr/lib/dri/i965_dri.so
#8 0x00007f172ea290bd in brw_draw_prims () from /usr/lib/dri/i965_dri.so
#9 0x00007f172e6b0100 in vbo_exec_vtx_flush () from /usr/lib/dri/libdricore.so
#10 0x00007f172e6ade2c in vbo_exec_FlushVertices_internal () from /usr/lib/dri/libdricore.so
#11 0x00007f172e6ae02a in vbo_exec_FlushVertices () from /usr/lib/dri/libdricore.so
#12 0x00007f172e5eb0ce in _mesa_PopAttrib () from /usr/lib/dri/libdricore.so
#13 0x00007f17456f0ac5 in KWin::PaintClipper::Iterator::~Iterator() () from /usr/lib/libkwineffects.so.1
#14 0x00007f17456f9d62 in KWin::renderGLGeometry(QRegion const&, int, float const*, float const*, float const*, int, int) () from /usr/lib/libkwineffects.so.1
#15 0x00007f174761fc98 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#16 0x00007f1747627613 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#17 0x00007f1747612419 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#18 0x00007f174762fb76 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#19 0x00007f17456ef8a8 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/libkwineffects.so.1
#20 0x00007f174762fc07 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#21 0x00007f17456ef8a8 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/libkwineffects.so.1
#22 0x00007f174762fc07 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#23 0x00007f17456ef8a8 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/libkwineffects.so.1
#24 0x00007f174762fc07 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#25 0x00007f172d93c169 i...

Revision history for this message
Juan-Carlos Amengual (jcamen) wrote :

I have changed the screensaver from GLMatrix (an OpenGL screensaver just as Kcometen4) to a "regular" 2D screensaver (The Matrix) and after three times of activation of the screensaver there was no crash!! I will keep this screensaver to watch if there is no error at all. If this would be the case, I think that the bug could be related to using an OpenGL screensaver in KDE (conflicts with kwin???). Please, let me know what you think. Thanks a lot!!!

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This appears to be a problem with the 3D graphics library that KWin uses.

affects: kdebase-workspace (Ubuntu) → mesa (Ubuntu)
bugbot (bugbot)
tags: added: kubuntu
Revision history for this message
Juan-Carlos Amengual (jcamen) wrote :

I see... Well, any fix envisaged soon? :-) Thanks a lot!!!

Revision history for this message
penalvch (penalvch) wrote :

Juan-Carlos Amengual, thank you for reporting this and helping make Ubuntu better. However, your crash report is missing.

Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer. First, execute at a terminal:
cd /var/crash && sudo rm * ; sudo apt-get update && sudo apt-get -y dist-upgrade && sudo service apport start force_start=1

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart. Now reproduce the crash, then open a terminal, navigate to your /var/crash directory and file your report with:
sudo ubuntu-bug /var/crash/_my_crash_report.crash

where _my_crash_report.crash is the crash you would like to report. By default, this sends the crash to the Ubuntu Error Tracker infrastructure, which is different than Launchpad. For more on this, please see https://wiki.ubuntu.com/ErrorTracker .

However, if after doing this you would still like to have a crash report posted to Launchpad, for example to ease triage and add others to your report, one would need to open the following file via a terminal:
sudo nano /etc/apport/crashdb.conf

and comment out the line:
'problem_types': ['Bug', 'Package'],

by changing it to:
# 'problem_types': ['Bug', 'Package'],

Save, close, and file the crash report via:
sudo ubuntu-bug /var/crash/FILENAME.crash

Where FILENAME is the actual name of the file found in the folder.

However, this report is being closed since the process outlined above will deal with this issue more efficiently.

Also, please do not attach your crash report manually to this report and reopen it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in mesa (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.