Crash in context view
Mark Kretschmann
kretschmann at kde.org
Tue Jun 26 12:08:40 CEST 2007
Hi,
got this crash with latest trunk, after starting to play a track from
the playlist. Looks to me like the QGraphicsItem we're dereferencing
here has already been deleted. This is the line:
yposition = m_contextBoxes.last()->sceneBoundingRect().bottom() + BOX_PADDING;
BT:
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7deb0db in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb77a1211 in Amarok::Crash::crashHandler () at
/home/kdedev/kde/src/multimedia/amarok/src/amarokcore/crashhandler.cpp:260
#3 <signal handler called>
#4 0xb65e2f18 in QGraphicsItem::sceneBoundingRect (this=0x838a438) at
graphicsview/qgraphicsitem.cpp:2087
#5 0xb77d5dbe in ContextView::addContextBox (this=0x8383f50,
newBox=0x88a26e8, index=-1, fadeIn=false, parent=0x0)
at /home/kdedev/kde/src/multimedia/amarok/src/contextview/contextview.cpp:374
#6 0xb77d6fb7 in ContextView::showCurrentTrack (this=0x8383f50)
at /home/kdedev/kde/src/multimedia/amarok/src/contextview/contextview.cpp:459
#7 0xb77d7bc0 in ContextView::engineStateChanged (this=0x8383f50,
state=Engine::Playing, oldState=Engine::Empty)
at /home/kdedev/kde/src/multimedia/amarok/src/contextview/contextview.cpp:86
#8 0xb7905d4c in EngineSubject::stateChangedNotify (this=0xb7b0dfe8,
state=Engine::Playing)
at /home/kdedev/kde/src/multimedia/amarok/src/engineobserver.cpp:68
#9 0xb7900b6d in EngineController::slotStateChanged (this=0xb7b0dfe0,
newState=Engine::Playing)
at /home/kdedev/kde/src/multimedia/amarok/src/enginecontroller.cpp:771
#10 0xb7904055 in EngineController::qt_metacall (this=0xb7b0dfe0,
_c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbfcc857c)
at /home/kdedev/kde/build/multimedia/amarok/src/enginecontroller.moc:161
#11 0xb7efe8c4 in QMetaObject::activate (sender=0x8977128,
from_signal_index=8, to_signal_index=8, argv=0xbfcc857c)
at kernel/qobject.cpp:3063
#12 0xb7efed39 in QMetaObject::activate (sender=0x8977128,
m=0xb7af5434, local_signal_index=4, argv=0xbfcc857c) at
kernel/qobject.cpp:3125
#13 0xb78ffa14 in Engine::Base::stateChanged (this=0x8977128,
_t1=Engine::Playing)
at /home/kdedev/kde/build/multimedia/amarok/src/enginebase.moc:118
#14 0xb321acd7 in XineEngine::play (this=0x8977128, offset=0)
at /home/kdedev/kde/src/multimedia/amarok/src/engine/xine/xine-engine.cpp:300
--
Mark
More information about the Amarok-devel
mailing list