Bug 313545

Summary: Window manager crashed
Product: [Unmaintained] kdelibs Reporter: Peter Andreasen <noesgaard>
Component: kshareddatacacheAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: h, mpyne
Priority: NOR    
Version: 4.9.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Andreasen 2013-01-20 08:34:54 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.9.5
Qt Version: 4.8.4
Operating System: Linux 3.7.2-201.fc18.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
KWin seems to crash at random. Newly installed Fedora 18 on a dual screen with Nvidia card, nuveau driver.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma desktop-skal (plasma-desktop), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f886f591880 (LWP 1320))]

Thread 4 (Thread 0x7f8859d3d700 (LWP 1324)):
#0  0x000000312ea0b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003142f868c7 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x0000003142f868f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x000000312ea07d15 in start_thread () from /lib64/libpthread.so.0
#4  0x000000312e6f246d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f87d70ff700 (LWP 1325)):
#0  0x000000312ea0e12d in read () from /lib64/libpthread.so.0
#1  0x00000031302840df in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00000031302478d4 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x0000003130247ce2 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#4  0x0000003130247e64 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00000031353a60f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00000031353767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003135376a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#8  0x0000003135278950 in QThread::exec() () from /lib64/libQtCore.so.4
#9  0x000000313535700f in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#10 0x000000313527b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#11 0x000000312ea07d15 in start_thread () from /lib64/libpthread.so.0
#12 0x000000312e6f246d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f87c6ea0700 (LWP 1330)):
#0  0x000000312ea09c12 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x0000003130284da1 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#2  0x00000031302475e3 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#3  0x0000003130247c6b in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#4  0x0000003130247e64 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00000031353a60f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00000031353767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003135376a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#8  0x0000003135278950 in QThread::exec() () from /lib64/libQtCore.so.4
#9  0x000000313527b92c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#10 0x000000312ea07d15 in start_thread () from /lib64/libpthread.so.0
#11 0x000000312e6f246d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f886f591880 (LWP 1320)):
[KCrash Handler]
#5  0x000000313c431f9d in KSharedDataCache::Private::CacheLocker::cautiousLock() () from /lib64/libkdecore.so.5
#6  0x000000313c4325f0 in KSharedDataCache::Private::CacheLocker::CacheLocker(KSharedDataCache::Private const*) () from /lib64/libkdecore.so.5
#7  0x000000313c42a61e in KSharedDataCache::find(QString const&, QByteArray*) const () from /lib64/libkdecore.so.5
#8  0x000000313e1f81b9 in KIconLoaderPrivate::findCachedPixmapWithPath(QString const&, QPixmap&, QString&) () from /lib64/libkdeui.so.5
#9  0x000000313e1fc82e in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /lib64/libkdeui.so.5
#10 0x000000313e1f47af in KIconEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State) () from /lib64/libkdeui.so.5
#11 0x0000003136e6d135 in QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const () from /lib64/libQtGui.so.4
#12 0x00000031533ee858 in Plasma::IconWidgetPrivate::decoration(QStyleOptionGraphicsItem const*, bool, bool) () from /lib64/libplasma.so.3
#13 0x00000031533f3571 in Plasma::IconWidget::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () from /lib64/libplasma.so.3
#14 0x00000031373a8e59 in _q_paintItem(QGraphicsItem*, QPainter*, QStyleOptionGraphicsItem const*, QWidget*, bool, bool) () from /lib64/libQtGui.so.4
#15 0x00000031373a9152 in _q_paintIntoCache(QPixmap*, QGraphicsItem*, QRegion const&, QTransform const&, QFlags<QPainter::RenderHint>, QStyleOptionGraphicsItem const*, bool) () from /lib64/libQtGui.so.4
#16 0x00000031373bd266 in QGraphicsScenePrivate::drawItemHelper(QGraphicsItem*, QPainter*, QStyleOptionGraphicsItem const*, QWidget*, bool) () from /lib64/libQtGui.so.4
#17 0x00000031373be2c8 in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQtGui.so.4
#18 0x00000031373be985 in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQtGui.so.4
#19 0x00000031373bde55 in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQtGui.so.4
#20 0x00000031373be985 in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQtGui.so.4
#21 0x00000031373bde55 in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQtGui.so.4
#22 0x00000031373be985 in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQtGui.so.4
#23 0x00000031373bf45e in QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) () from /lib64/libQtGui.so.4
#24 0x00000031373db5f8 in QGraphicsView::paintEvent(QPaintEvent*) () from /lib64/libQtGui.so.4
#25 0x0000003136e19efe in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#26 0x00000031371c4c06 in QFrame::event(QEvent*) () from /lib64/libQtGui.so.4
#27 0x00000031373dc72b in QGraphicsView::viewportEvent(QEvent*) () from /lib64/libQtGui.so.4
#28 0x0000003135377bf6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#29 0x0000003136dca59c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#30 0x0000003136dcea4a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#31 0x000000313e246916 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#32 0x0000003135377a8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#33 0x0000003136e15ac4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQtGui.so.4
#34 0x0000003136e165bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQtGui.so.4
#35 0x0000003136e15655 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQtGui.so.4
#36 0x0000003136e165bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQtGui.so.4
#37 0x0000003136e15655 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQtGui.so.4
#38 0x0000003136fdfde8 in QWidgetBackingStore::sync() () from /lib64/libQtGui.so.4
#39 0x0000003136fe01ae in QWidgetBackingStore::sync(QWidget*, QRegion const&) () from /lib64/libQtGui.so.4
#40 0x0000003136e43dba in QETWidget::translatePaintEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#41 0x0000003136e44d05 in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#42 0x0000003136e6aa5c in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#43 0x0000003130247a75 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#44 0x0000003130247da8 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#45 0x0000003130247e64 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#46 0x00000031353a60d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#47 0x0000003136e6a73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#48 0x00000031353767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#49 0x0000003135376a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#50 0x000000313537b858 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#51 0x000000314e83b1e5 in kdemain () from /lib64/libkdeinit4_plasma-desktop.so
#52 0x000000312e621a05 in __libc_start_main () from /lib64/libc.so.6
#53 0x0000000000400971 in _start ()

Possible duplicates by query: bug 310111, bug 309824, bug 308099, bug 307328, bug 284770.

Reported using DrKonqi
Comment 1 Peter Andreasen 2013-01-20 08:37:44 UTC
The program then restarts and everything looks normal again.
Comment 2 Peter Andreasen 2013-01-21 06:52:48 UTC
Update: After googling the problem I found a suggestion that an old ~/.config/Trolltech.conf could cause this. Since this is an upgrade Fedora 14 -> Fedora 18, I removed that file, and the crash has not happened since.
Comment 3 Thomas Lübking 2013-01-24 17:21:10 UTC
*** Bug 313839 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2016-09-06 12:15:46 UTC
Still sometimes happens (2016-09-06).

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