Bug 268810

Summary: Kwin crashes while switching windows
Product: [Plasma] kwin Reporter: akifo
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description akifo 2011-03-18 11:07:17 UTC
Application: kwin (4.5.1 (KDE 4.5.1))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-27-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

Crashes not often, only when I switch between the applications. Plasma panel goes down too.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xaddbab70 (LWP 1720)):
#0  0x00692e36 in clock_gettime () from /lib/librt.so.1
#1  0x0885450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x0892b6e5 in QTimerInfoList::updateCurrentTime (this=0x92bde68) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0892b72a in QTimerInfoList::timerWait (this=0x92bde68, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0892ccab in QEventDispatcherUNIX::processEvents (this=0x9258bd8, flags=...) at kernel/qeventdispatcher_unix.cpp:906
#6  0x088f9609 in QEventLoop::processEvents (this=0xaddba270, flags=) at kernel/qeventloop.cpp:149
#7  0x088f9a8a in QEventLoop::exec (this=0xaddba270, flags=...) at kernel/qeventloop.cpp:201
#8  0x087f5b7e in QThread::exec (this=0x9268310) at thread/qthread.cpp:490
#9  0x088d835b in QInotifyFileSystemWatcherEngine::run (this=0x9268310) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x087f8df9 in QThreadPrivate::start (arg=0x9268310) at thread/qthread_unix.cpp:266
#11 0x004dfcc9 in start_thread () from /lib/libpthread.so.0
#12 0x0023869e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7773730 (LWP 1717)):
[KCrash Handler]
#7  Aurorae::AuroraeScene::isActive (this=0x97c9f28) at ../../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:588
#8  0x041cc023 in Aurorae::AuroraeTab::qt_metacall (this=0x97c9f28, _c=152315756, _id=24, _a=0xbfafc3ac) at moc_auroraetab.cpp:87
#9  0x089008ca in QMetaObject::metacall (object=0x97c9f28, cl=3215967148, idx=24, argv=0xbfafc3ac) at kernel/qmetaobject.cpp:237
#10 0x089136ad in QMetaObject::activate (sender=0x913f928, m=0x41e3230, local_signal_index=20, argv=0x0) at kernel/qobject.cpp:3280
#11 0x041cb817 in Aurorae::AuroraeScene::activeChanged (this=0x913f928) at moc_auroraescene.cpp:308
#12 0x041d3422 in Aurorae::AuroraeScene::setActive (this=0x913f928, active=false, animate=true) at ../../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:607
#13 0x041cd9ea in Aurorae::AuroraeClient::activeChange (this=0x9927d38) at ../../../../../kwin/clients/aurorae/src/aurorae.cpp:210
#14 0x00edb679 in KWin::Client::setActive (this=0x98de380, act=false) at ../../kwin/activation.cpp:902
#15 0x00edb365 in KWin::Workspace::setActiveClient (this=0xb4b04c58, c=0x9878d58) at ../../kwin/activation.cpp:236
#16 0x00edb5ae in KWin::Client::setActive (this=0x9878d58, act=true) at ../../kwin/activation.cpp:882
#17 0x00ec4e95 in KWin::Client::focusInEvent (this=0x9878d58, e=0xbfafcadc) at ../../kwin/events.cpp:1526
#18 0x00ec7cc6 in KWin::Client::windowEvent (this=0x9878d58, e=0xbfafcadc) at ../../kwin/events.cpp:715
#19 0x00ec87e4 in KWin::Workspace::workspaceEvent (this=0xb4b04c58, e=0xbfafcadc) at ../../kwin/events.cpp:307
#20 0x00e9fb32 in KWin::Application::x11EventFilter (this=0xbfafccc4, e=0xbfafcadc) at ../../kwin/main.cpp:363
#21 0x01410eb0 in qt_x11EventFilter (ev=0xbfafcadc) at kernel/qapplication_x11.cpp:408
#22 0x01421ab0 in QApplication::x11ProcessEvent (this=0xbfafccc4, event=0xbfafcadc) at kernel/qapplication_x11.cpp:3248
#23 0x01452fc7 in QEventDispatcherX11::processEvents (this=0x9064cd8, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#24 0x088f9609 in QEventLoop::processEvents (this=0xbfafcc14, flags=) at kernel/qeventloop.cpp:149
#25 0x088f9a8a in QEventLoop::exec (this=0xbfafcc14, flags=...) at kernel/qeventloop.cpp:201
#26 0x088fe00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#27 0x0138ee07 in QApplication::exec () at kernel/qapplication.cpp:3672
#28 0x00ea1c54 in kdemain (argc=1, argv=0xbfafcf24) at ../../kwin/main.cpp:531
#29 0x080485ab in main (argc=1, argv=0xbfafcf24) at kwin_dummy.cpp:3

Possible duplicates by query: bug 254858, bug 242791.

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-03-18 16:00:59 UTC
bug #242791 is different from this and its dupe since there's a null pointer access and here's (likely) a dangeling pointer

*** This bug has been marked as a duplicate of bug 254858 ***