Bug 288582

Summary: Kwin closed unexpectdly befor turning off my computer.
Product: [Plasma] kwin Reporter: Ivan Ramos <tibesignerie1>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: investigated, triaged
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ivan Ramos 2011-12-09 17:44:25 UTC
Application: kwin (4.7.2 (4.7.2))
KDE Platform Version: 4.7.2 (4.7.2) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: I was one step back to turn off my computer. I was watching in my window the last confirmation, when my monitor become black, black. Suddenly after 1 or 2 second my k win reapear whith the crash reporting assitant, open and working properly.

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

Thread 3 (Thread 0xb4a80b70 (LWP 2254)):
#0  0x07e45d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x02cec7d5 in do_gettime (frac=0xb4a80050, sec=0xb4a80048) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x02dbf4b6 in QTimerInfoList::updateCurrentTime (this=0x98d3e58) at kernel/qeventdispatcher_unix.cpp:339
#4  0x02dc0eab in QEventDispatcherUNIXPrivate::doSelect (this=0x98d37b8, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:182
#5  0x02dc1454 in QEventDispatcherUNIX::processEvents (this=0x98edb10, flags=...) at kernel/qeventdispatcher_unix.cpp:918
#6  0x02d8f1dd in QEventLoop::processEvents (this=0xb4a802a0, flags=...) at kernel/qeventloop.cpp:149
#7  0x02d8f421 in QEventLoop::exec (this=0xb4a802a0, flags=...) at kernel/qeventloop.cpp:201
#8  0x02c9290b in QThread::exec (this=0x98ccfb0) at thread/qthread.cpp:498
#9  0x02d6fe2d in QInotifyFileSystemWatcherEngine::run (this=0x98ccfb0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x02c957b3 in QThreadPrivate::start (arg=0x98ccfb0) at thread/qthread_unix.cpp:331
#11 0x013d8d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x002ae0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb427fb70 (LWP 2255)):
#0  0x001db416 in __kernel_vsyscall ()
#1  0x013dca5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x002bbcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x010349a9 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x010349ef in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x013d8d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x002ae0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb76d9720 (LWP 2185)):
[KCrash Handler]
#7  0x02dc1110 in QEventDispatcherUNIXPrivate::doSelect (this=0x95e53f0, flags=..., timeout=0xbfacc704) at kernel/qeventdispatcher_unix.cpp:187
#8  0x02dc1454 in QEventDispatcherUNIX::processEvents (this=0x95b5218, flags=...) at kernel/qeventdispatcher_unix.cpp:918
#9  0x04be9f1e in QEventDispatcherX11::processEvents (this=0x95b5218, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#10 0x02d8f1dd in QEventLoop::processEvents (this=0xbfacc8f4, flags=...) at kernel/qeventloop.cpp:149
#11 0x02d8f421 in QEventLoop::exec (this=0xbfacc8f4, flags=...) at kernel/qeventloop.cpp:201
#12 0x02d9419d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#13 0x04b2e8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#14 0x00dccc0d in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#15 0x0804850b in ?? ()
#16 0x001f5113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#17 0x08048531 in _start ()

Possible duplicates by query: bug 288454, bug 288168, bug 287843, bug 285432, bug 284823.

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-12-09 18:36:43 UTC
Crashes right out of the event dispatcher, but if ubuntu didn't patch it, the code in that line could hardly crash.
Also it's weired that the timer update is in a waiting thread since it's (according to a code comment) required to be done for the loop where the crash occurs...

Long story short: if this is reproducable, you'll have to do some harder investigation (run it in a debugger)

You do not happen to use "bleachblit", do you?
Comment 2 Thomas Lübking 2011-12-28 03:01:59 UTC
*** Bug 289974 has been marked as a duplicate of this bug. ***
Comment 3 Martin Flöser 2012-01-19 21:12:28 UTC
this is now the second crash in the even dispatcher I opened this evening. I don't like that. Only pattern I can see is "Ubuntu".

Do you use "bleachblit"?
Comment 4 Andrew Crouthamel 2018-09-22 01:42:18 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 Andrew Crouthamel 2018-10-27 02:55:50 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!