Bug 311110

Summary: Segfault in KWin when changing system-setting, Framesize from normal to large.
Product: [Plasma] kwin Reporter: beckcb <beckcb>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.9.80   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description beckcb 2012-12-03 19:55:18 UTC
Application: kwin (4.9.80)
KDE Platform Version: 4.9.80
Qt Version: 4.8.3
Operating System: Linux 3.7.0-4-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Changed the framesize from normal to large in system-setting..

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f93e8e3a7c0 (LWP 2275))]

Thread 3 (Thread 0x7f93cd20d700 (LWP 2278)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:168
#1  0x00007f93e4f59cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f93e4f59d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f93e44fa734 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f93dc978f9f in start_thread (arg=0x7f93cd20d700) at pthread_create.c:311
#5  0x00007f93e86620cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f93bf944700 (LWP 2539)):
#0  0x00007fffb41ff847 in clock_gettime ()
#1  0x00007f93dd5aa32d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f93e39189c4 in do_gettime (frac=0x7f93bf943b28, sec=0x7f93bf943b20) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f93e39ee41d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f93b40011a8) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f93e39ee763 in QTimerInfoList::timerWait (this=this@entry=0x7f93b40011a8, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f93e39f05f4 in QEventDispatcherUNIX::processEvents (this=0x7f93b4000920, flags=...) at kernel/qeventdispatcher_unix.cpp:913
#7  0x00007f93e39be2bf in QEventLoop::processEvents (this=this@entry=0x7f93bf943cd0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f93e39be548 in QEventLoop::exec (this=0x7f93bf943cd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f93e38bfb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f93e399e9af in QInotifyFileSystemWatcherEngine::run (this=0x1895fb0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f93e38c2aec in QThreadPrivate::start (arg=0x1895fb0) at thread/qthread_unix.cpp:338
#12 0x00007f93e44fa734 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007f93dc978f9f in start_thread (arg=0x7f93bf944700) at pthread_create.c:311
#14 0x00007f93e86620cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f93e8e3a7c0 (LWP 2275)):
[KCrash Handler]
#6  0x00007f93e75e3dd4 in QDeclarativeItem::~QDeclarativeItem (this=0x187f510, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f93e75a76ee in ~QDeclarativeElement (this=0x187f510, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x187f510, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f93e334bfd1 in QGraphicsScene::clear (this=this@entry=0xe81680) at graphicsview/qgraphicsscene.cpp:2442
#10 0x00007f93e334c055 in QGraphicsScene::~QGraphicsScene (this=0xe81680, __in_chrg=<optimized out>) at graphicsview/qgraphicsscene.cpp:1649
#11 0x00007f93e334c0c9 in QGraphicsScene::~QGraphicsScene (this=0xe81680, __in_chrg=<optimized out>) at graphicsview/qgraphicsscene.cpp:1654
#12 0x00007f93e39d2182 in QObjectPrivate::deleteChildren (this=this@entry=0x1871510) at kernel/qobject.cpp:1908
#13 0x00007f93e39d5fc6 in QObject::~QObject (this=0x1cb03b0, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#14 0x00007f93cd22caa9 in ?? () from /usr/lib/kde4/kwin3_aurorae.so
#15 0x00007f93e89842cb in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#16 0x00007f93e8984fde in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#17 0x00007f93e896e22e in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#18 0x00007f93e897353a in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#19 0x00007f93e39d4f5f in QMetaObject::activate (sender=0xdd21c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#20 0x00007f93e39d426c in QObject::event (this=0xdd21c0, e=<optimized out>) at kernel/qobject.cpp:1157
#21 0x00007f93e2d66e9c in QApplicationPrivate::notify_helper (this=this@entry=0xcab8d0, receiver=receiver@entry=0xdd21c0, e=e@entry=0x7fffb408e950) at kernel/qapplication.cpp:4562
#22 0x00007f93e2d6b30a in QApplication::notify (this=0x7fffb408ef90, receiver=0xdd21c0, e=0x7fffb408e950) at kernel/qapplication.cpp:4423
#23 0x00007f93e814d386 in KApplication::notify (this=0x7fffb408ef90, receiver=0xdd21c0, event=0x7fffb408e950) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f93e39bf56e in QCoreApplication::notifyInternal (this=0x7fffb408ef90, receiver=0xdd21c0, event=0x7fffb408e950) at kernel/qcoreapplication.cpp:915
#25 0x00007f93e39f0462 in sendEvent (event=0x7fffb408e950, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QTimerInfoList::activateTimers (this=0xcac488) at kernel/qeventdispatcher_unix.cpp:611
#27 0x00007f93e39f04c0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0xc0aad0) at kernel/qeventdispatcher_unix.cpp:868
#28 0x00007f93e39f0618 in QEventDispatcherUNIX::processEvents (this=0xc0aad0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#29 0x00007f93e2e0ca3f in QEventDispatcherX11::processEvents (this=0xc0aad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#30 0x00007f93e39be2bf in QEventLoop::processEvents (this=this@entry=0x7fffb408eca0, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f93e39be548 in QEventLoop::exec (this=0x7fffb408eca0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f93e39c3708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#33 0x00007f93e8993ea4 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#34 0x00007f93e858cc15 in __libc_start_main (main=0x4006d0, argc=3, ubp_av=0x7fffb408f0d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb408f0c8) at libc-start.c:227
#35 0x0000000000400701 in _start ()

This bug may be a duplicate of or related to bug 304617.

Possible duplicates by query: bug 311018, bug 304617.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-12-03 20:18:54 UTC
Please check the dupe, esp. if you can try the patch.

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