Regression alert: Random freezing/crashing

Daniel Faust hessijames at gmail.com
Sat Dec 18 16:40:39 CET 2010


I have a similar problem, amarok crashes at random. It always crashed when I 
was raising the main window or switching to the tabbed cv or the cv was 
visible and the current track changed.

Here is a crash after a track change.

last debug output:
amarok: END__: void EngineController::slotMetaDataChanged() [Took: 0.001s] 
amarok: BEGIN: void Albums::dataUpdated(const QString&, const 
Plasma::DataEngine::Data&) 
amarok: END__: void Albums::dataUpdated(const QString&, const 
Plasma::DataEngine::Data&) [Took: 0.2s] 
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const 
Plasma::DataEngine::Data&) 
amarok:   BEGIN: void CurrentTrack::resizeCover(const QPixmap&, qreal) 
amarok:   END__: void CurrentTrack::resizeCover(const QPixmap&, qreal) [Took: 
0.01s] 
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const 
Plasma::DataEngine::Data&) [Took: 0.017s] 
amarok: BEGIN: void LabelsApplet::dataUpdated(const QString&, const 
Plasma::DataEngine::Data&) 
amarok: END__: void LabelsApplet::dataUpdated(const QString&, const 
Plasma::DataEngine::Data&) [Took: 0.059s] 
amarok: BEGIN: void LyricsApplet::dataUpdated(const QString&, const 
Plasma::DataEngine::Data&) 
amarok: END__: void LyricsApplet::dataUpdated(const QString&, const 
Plasma::DataEngine::Data&) [Took: 0.001s] 
amarok: BEGIN: void SqlRegistry::emptyCache() 
amarok:   [SqlRegistry]   albums: 96 (0) of 2195 cached 
amarok:   [SqlRegistry]  artists: 74 (-18) of 4766 cached 
amarok:   [SqlRegistry]   genres: 12 (0) of 81 cached 
amarok:   [SqlRegistry]   tracks: 145 (-19) of 15017 cached 
amarok: END__: void SqlRegistry::emptyCache() [Took: 0.003s] 
KCrash: Application 'amarok' crashing...


backtrace:
Thread 1 (Thread 0x7f56193b57a0 (LWP 7075)):
[KCrash Handler]
#5  QGraphicsSceneFindItemBspTreeVisitor::visit (this=0x1331980, 
items=0x1aefc90) at graphicsview/qgraphicsscene_bsp.cpp:79
#6  0x00007f56170589d0 in QGraphicsSceneBspTree::climbTree (this=0x1331840, 
visitor=0x1331980, rect=..., index=<value optimized out>) at 
graphicsview/qgraphicsscene_bsp.cpp:261
#7  0x00007f56170589d0 in QGraphicsSceneBspTree::climbTree (this=0x1331840, 
visitor=0x1331980, rect=..., index=<value optimized out>) at 
graphicsview/qgraphicsscene_bsp.cpp:261
#8  0x00007f56170589d0 in QGraphicsSceneBspTree::climbTree (this=0x1331840, 
visitor=0x1331980, rect=..., index=<value optimized out>) at 
graphicsview/qgraphicsscene_bsp.cpp:261
#9  0x00007f5617058a70 in QGraphicsSceneBspTree::climbTree (this=0x1331840, 
visitor=0x1331980, rect=..., index=<value optimized out>) at 
graphicsview/qgraphicsscene_bsp.cpp:252
#10 0x00007f561705911e in QGraphicsSceneBspTree::items (this=<value optimized 
out>, rect=<value optimized out>, onlyTopLevelItems=<value optimized out>) at 
graphicsview/qgraphicsscene_bsp.cpp:154
#11 0x00007f561705bb68 in QGraphicsSceneBspTreeIndexPrivate::estimateItems 
(this=0x1331790, rect=<value optimized out>, order=Qt::AscendingOrder, 
onlyTopLevelItems=<value optimized out>)
    at graphicsview/qgraphicsscenebsptreeindex.cpp:387
#12 0x00007f561705bd43 in QGraphicsSceneBspTreeIndex::estimateTopLevelItems 
(this=<value optimized out>, rect=<value optimized out>, order=<value 
optimized out>)
    at graphicsview/qgraphicsscenebsptreeindex.cpp:540
#13 0x00007f561704f92d in QGraphicsScenePrivate::drawItems (this=0x1331450, 
painter=0x7fffce43cc00, viewTransform=0x0, exposedRegion=0x1384010, 
widget=0x13845f0)
    at graphicsview/qgraphicsscene.cpp:4637
#14 0x00007f561706c8ce in QGraphicsView::paintEvent (this=0x1375200, 
event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3387
#15 0x00007f5616abfd6e in QWidget::event (this=0x1375200, 
event=0x7fffce43d550) at kernel/qwidget.cpp:8190
#16 0x00007f5616e527d6 in QFrame::event (this=0x1375200, e=0x7fffce43d550) at 
widgets/qframe.cpp:557
#17 0x00007f561706d3bb in QGraphicsView::viewportEvent (this=0x1375200, 
event=0x7fffce43d550) at graphicsview/qgraphicsview.cpp:2787
#18 0x00007f561767dfd7 in 
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () 
from /usr/lib64/libQtCore.so.4
#19 0x00007f5616a6f4a1 in QApplicationPrivate::notify_helper (this=0x7d9100, 
receiver=0x13845f0, e=0x7fffce43d550) at kernel/qapplication.cpp:4298
#20 0x00007f5616a77aca in QApplication::notify (this=<value optimized out>, 
receiver=0x13845f0, e=0x7fffce43d550) at kernel/qapplication.cpp:4185
#21 0x00007f5618d74c06 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib64/libkdeui.so.5
#22 0x00007f561767de4c in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib64/libQtCore.so.4
#23 0x00007f5616abb1b2 in sendSpontaneousEvent (this=0x1387010, 
pdev=0x112ef38, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
backingStore=0x1198ca0)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#24 QWidgetPrivate::drawWidget (this=0x1387010, pdev=0x112ef38, rgn=..., 
offset=..., flags=4, sharedPainter=0x0, backingStore=0x1198ca0) at 
kernel/qwidget.cpp:5363
#25 0x00007f5616abbd7f in QWidgetPrivate::paintSiblingsRecursive 
(this=0x1383b50, pdev=0x112ef38, siblings=<value optimized out>, index=<value 
optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x1198ca0) at kernel/qwidget.cpp:5476
#26 0x00007f5616abaf1a in QWidgetPrivate::drawWidget (this=0x1383b50, 
pdev=0x112ef38, rgn=..., offset=..., flags=<value optimized out>, 
sharedPainter=0x0, backingStore=0x1198ca0)
    at kernel/qwidget.cpp:5412
#27 0x00007f5616abbd7f in QWidgetPrivate::paintSiblingsRecursive 
(this=0x1330f10, pdev=0x112ef38, siblings=<value optimized out>, index=<value 
optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x1198ca0) at kernel/qwidget.cpp:5476
#28 0x00007f5616abaf1a in QWidgetPrivate::drawWidget (this=0x1330f10, 
pdev=0x112ef38, rgn=..., offset=..., flags=<value optimized out>, 
sharedPainter=0x0, backingStore=0x1198ca0)
    at kernel/qwidget.cpp:5412
#29 0x00007f5616abbd7f in QWidgetPrivate::paintSiblingsRecursive 
(this=0x103eb10, pdev=0x112ef38, siblings=<value optimized out>, index=<value 
optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x1198ca0) at kernel/qwidget.cpp:5476
#30 0x00007f5616abaf1a in QWidgetPrivate::drawWidget (this=0x103eb10, 
pdev=0x112ef38, rgn=..., offset=..., flags=<value optimized out>, 
sharedPainter=0x0, backingStore=0x1198ca0)
    at kernel/qwidget.cpp:5412
#31 0x00007f5616abbd7f in QWidgetPrivate::paintSiblingsRecursive 
(this=0xd70f60, pdev=0x112ef38, siblings=<value optimized out>, index=<value 
optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x1198ca0) at kernel/qwidget.cpp:5476
#32 0x00007f5616abaf1a in QWidgetPrivate::drawWidget (this=0xd70f60, 
pdev=0x112ef38, rgn=..., offset=..., flags=<value optimized out>, 
sharedPainter=0x0, backingStore=0x1198ca0)
    at kernel/qwidget.cpp:5412
#33 0x00007f5616c6f231 in QWidgetBackingStore::sync (this=0x1198ca0) at 
painting/qbackingstore.cpp:1300
#34 0x00007f5616ab1940 in QWidgetPrivate::syncBackingStore (this=0xd70f60) at 
kernel/qwidget.cpp:1688
#35 0x00007f5616ac0272 in QWidget::event (this=0xd70ce0, event=0x2196060) at 
kernel/qwidget.cpp:8337
#36 0x00007f5616e6ba6b in QMainWindow::event (this=0xd70ce0, event=0x2196060) 
at widgets/qmainwindow.cpp:1414
#37 0x00007f5616a6f4d4 in QApplicationPrivate::notify_helper (this=0x7d9100, 
receiver=0xd70ce0, e=0x2196060) at kernel/qapplication.cpp:4302
#38 0x00007f5616a77aca in QApplication::notify (this=<value optimized out>, 
receiver=0xd70ce0, e=0x2196060) at kernel/qapplication.cpp:4185
#39 0x00007f5618d74c06 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib64/libkdeui.so.5
#40 0x00007f561767de4c in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib64/libQtCore.so.4
#41 0x00007f56176815ba in QCoreApplicationPrivate::sendPostedEvents(QObject*, 
int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#42 0x00007f561704751a in dispatchPendingUpdateRequests (this=0x1331450) at 
../../src/gui/graphicsview/qgraphicsview_p.h:184
#43 QGraphicsScenePrivate::_q_processDirtyItems (this=0x1331450) at 
graphicsview/qgraphicsscene.cpp:509
#44 0x00007f561704792a in QGraphicsScene::qt_metacall (this=0x1330a90, 
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x1cd8b90) at .moc/release-
shared/moc_qgraphicsscene.cpp:130
#45 0x00007f5612c31495 in Plasma::Corona::qt_metacall (this=0x1330a90, 
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1cd8b90)
    at /usr/src/debug/kdelibs-4.4.4/build/plasma/corona.moc:107
#46 0x00007f5617fcf2b1 in Context::ContextScene::qt_metacall (this=0x1330a90, 
_c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x1cd8b90)
    at /home/daniel/Entwicklung/Projekte/amarok/build/src/ContextScene.moc:70
#47 0x00007f561768f509 in QObject::event(QEvent*) () from 
/usr/lib64/libQtCore.so.4
#48 0x00007f5617053830 in QGraphicsScene::event (this=0x1330a90, 
event=0x229ff50) at graphicsview/qgraphicsscene.cpp:3509
#49 0x00007f5616a6f4d4 in QApplicationPrivate::notify_helper (this=0x7d9100, 
receiver=0x1330a90, e=0x229ff50) at kernel/qapplication.cpp:4302
#50 0x00007f5616a77aca in QApplication::notify (this=<value optimized out>, 
receiver=0x1330a90, e=0x229ff50) at kernel/qapplication.cpp:4185
#51 0x00007f5618d74c06 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib64/libkdeui.so.5
#52 0x00007f561767de4c in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib64/libQtCore.so.4
#53 0x00007f56176815ba in QCoreApplicationPrivate::sendPostedEvents(QObject*, 
int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#54 0x00007f56176a6173 in ?? () from /usr/lib64/libQtCore.so.4
#55 0x00007f560f06ca93 in g_main_context_dispatch () from 
/usr/lib64/libglib-2.0.so.0
#56 0x00007f560f06d270 in ?? () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f560f06d510 in g_main_context_iteration () from 
/usr/lib64/libglib-2.0.so.0
#58 0x00007f56176a667f in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib64/libQtCore.so.4
#59 0x00007f5616b1014e in QGuiEventDispatcherGlib::processEvents (this=<value 
optimized out>, flags=<value optimized out>) at 
kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f561767d292 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib64/libQtCore.so.4
#61 0x00007f561767d495 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib64/libQtCore.so.4
#62 0x00007f561768188b in QCoreApplication::exec() () from 
/usr/lib64/libQtCore.so.4
#63 0x00000000004084ea in main (argc=2, argv=0x7fffce442618) at 
/home/daniel/Entwicklung/Projekte/amarok/amarok/src/main.cpp:261


Am Freitag, 17. Dezember 2010 10:45:37 schrieben Sie:
> Ahoy,
> 
> several users (including me) have seen an issue in Git Master:
> 
> Amarok would randomly freeze, or crash completely, while doing normal
> playback. For me, the debug output always indicates that it happens
> inside one of our applets. The error message is very bizarre.
> 
> Something like: "QPixmap cannot be used without initializing
> QApplication. Fatal Error."
> 
> Also, I'm getting tons of warnings from QPixmapCache. Possibly related?
> 
> 
> If anyone can reproduce this, please send debug output and backtrace here,
> thanks!


More information about the Amarok-devel mailing list