Crash in context view

Seb Ruiz me at sebruiz.net
Wed Jun 27 01:00:25 CEST 2007


On 27/06/07, Leo Franchi <lfranchi at gmail.com> wrote:
>
>
> On 6/26/07, Mark Kretschmann <kretschmann at kde.org> wrote:
> > 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;
>
> i'm getting it too, but it's not because
> m_contextBoxes.last() is an invalid
> pointer. it seems to be some problem in
> the sceneBoundingRect() call (separating
> m_contextBoxes.last() in a temporary instantiation is fine). sebr, any idea?
>
> leo

Not from looking at this backtrace. Mark, is there any way to
reproduce this crash?


>
>
> > 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
> > _______________________________________________
> > Amarok-devel mailing list
> > Amarok-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/amarok-devel
> >
>
>
>
> --
> ______________________________________________________
> Leo Franchi                    angel666 at myrealbox.com
> 665 Channing Ave         lfranchi at gmail.com
> Palo Alto                        cell: (650) 704 3680
> CA, USA                        home: (650) 329 0125
> Junior,
> Palo Alto High School,   http://euthydemus.homelinux.net
> 65 Embarcadero Road,
> Palo Alto,
> CA, USA
>
> GPG Key Fingerprint: 713F 1C92 11E3 4696 D067  B681 72D5 EAF0 1499 8B03
> Key ID: 14998B03
> Public key: http://euthydemus.homelinux.net/pub_key.txt
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
>


-- 
http://www.sebruiz.net/


More information about the Amarok-devel mailing list