Bug 192231 - crash when changing song with dynamic playlist
Summary: crash when changing song with dynamic playlist
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.2-SVN
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-10 15:03 UTC by Mikko C.
Modified: 2009-12-09 11:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko C. 2009-05-10 15:03:31 UTC
Version:           2.1-SVN (using Devel)
OS:                Linux
Installed from:    Compiled sources

It's happened twice already, always when a song was just finished playing.
I'm sure it didn't happen before this commit:
http://websvn.kde.org/?view=rev&sortby=date&revision=963325


amarok: BEGIN: void EngineController::slotAboutToFinish() 
amarok:   [EngineController] Track finished completely, updating statistics 
amarok: BEGIN: void Playlist::Actions::play(quint64, bool)                  
amarok: END__: void Playlist::Actions::play(quint64, bool) - Took 0.00014s  
amarok: END__: void EngineController::slotAboutToFinish() - Took 0.00046s   
amarok: BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) 
amarok:   [EngineController] Using gain of 0 with relative peak of 0                  
amarok: BEGIN: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State)   
amarok: BEGIN: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State) 
amarok:        NEWSTATE:  2 OLDSTATE:  2                                                              
amarok: END__: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00018s 
amarok: BEGIN: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State)                              
amarok:       [MainWindow] Phonon state:  2                                                                           
amarok: END__: virtual void MainWindow::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00028s              
amarok: BEGIN: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State)                    
amarok: BEGIN: virtual void LyricsEngine::message(const Context::ContextState&)                                       
amarok: BEGIN: void LyricsEngine::update()                                                                            
amarok: BEGIN: void ScriptManager::notifyFetchLyrics(const QString&, const QString&)                                  
amarok:              SCRIPT "Lyricwiki" :  "request URL: http://lyricwiki.org/api.php?func=getSong&artist=Tripping Daisy&song=Rocketpop&fmt=xml"                                                                                                          
amarok: BEGIN: static QScriptValue Downloader::init(QScriptContext*, QScriptEngine*, bool)                                   
amarok: END__: static QScriptValue Downloader::init(QScriptContext*, QScriptEngine*, bool) - Took 0.00033s                   
amarok: END__: void ScriptManager::notifyFetchLyrics(const QString&, const QString&) - Took 0.0036s                          
amarok: END__: void LyricsEngine::update() - Took 0.0046s                                                                    
amarok: END__: virtual void LyricsEngine::message(const Context::ContextState&) - Took 0.0047s                               
amarok: BEGIN: virtual void CurrentEngine::message(const Context::ContextState&)                                             
amarok: BEGIN: void CurrentEngine::update()
amarok: END__: void CurrentEngine::update() - Took 0.026s
amarok: END__: virtual void CurrentEngine::message(const Context::ContextState&) - Took 0.026s
amarok: END__: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State) - Took 0.031s
amarok: BEGIN: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State)
amarok: BEGIN: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr)
amarok: BEGIN: void OSDWidget::show(const QString&, QImage)
amarok: END__: void OSDWidget::show(const QString&, QImage) - Took 0.00039s
amarok: END__: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) - Took 0.0025s
amarok: END__: virtual void Amarok::OSD::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0029s
amarok: BEGIN: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State)
amarok: END__: virtual void ProgressWidget::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00035s
amarok: BEGIN: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State)
amarok:        PlayingState: clear text
amarok: END__: virtual void StatusBar::engineStateChanged(Phonon::State, Phonon::State) - Took 0.0012s
amarok:      returning bookmarkcurrenttrack action
amarok:      returning bookmarkcurrenttrack action
amarok: END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.069s
amarok: BEGIN: void Playlist::DynamicTrackNavigator::appendUpcoming()
amarok:     [BiasedPlaylist] Requesting  1  tracks.
amarok:     [BiasedPlaylist] Returning  1  tracks.
amarok: BEGIN: void Playlist::DynamicTrackNavigator::receiveTracks(Meta::TrackList)
amarok: BEGIN: void Playlist::Controller::insertOptioned(Meta::TrackList, int)
amarok: BEGIN: void Playlist::Controller::insertionHelper(int, Meta::TrackList&)
amarok: BEGIN: void Playlist::PrettyListView::itemsAdded(int)
amarok:             [Playlist::PrettyListView] index has row:  16
ASSERT failure in QVector<T>::at: "index out of range", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 329
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = amarok path = <unknown> pid = 9091
sock_file=/home/mikko/.kdelive/socket-gentoo/kdeinit4__0


Thread 1 (Thread 0x7f063e8fc760 (LWP 9091)):
[KCrash Handler]
#5  0x00007f063b47b205 in raise () from /lib/libc.so.6
#6  0x00007f063b47c723 in abort () from /lib/libc.so.6
#7  0x00007f063c1b3015 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2017
#8  0x00007f063c1b3130 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2216
#9  0x00007f063d2fe0fb in QStaticListViewBase::indexToListViewItem (this=0x2bfa630, index=@0x7fff46937ad0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:329
#10 0x00007f063d2fe332 in QListViewPrivate::indexToListViewItem (this=0x2bf7de0, index=@0x7fff46937ad0) at itemviews/qlistview.cpp:2029
#11 0x00007f063d2fe7b3 in QListView::rectForIndex (this=0x2bf7d60, index=@0x7fff46937ad0) at itemviews/qlistview.cpp:1433
#12 0x00007f063d2fe89c in QListView::visualRect (this=0x2383, index=@0x2383) at itemviews/qlistview.cpp:576
#13 0x00007f063d2ff553 in QListView::scrollTo (this=0x2bf7d60, index=@0x7fff46937ad0, hint=QAbstractItemView::PositionAtCenter) at itemviews/qlistview.cpp:589
#14 0x00007f063dbd0343 in Playlist::PrettyListView::itemsAdded (this=0x2bf7d60, firstRow=16) at /home/mikko/amarok/src/playlist/view/listview/PrettyListView.cpp:678
#15 0x00007f063dbd31de in Playlist::PrettyListView::qt_metacall (this=0x2bf7d60, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fff46937c80) at /home/mikko/amarok/build/src/PrettyListView.moc:117
#16 0x00007f063c2b1d65 in QMetaObject::activate (sender=0x245ae70, from_signal_index=<value optimized out>, to_signal_index=24, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#17 0x00007f063db355a6 in Playlist::Model::itemsAdded (this=0x245ae70, _t1=16) at /home/mikko/amarok/build/src/moc_PlaylistModel.cpp:125
#18 0x00007f063dba4988 in Playlist::Model::insertTracksCommand (this=0x245ae70, cmds=@0x3fc4960) at /home/mikko/amarok/src/playlist/PlaylistModel.cpp:772
#19 0x00007f063dbae87f in Playlist::InsertTracksCmd::redo (this=0x3fc4950) at /home/mikko/amarok/src/playlist/UndoCommands.cpp:38
#20 0x00007f063d3ff0d8 in QUndoStack::push (this=0x2b5f920, cmd=0x3fc4950) at util/qundostack.cpp:543
#21 0x00007f063db9ae02 in Playlist::Controller::insertionHelper (this=0x2b655c0, row=17, tl=@0x7fff469382b0) at /home/mikko/amarok/src/playlist/PlaylistController.cpp:521
#22 0x00007f063db9c648 in Playlist::Controller::insertOptioned (this=0x2b655c0, list=
        {{p = {static shared_null = {ref = {_q_value = 58417}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff469382b0}, d = 0x7fff469382b0}}, options=1)
    at /home/mikko/amarok/src/playlist/PlaylistController.cpp:128
#23 0x00007f063dbb9055 in Playlist::DynamicTrackNavigator::receiveTracks (this=0x2056e00, tracks=
        {{p = {static shared_null = {ref = {_q_value = 58417}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff469382f0}, d = 0x7fff469382f0}})
    at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:52
#24 0x00007f063db38395 in Playlist::DynamicTrackNavigator::qt_metacall (this=0x2056e00, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff46938400)
    at /home/mikko/amarok/build/src/moc_DynamicTrackNavigator.cpp:74
#25 0x00007f063c2b1d65 in QMetaObject::activate (sender=0x2fcb540, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#26 0x00007f063db350c1 in Dynamic::DynamicPlaylist::tracksReady (this=0x2fcb540, _t1=
        {{p = {static shared_null = {ref = {_q_value = 58417}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff46938450}, d = 0x7fff46938450}})
    at /home/mikko/amarok/build/src/moc_DynamicPlaylist.cpp:85
#27 0x00007f063dc0c773 in Dynamic::BiasedPlaylist::handleRequest (this=0x2fcb540) at /home/mikko/amarok/src/dynamic/BiasedPlaylist.cpp:216
#28 0x00007f063dc0c9c4 in Dynamic::BiasedPlaylist::requestTracks (this=0x2fcb540, n=1) at /home/mikko/amarok/src/dynamic/BiasedPlaylist.cpp:166
#29 0x00007f063dbb8eb9 in Playlist::DynamicTrackNavigator::appendUpcoming (this=0x2056e00) at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:65
#30 0x00007f063dbb9007 in Playlist::DynamicTrackNavigator::trackChanged (this=0x2056e00) at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:100
#31 0x00007f063db383a9 in Playlist::DynamicTrackNavigator::qt_metacall (this=0x2056e00, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff46938690)
    at /home/mikko/amarok/build/src/moc_DynamicTrackNavigator.cpp:75
#32 0x00007f063c2b1d65 in QMetaObject::activate (sender=0x245ae70, from_signal_index=<value optimized out>, to_signal_index=22, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#33 0x00007f063db3562b in Playlist::Model::activeTrackChanged (this=0x245ae70, _t1=6963936133596159034) at /home/mikko/amarok/build/src/moc_PlaylistModel.cpp:111
#34 0x00007f063dba533a in Playlist::Model::setActiveRow (this=0x245ae70, row=6) at /home/mikko/amarok/src/playlist/PlaylistModel.cpp:501
#35 0x00007f063db995f6 in Playlist::Model::setActiveId (this=0x245ae70, id=6963936133596159034) at /home/mikko/amarok/src/playlist/PlaylistModel.h:135
#36 0x00007f063db97e01 in Playlist::Actions::engineNewTrackPlaying (this=0x2aa8260) at /home/mikko/amarok/src/playlist/PlaylistActions.cpp:332
#37 0x00007f063dcef377 in EngineSubject::newTrackPlaying (this=0x2173f70) at /home/mikko/amarok/src/EngineObserver.cpp:175
#38 0x00007f063dcea910 in EngineController::slotNewTrackPlaying (this=0x2173f60, source=@0x21783a0) at /home/mikko/amarok/src/EngineController.cpp:719
#39 0x00007f063dcedbbb in EngineController::qt_metacall (this=0x2173f60, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fff46938a90) at /home/mikko/amarok/build/src/EngineController.moc:159
#40 0x00007f063c2b1d65 in QMetaObject::activate (sender=0x2173e40, from_signal_index=<value optimized out>, to_signal_index=11, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#41 0x00007f063821bf05 in Phonon::MediaObject::currentSourceChanged () from /usr/lib/libphonon.so.4
#42 0x00007f063821d7e3 in Phonon::MediaObjectPrivate::_k_currentSourceChanged () from /usr/lib/libphonon.so.4
#43 0x00007f063821e743 in Phonon::MediaObject::qt_metacall () from /usr/lib/libphonon.so.4
#44 0x00007f063c2b1d65 in QMetaObject::activate (sender=0x2178340, from_signal_index=<value optimized out>, to_signal_index=8, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#45 0x00007f062e273495 in Phonon::Xine::MediaObject::currentSourceChanged () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#46 0x00007f062e27522b in Phonon::Xine::MediaObject::setSourceInternal () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#47 0x00007f062e276757 in Phonon::Xine::MediaObject::setNextSource () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#48 0x00007f063821dab6 in Phonon::MediaObjectPrivate::_k_aboutToFinish () from /usr/lib/libphonon.so.4
#49 0x00007f063821e756 in Phonon::MediaObject::qt_metacall () from /usr/lib/libphonon.so.4
#50 0x00007f063c2b1d65 in QMetaObject::activate (sender=0x2178340, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#51 0x00007f062e274d8d in Phonon::Xine::MediaObject::needNextUrl () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#52 0x00007f062e275cfa in Phonon::Xine::MediaObject::qt_metacall () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#53 0x00007f063c2ac8d1 in QObject::event (this=0x2178340, e=0x3779740) at kernel/qobject.cpp:1106
#54 0x00007f063ce0c43d in QApplicationPrivate::notify_helper (this=0x2047250, receiver=0x2178340, e=0x3779740) at kernel/qapplication.cpp:4057
#55 0x00007f063ce1508e in QApplication::notify (this=0x7fff46939ff0, receiver=0x2178340, e=0x3779740) at kernel/qapplication.cpp:4022
#56 0x00007f063e2f69fb in KApplication::notify () from /usr/kde/live/lib64/libkdeui.so.5
#57 0x00007f063c29c3eb in QCoreApplication::notifyInternal (this=0x7fff46939ff0, receiver=0x2178340, event=0x3779740) at kernel/qcoreapplication.cpp:606
#58 0x00007f063c29fbe3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1fc7750) at kernel/qcoreapplication.h:213
#59 0x00007f063ce9a3fa in QEventDispatcherX11::processEvents (this=0x1fc7340, flags={i = 1184079632}) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#60 0x00007f063c29b052 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1184079680}) at kernel/qeventloop.cpp:149
#61 0x00007f063c29b1e5 in QEventLoop::exec (this=0x7fff46939f80, flags={i = 1184079760}) at kernel/qeventloop.cpp:196
#62 0x00007f063c29fe9e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#63 0x000000000040378d in main (argc=2, argv=0x7fff4693b1b8) at /home/mikko/amarok/src/main.cpp:128
Comment 1 Alex Merry 2009-05-13 00:08:24 UTC
I'm pretty sure I got the same thing.  I upgraded Qt from 4.5.0 to 4.5.1 just the other day - I don't know if that's something to do with it.

BT:

Thread 1 (Thread 0x7f1cdcb21770 (LWP 7338)):
[KCrash Handler]
#5  0x00007f1cd9339e45 in raise () from /lib/libc.so.6
#6  0x00007f1cd933b2aa in abort () from /lib/libc.so.6
#7  0x00007f1cda08323b in qt_message_output (msgType=QtFatalMsg, 
    buf=0x37cf018 "ASSERT failure in QVector<T>::at: \"index out of range\", file ../../include/QtCore/../../../src/qt-copy/src/corelib/tools/qvector.h, line 329")
    at /home/kde-devel/src/qt-copy/src/corelib/global/qglobal.cpp:2017
#8  0x00007f1cda083ad6 in qFatal (msg=0x7f1cda1e9ce0 "ASSERT failure in %s: \"%s\", file %s, line %d") at /home/kde-devel/src/qt-copy/src/corelib/global/qglobal.cpp:2216
#9  0x00007f1cda082ea6 in qt_assert_x (where=0x7f1cdb515ff8 "QVector<T>::at", what=0x7f1cdb515fce "index out of range", 
    file=0x7f1cdb515f88 "../../include/QtCore/../../../src/qt-copy/src/corelib/tools/qvector.h", line=329) at /home/kde-devel/src/qt-copy/src/corelib/global/qglobal.cpp:1794
#10 0x00007f1cdadebf5d in QVector<int>::at (this=0xf60f00, i=16) at ../../include/QtCore/../../../src/qt-copy/src/corelib/tools/qvector.h:329
#11 0x00007f1cdb3e4ece in QStaticListViewBase::indexToListViewItem (this=0xf60ef0, index=@0x7fffe4b64c50) at /home/kde-devel/src/qt-copy/src/gui/itemviews/qlistview.cpp:2251
#12 0x00007f1cdb3e3b09 in QListViewPrivate::indexToListViewItem (this=0x10ba390, index=@0x7fffe4b64c50) at /home/kde-devel/src/qt-copy/src/gui/itemviews/qlistview.cpp:2029
#13 0x00007f1cdb3e0720 in QListView::rectForIndex (this=0x10ba310, index=@0x7fffe4b64c50) at /home/kde-devel/src/qt-copy/src/gui/itemviews/qlistview.cpp:1433
#14 0x00007f1cdb3dbfdc in QListView::visualRect (this=0x10ba310, index=@0x7fffe4b64c50) at /home/kde-devel/src/qt-copy/src/gui/itemviews/qlistview.cpp:576
#15 0x00007f1cdb3dc104 in QListView::scrollTo (this=0x10ba310, index=@0x7fffe4b64c50, hint=QAbstractItemView::PositionAtCenter) at /home/kde-devel/src/qt-copy/src/gui/itemviews/qlistview.cpp:589
#16 0x00007f1cdbdb62f3 in Playlist::PrettyListView::itemsAdded (this=0x10ba310, firstRow=16) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/view/listview/PrettyListView.cpp:678
#17 0x00007f1cdbdb918e in Playlist::PrettyListView::qt_metacall (this=0x10ba310, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fffe4b64e20)
    at /home/kde-devel/build/extragear/multimedia/amarok/src/PrettyListView.moc:117
#18 0x00007f1cda1a7bc9 in QMetaObject::activate (sender=0xddb2c0, from_signal_index=24, to_signal_index=24, argv=0x7fffe4b64e20) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3108
#19 0x00007f1cda1a7e95 in QMetaObject::activate (sender=0xddb2c0, m=0x7f1cdc2947c0, local_signal_index=4, argv=0x7fffe4b64e20) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3185
#20 0x00007f1cdbd1b13c in Playlist::Model::itemsAdded (this=0xddb2c0, _t1=16) at /home/kde-devel/build/extragear/multimedia/amarok/src/moc_PlaylistModel.cpp:125
#21 0x00007f1cdbd8a938 in Playlist::Model::insertTracksCommand (this=0xddb2c0, cmds=@0x376ba60) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/PlaylistModel.cpp:772
#22 0x00007f1cdbd9482f in Playlist::InsertTracksCmd::redo (this=0x376ba50) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/UndoCommands.cpp:38
#23 0x00007f1cdb4fca24 in QUndoStack::push (this=0xffa8d0, cmd=0x376ba50) at /home/kde-devel/src/qt-copy/src/gui/util/qundostack.cpp:543
#24 0x00007f1cdbd80db2 in Playlist::Controller::insertionHelper (this=0xde69a0, row=17, tl=@0x7fffe4b65420) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/PlaylistController.cpp:521
#25 0x00007f1cdbd825f8 in Playlist::Controller::insertOptioned (this=0xde69a0, list=
        {{p = {static shared_null = {ref = {_q_value = 69105}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffe4b65420}, d = 0x7fffe4b65420}}, options=1)
    at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/PlaylistController.cpp:128
#26 0x00007f1cdbd9f005 in Playlist::DynamicTrackNavigator::receiveTracks (this=0x1361fa0, tracks=
        {{p = {static shared_null = {ref = {_q_value = 69105}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffe4b65460}, d = 0x7fffe4b65460}})
    at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:52
#27 0x00007f1cdbd1e937 in Playlist::DynamicTrackNavigator::qt_metacall (this=0x1361fa0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffe4b65590)
    at /home/kde-devel/build/extragear/multimedia/amarok/src/moc_DynamicTrackNavigator.cpp:74
#28 0x00007f1cda1a7bc9 in QMetaObject::activate (sender=0xfe1230, from_signal_index=4, to_signal_index=4, argv=0x7fffe4b65590) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3108
#29 0x00007f1cda1a7e95 in QMetaObject::activate (sender=0xfe1230, m=0x7f1cdc294700, local_signal_index=0, argv=0x7fffe4b65590) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3185
#30 0x00007f1cdbd1b457 in Dynamic::DynamicPlaylist::tracksReady (this=0xfe1230, _t1=
        {{p = {static shared_null = {ref = {_q_value = 69105}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffe4b655e0}, d = 0x7fffe4b655e0}})
    at /home/kde-devel/build/extragear/multimedia/amarok/src/moc_DynamicPlaylist.cpp:85
#31 0x00007f1cdbdf2723 in Dynamic::BiasedPlaylist::handleRequest (this=0xfe1230) at /home/kde-devel/src/extragear/multimedia/amarok/src/dynamic/BiasedPlaylist.cpp:216
#32 0x00007f1cdbdf2974 in Dynamic::BiasedPlaylist::requestTracks (this=0xfe1230, n=1) at /home/kde-devel/src/extragear/multimedia/amarok/src/dynamic/BiasedPlaylist.cpp:166
#33 0x00007f1cdbd9ee69 in Playlist::DynamicTrackNavigator::appendUpcoming (this=0x1361fa0) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:65
#34 0x00007f1cdbd9efb7 in Playlist::DynamicTrackNavigator::trackChanged (this=0x1361fa0) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:100
#35 0x00007f1cdbd1e94b in Playlist::DynamicTrackNavigator::qt_metacall (this=0x1361fa0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffe4b65840)
    at /home/kde-devel/build/extragear/multimedia/amarok/src/moc_DynamicTrackNavigator.cpp:75
#36 0x00007f1cda1a7bc9 in QMetaObject::activate (sender=0xddb2c0, from_signal_index=22, to_signal_index=22, argv=0x7fffe4b65840) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3108
#37 0x00007f1cda1a7e95 in QMetaObject::activate (sender=0xddb2c0, m=0x7f1cdc2947c0, local_signal_index=2, argv=0x7fffe4b65840) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3185
#38 0x00007f1cdbd1b1c1 in Playlist::Model::activeTrackChanged (this=0xddb2c0, _t1=8822159629803933382) at /home/kde-devel/build/extragear/multimedia/amarok/src/moc_PlaylistModel.cpp:111
#39 0x00007f1cdbd8b2ea in Playlist::Model::setActiveRow (this=0xddb2c0, row=6) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/PlaylistModel.cpp:501
#40 0x00007f1cdbd7f5a6 in Playlist::Model::setActiveId (this=0xddb2c0, id=8822159629803933382) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/PlaylistModel.h:135
#41 0x00007f1cdbd7ddb1 in Playlist::Actions::engineNewTrackPlaying (this=0x102a140) at /home/kde-devel/src/extragear/multimedia/amarok/src/playlist/PlaylistActions.cpp:332
#42 0x00007f1cdbed5613 in EngineSubject::newTrackPlaying (this=0x9da200) at /home/kde-devel/src/extragear/multimedia/amarok/src/EngineObserver.cpp:175
#43 0x00007f1cdbed0b09 in EngineController::slotNewTrackPlaying (this=0x9da1f0, source=@0xdba4a8) at /home/kde-devel/src/extragear/multimedia/amarok/src/EngineController.cpp:732
#44 0x00007f1cdbed3e55 in EngineController::qt_metacall (this=0x9da1f0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fffe4b65cf0)
    at /home/kde-devel/build/extragear/multimedia/amarok/src/EngineController.moc:159
#45 0x00007f1cda1a7bc9 in QMetaObject::activate (sender=0x9da850, from_signal_index=11, to_signal_index=11, argv=0x7fffe4b65cf0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3108
#46 0x00007f1cda1a7e95 in QMetaObject::activate (sender=0x9da850, m=0x7f1cd6184360, local_signal_index=7, argv=0x7fffe4b65cf0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3185
#47 0x00007f1cd5f4b9cb in Phonon::MediaObject::currentSourceChanged (this=0x9da850, _t1=@0xdba4a8) at /home/kde-devel/build/kdesupport/phonon/phonon/moc_mediaobject.cpp:228
#48 0x00007f1cd5f4c76c in Phonon::MediaObjectPrivate::_k_currentSourceChanged (this=0x9da730, source=@0xdba4a8) at /home/kde-devel/src/kdesupport/phonon/phonon/mediaobject.cpp:447
#49 0x00007f1cd5f4d634 in Phonon::MediaObject::qt_metacall (this=0x9da850, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffe4b65ef0)
    at /home/kde-devel/build/kdesupport/phonon/phonon/moc_mediaobject.cpp:138
#50 0x00007f1cda1a7bc9 in QMetaObject::activate (sender=0xdba400, from_signal_index=4, to_signal_index=4, argv=0x7fffe4b65ef0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3108
#51 0x00007f1cda1a7e95 in QMetaObject::activate (sender=0xdba400, m=0x7f1cc7f54940, local_signal_index=0, argv=0x7fffe4b65ef0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3185
#52 0x00007f1cc7d2cc07 in Phonon::Gstreamer::MediaObject::currentSourceChanged (this=0xdba400, _t1=@0xdba4a8) at /home/kde-devel/build/kdesupport/phonon/gstreamer/moc_mediaobject.cpp:167
#53 0x00007f1cc7d2f4c3 in Phonon::Gstreamer::MediaObject::setSource (this=0xdba400, source=@0xdba4b0) at /home/kde-devel/src/kdesupport/phonon/gstreamer/mediaobject.cpp:841
#54 0x00007f1cc7d2d17b in Phonon::Gstreamer::MediaObject::beginPlay (this=0xdba400) at /home/kde-devel/src/kdesupport/phonon/gstreamer/mediaobject.cpp:1142
#55 0x00007f1cc7d30b0e in Phonon::Gstreamer::MediaObject::qt_metacall (this=0xdba400, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x7fffe4b66120)
    at /home/kde-devel/build/kdesupport/phonon/gstreamer/moc_mediaobject.cpp:153
#56 0x00007f1cda1a7bc9 in QMetaObject::activate (sender=0x33dff30, from_signal_index=4, to_signal_index=4, argv=0x0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3108
#57 0x00007f1cda1a7e95 in QMetaObject::activate (sender=0x33dff30, m=0x7f1cda4a7760, local_signal_index=0, argv=0x0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3185
#58 0x00007f1cda1b0a5d in QSingleShotTimer::timeout (this=0x33dff30) at .moc/debug-shared/qtimer.moc:76
#59 0x00007f1cda1b095f in QSingleShotTimer::timerEvent (this=0x33dff30) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qtimer.cpp:298
#60 0x00007f1cda1a3b63 in QObject::event (this=0x33dff30, e=0x7fffe4b66990) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:1073
#61 0x00007f1cdadc7502 in QApplicationPrivate::notify_helper (this=0x9ce290, receiver=0x33dff30, e=0x7fffe4b66990) at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:4057
#62 0x00007f1cdadc57a1 in QApplication::notify (this=0x7fffe4b66d60, receiver=0x33dff30, e=0x7fffe4b66990) at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3604
#63 0x00007f1cdc4ebd2f in KApplication::notify (this=0x7fffe4b66d60, receiver=0x33dff30, event=0x7fffe4b66990) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#64 0x00007f1cda18e6e7 in QCoreApplication::notifyInternal (this=0x7fffe4b66d60, receiver=0x33dff30, event=0x7fffe4b66990) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#65 0x00007f1cdadb961b in QCoreApplication::sendEvent (receiver=0x33dff30, event=0x7fffe4b66990) at ../../include/QtCore/../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:213
#66 0x00007f1cda1c47a5 in QTimerInfoList::activateTimers (this=0x9d1b40) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_unix.cpp:572
#67 0x00007f1cda1c0855 in timerSourceDispatch (source=0x9d1ae0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:164
#68 0x00007f1cd106001a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#69 0x00007f1cd10636e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#70 0x00007f1cd106387c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#71 0x00007f1cda1c173d in QEventDispatcherGlib::processEvents (this=0x9ce500, flags={i = 36}) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#72 0x00007f1cdae73f1c in QGuiEventDispatcherGlib::processEvents (this=0x9ce500, flags={i = 36}) at /home/kde-devel/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#73 0x00007f1cda18c0f0 in QEventLoop::processEvents (this=0x7fffe4b66ce0, flags={i = 36}) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#74 0x00007f1cda18c22b in QEventLoop::exec (this=0x7fffe4b66ce0, flags={i = 0}) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#75 0x00007f1cda18edac in QCoreApplication::exec () at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#76 0x00007f1cdadc53e8 in QApplication::exec () at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3526
#77 0x000000000040373d in main (argc=1, argv=0x7fffe4b67f38) at /home/kde-devel/src/extragear/multimedia/amarok/src/main.cpp:128
Comment 2 Mikko C. 2009-06-06 08:09:09 UTC
Just happened again with today's trunk.
Slightly different line numbers, same story.

Thread 1 (Thread 0x7f9a9cacc760 (LWP 12496)):
[KCrash Handler]
#5  0x00007f9a996a7205 in raise () from /lib/libc.so.6
#6  0x00007f9a996a8723 in abort () from /lib/libc.so.6
#7  0x00007f9a9a3df015 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2017
#8  0x00007f9a9a3df130 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2216
#9  0x00007f9a9b4f774b in QStaticListViewBase::indexToListViewItem (this=0x1b615c0, index=@0x7fff3134e700) at ../../include/QtCore/../../src/corelib/tools/qvector.h:329
#10 0x00007f9a9b4f7982 in QListViewPrivate::indexToListViewItem (this=0x1b5ed30, index=@0x7fff3134e700) at itemviews/qlistview.cpp:2029
#11 0x00007f9a9b4f7e03 in QListView::rectForIndex (this=0x1b5ecb0, index=@0x7fff3134e700) at itemviews/qlistview.cpp:1433
#12 0x00007f9a9b4f7eec in QListView::visualRect (this=0x30d0, index=@0x30d0) at itemviews/qlistview.cpp:576
#13 0x00007f9a9b4f8ba3 in QListView::scrollTo (this=0x1b5ecb0, index=@0x7fff3134e700, hint=QAbstractItemView::PositionAtCenter) at itemviews/qlistview.cpp:589
#14 0x00007f9a9bdc8a4f in Playlist::PrettyListView::itemsAdded (this=0x1b5ecb0, firstRow=16) at /home/mikko/amarok/src/playlist/view/listview/PrettyListView.cpp:711
#15 0x00007f9a9bdcb9d6 in Playlist::PrettyListView::qt_metacall (this=0x1b5ecb0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fff3134e8b0) at /home/mikko/amarok/build/src/PrettyListView.moc:118
#16 0x00007f9a9a4ddd65 in QMetaObject::activate (sender=0x13cd6a0, from_signal_index=<value optimized out>, to_signal_index=24, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#17 0x00007f9a9bd2ed84 in Playlist::Model::itemsAdded (this=0x13cd6a0, _t1=16) at /home/mikko/amarok/build/src/moc_PlaylistModel.cpp:125
#18 0x00007f9a9bd9ebdc in Playlist::Model::insertTracksCommand (this=0x13cd6a0, cmds=@0x2302de0) at /home/mikko/amarok/src/playlist/PlaylistModel.cpp:772
#19 0x00007f9a9bda8db7 in Playlist::InsertTracksCmd::redo (this=0x2302dd0) at /home/mikko/amarok/src/playlist/UndoCommands.cpp:38
#20 0x00007f9a9b5f8718 in QUndoStack::push (this=0x1a80440, cmd=0x2302dd0) at util/qundostack.cpp:543
#21 0x00007f9a9bd94f32 in Playlist::Controller::insertionHelper (this=0x1a5d200, row=17, tl=@0x7fff3134eee0) at /home/mikko/amarok/src/playlist/PlaylistController.cpp:521
#22 0x00007f9a9bd96778 in Playlist::Controller::insertOptioned (this=0x1a5d200, list=
        {{p = {static shared_null = {ref = {_q_value = 57694}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff3134eee0}, d = 0x7fff3134eee0}}, options=1)
    at /home/mikko/amarok/src/playlist/PlaylistController.cpp:128
#23 0x00007f9a9bdb358d in Playlist::DynamicTrackNavigator::receiveTracks (this=0x1fd4d70, tracks=
        {{p = {static shared_null = {ref = {_q_value = 57694}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff3134ef20}, d = 0x7fff3134ef20}})
    at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:52
#24 0x00007f9a9bd31a6d in Playlist::DynamicTrackNavigator::qt_metacall (this=0x1fd4d70, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff3134f030)
    at /home/mikko/amarok/build/src/moc_DynamicTrackNavigator.cpp:74
#25 0x00007f9a9a4ddd65 in QMetaObject::activate (sender=0x1e58b00, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#26 0x00007f9a9bd2e89f in Dynamic::DynamicPlaylist::tracksReady (this=0x1e58b00, _t1=
        {{p = {static shared_null = {ref = {_q_value = 57694}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff3134f080}, d = 0x7fff3134f080}})
    at /home/mikko/amarok/build/src/moc_DynamicPlaylist.cpp:85
#27 0x00007f9a9be05153 in Dynamic::BiasedPlaylist::handleRequest (this=0x1e58b00) at /home/mikko/amarok/src/dynamic/BiasedPlaylist.cpp:216
#28 0x00007f9a9be053a4 in Dynamic::BiasedPlaylist::requestTracks (this=0x1e58b00, n=1) at /home/mikko/amarok/src/dynamic/BiasedPlaylist.cpp:166
#29 0x00007f9a9bdb33f1 in Playlist::DynamicTrackNavigator::appendUpcoming (this=0x1fd4d70) at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:65
#30 0x00007f9a9bdb353f in Playlist::DynamicTrackNavigator::trackChanged (this=0x1fd4d70) at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:100
#31 0x00007f9a9bd31a81 in Playlist::DynamicTrackNavigator::qt_metacall (this=0x1fd4d70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff3134f2c0)
    at /home/mikko/amarok/build/src/moc_DynamicTrackNavigator.cpp:75
#32 0x00007f9a9a4ddd65 in QMetaObject::activate (sender=0x13cd6a0, from_signal_index=<value optimized out>, to_signal_index=22, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#33 0x00007f9a9bd2ee09 in Playlist::Model::activeTrackChanged (this=0x13cd6a0, _t1=8783885969988317456) at /home/mikko/amarok/build/src/moc_PlaylistModel.cpp:111
#34 0x00007f9a9bd9f58e in Playlist::Model::setActiveRow (this=0x13cd6a0, row=6) at /home/mikko/amarok/src/playlist/PlaylistModel.cpp:501
#35 0x00007f9a9bd93726 in Playlist::Model::setActiveId (this=0x13cd6a0, id=8783885969988317456) at /home/mikko/amarok/src/playlist/PlaylistModel.h:135
#36 0x00007f9a9bd91f25 in Playlist::Actions::engineNewTrackPlaying (this=0x1ad2cb0) at /home/mikko/amarok/src/playlist/PlaylistActions.cpp:335
#37 0x00007f9a9bee9793 in EngineSubject::newTrackPlaying (this=0x1081330) at /home/mikko/amarok/src/EngineObserver.cpp:175
#38 0x00007f9a9bee4d2c in EngineController::slotNewTrackPlaying (this=0x1081320, source=@0x11590f0) at /home/mikko/amarok/src/EngineController.cpp:719
#39 0x00007f9a9bee7fd7 in EngineController::qt_metacall (this=0x1081320, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fff3134f6c0) at /home/mikko/amarok/build/src/EngineController.moc:159
#40 0x00007f9a9a4ddd65 in QMetaObject::activate (sender=0x1082130, from_signal_index=<value optimized out>, to_signal_index=11, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#41 0x00007f9a96492f15 in Phonon::MediaObject::currentSourceChanged () from /usr/lib/libphonon.so.4
#42 0x00007f9a964947f3 in Phonon::MediaObjectPrivate::_k_currentSourceChanged () from /usr/lib/libphonon.so.4
#43 0x00007f9a96495753 in Phonon::MediaObject::qt_metacall () from /usr/lib/libphonon.so.4
#44 0x00007f9a9a4ddd65 in QMetaObject::activate (sender=0x1159090, from_signal_index=<value optimized out>, to_signal_index=8, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#45 0x00007f9a8c353965 in Phonon::Xine::MediaObject::currentSourceChanged () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#46 0x00007f9a8c35570b in Phonon::Xine::MediaObject::setSourceInternal () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#47 0x00007f9a8c356c37 in Phonon::Xine::MediaObject::setNextSource () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#48 0x00007f9a96494ac6 in Phonon::MediaObjectPrivate::_k_aboutToFinish () from /usr/lib/libphonon.so.4
#49 0x00007f9a96495766 in Phonon::MediaObject::qt_metacall () from /usr/lib/libphonon.so.4
#50 0x00007f9a9a4ddd65 in QMetaObject::activate (sender=0x1159090, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#51 0x00007f9a8c35526d in Phonon::Xine::MediaObject::needNextUrl () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#52 0x00007f9a8c3561da in Phonon::Xine::MediaObject::qt_metacall () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#53 0x00007f9a9a4d88d1 in QObject::event (this=0x1159090, e=0x1ea7640) at kernel/qobject.cpp:1106
#54 0x00007f9a9b00552d in QApplicationPrivate::notify_helper (this=0xfd5340, receiver=0x1159090, e=0x1ea7640) at kernel/qapplication.cpp:4057
#55 0x00007f9a9b00e17e in QApplication::notify (this=0x7fff31350c40, receiver=0x1159090, e=0x1ea7640) at kernel/qapplication.cpp:4022
#56 0x00007f9a9c4ce571 in KApplication::notify (this=0x7fff31350c40, receiver=0x1159090, event=0x1ea7640)
    at /var/tmp/paludis/kde-base-kdelibs-9999-r1/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302
#57 0x00007f9a9a4c83eb in QCoreApplication::notifyInternal (this=0x7fff31350c40, receiver=0x1159090, event=0x1ea7640) at kernel/qcoreapplication.cpp:606
#58 0x00007f9a9a4cbbe3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xf53750) at kernel/qcoreapplication.h:213
#59 0x00007f9a9b0937aa in QEventDispatcherX11::processEvents (this=0xf53340, flags={i = 825559904}) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#60 0x00007f9a9a4c7052 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 825559952}) at kernel/qeventloop.cpp:149
#61 0x00007f9a9a4c71e5 in QEventLoop::exec (this=0x7fff31350bd0, flags={i = 825560032}) at kernel/qeventloop.cpp:196
#62 0x00007f9a9a4cbe9e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#63 0x000000000040378d in main (argc=1, argv=0x7fff31351e08) at /home/mikko/amarok/src/main.cpp:128
Comment 3 Mikko C. 2009-06-13 10:10:20 UTC
Still valid with fresh 2.2-SVN

amarok:   END__: virtual void ScrobblerAdapter::engineNewTrackPlaying() - Took 0.0028s                                       
amarok:   BEGIN: void Playlist::DynamicTrackNavigator::appendUpcoming()                                                      
amarok:     [BiasedPlaylist] Requesting  1  tracks.                                                                          
amarok:     BEGIN: void Dynamic::BiasedPlaylist::handleRequest()                                                             
amarok:       [BiasedPlaylist] Returning  1  tracks.                                                                         
amarok:       BEGIN: void Playlist::DynamicTrackNavigator::receiveTracks(Meta::TrackList)                                    
amarok:         BEGIN: void Playlist::Controller::insertOptioned(Meta::TrackList, int)                                       
amarok:           BEGIN: void Playlist::Controller::insertionHelper(int, Meta::TrackList&)                                   
amarok:             BEGIN: void Playlist::PrettyListView::itemsAdded(int)                                                    
amarok:               [Playlist::PrettyListView] index has row:  14                                                          
ASSERT failure in QVector<T>::at: "index out of range", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 329
KCrash: crashing... crashRecursionCounter = 2



Thread 1 (Thread 0x7f15fba82760 (LWP 8076)):
[KCrash Handler]
#4  0x00007f15f8622205 in raise () from /lib/libc.so.6
#5  0x00007f15f8623723 in abort () from /lib/libc.so.6
#6  0x00007f15f935a015 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2017
#7  0x00007f15f935a130 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2216
#8  0x00007f15fa47274b in QStaticListViewBase::indexToListViewItem (this=0x2e49c70, index=@0x7fffb7465e60) at ../../include/QtCore/../../src/corelib/tools/qvector.h:329
#9  0x00007f15fa472982 in QListViewPrivate::indexToListViewItem (this=0x2e46fd0, index=@0x7fffb7465e60) at itemviews/qlistview.cpp:2029
#10 0x00007f15fa472e03 in QListView::rectForIndex (this=0x2e46f50, index=@0x7fffb7465e60) at itemviews/qlistview.cpp:1433
#11 0x00007f15fa472eec in QListView::visualRect (this=0x1f8c, index=@0x1f8c) at itemviews/qlistview.cpp:576
#12 0x00007f15fa473ba3 in QListView::scrollTo (this=0x2e46f50, index=@0x7fffb7465e60, hint=QAbstractItemView::PositionAtCenter) at itemviews/qlistview.cpp:589
#13 0x00007f15fad5673b in Playlist::PrettyListView::itemsAdded (this=0x2e46f50, firstRow=14) at /home/mikko/amarok/src/playlist/view/listview/PrettyListView.cpp:732
#14 0x00007f15fad598e8 in Playlist::PrettyListView::qt_metacall (this=0x2e46f50, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fffb7466020) at /home/mikko/amarok/build/src/PrettyListView.moc:118
#15 0x00007f15f9458d65 in QMetaObject::activate (sender=0x2605750, from_signal_index=<value optimized out>, to_signal_index=24, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#16 0x00007f15facb3dc2 in Playlist::Model::itemsAdded (this=0x2605750, _t1=14) at /home/mikko/amarok/build/src/moc_PlaylistModel.cpp:125
#17 0x00007f15fad2cc22 in Playlist::Model::insertTracksCommand (this=0x2605750, cmds=@0x42d8320) at /home/mikko/amarok/src/playlist/PlaylistModel.cpp:772
#18 0x00007f15fad38b93 in Playlist::InsertTracksCmd::redo (this=0x42d8310) at /home/mikko/amarok/src/playlist/UndoCommands.cpp:38
#19 0x00007f15fa573718 in QUndoStack::push (this=0x2c6e630, cmd=0x42d8310) at util/qundostack.cpp:543
#20 0x00007f15fad22f9a in Playlist::Controller::insertionHelper (this=0x2c8f9a0, row=15, tl=@0x7fffb7466650) at /home/mikko/amarok/src/playlist/PlaylistController.cpp:522
#21 0x00007f15fad24812 in Playlist::Controller::insertOptioned (this=0x2c8f9a0, list=
        {{p = {static shared_null = {ref = {_q_value = 63074}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffb7466650}, d = 0x7fffb7466650}}, options=1)
    at /home/mikko/amarok/src/playlist/PlaylistController.cpp:128
#22 0x00007f15fad43301 in Playlist::DynamicTrackNavigator::receiveTracks (this=0x22056b0, tracks=
        {{p = {static shared_null = {ref = {_q_value = 63074}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffb7466690}, d = 0x7fffb7466690}})
    at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:52
#23 0x00007f15facb712b in Playlist::DynamicTrackNavigator::qt_metacall (this=0x22056b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffb74667a0)
    at /home/mikko/amarok/build/src/moc_DynamicTrackNavigator.cpp:74
#24 0x00007f15f9458d65 in QMetaObject::activate (sender=0x316dd20, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#25 0x00007f15facb396f in Dynamic::DynamicPlaylist::tracksReady (this=0x316dd20, _t1=
        {{p = {static shared_null = {ref = {_q_value = 63074}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffb7466810}, d = 0x7fffb7466810}})
    at /home/mikko/amarok/build/src/moc_DynamicPlaylist.cpp:85
#26 0x00007f15fad96a3b in Dynamic::BiasedPlaylist::handleRequest (this=0x316dd20) at /home/mikko/amarok/src/dynamic/BiasedPlaylist.cpp:229
#27 0x00007f15fad96c94 in Dynamic::BiasedPlaylist::requestTracks (this=0x316dd20, n=1) at /home/mikko/amarok/src/dynamic/BiasedPlaylist.cpp:177
#28 0x00007f15fad43139 in Playlist::DynamicTrackNavigator::appendUpcoming (this=0x22056b0) at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:65
#29 0x00007f15fad432b3 in Playlist::DynamicTrackNavigator::trackChanged (this=0x22056b0) at /home/mikko/amarok/src/playlist/navigators/DynamicTrackNavigator.cpp:100
#30 0x00007f15facb713f in Playlist::DynamicTrackNavigator::qt_metacall (this=0x22056b0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffb7466a50)
    at /home/mikko/amarok/build/src/moc_DynamicTrackNavigator.cpp:75
#31 0x00007f15f9458d65 in QMetaObject::activate (sender=0x2605750, from_signal_index=<value optimized out>, to_signal_index=22, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#32 0x00007f15facb3e47 in Playlist::Model::activeTrackChanged (this=0x2605750, _t1=3544812059245603944) at /home/mikko/amarok/build/src/moc_PlaylistModel.cpp:111
#33 0x00007f15fad2d5d4 in Playlist::Model::setActiveRow (this=0x2605750, row=4) at /home/mikko/amarok/src/playlist/PlaylistModel.cpp:501
#34 0x00007f15fad2178e in Playlist::Model::setActiveId (this=0x2605750, id=3544812059245603944) at /home/mikko/amarok/src/playlist/PlaylistModel.h:135
#35 0x00007f15fad1ff49 in Playlist::Actions::engineNewTrackPlaying (this=0x2cc3c40) at /home/mikko/amarok/src/playlist/PlaylistActions.cpp:335
#36 0x00007f15fae915ef in EngineSubject::newTrackPlaying (this=0x22c4860) at /home/mikko/amarok/src/EngineObserver.cpp:175
#37 0x00007f15fae8bf48 in EngineController::slotNewTrackPlaying (this=0x22c4850, source=@0x2294750) at /home/mikko/amarok/src/EngineController.cpp:816
#38 0x00007f15fae8fbc1 in EngineController::qt_metacall (this=0x22c4850, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fffb7466e50) at /home/mikko/amarok/build/src/EngineController.moc:161
#39 0x00007f15f9458d65 in QMetaObject::activate (sender=0x22c5d10, from_signal_index=<value optimized out>, to_signal_index=11, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#40 0x00007f15f540df15 in Phonon::MediaObject::currentSourceChanged () from /usr/lib/libphonon.so.4
#41 0x00007f15f540f7f3 in Phonon::MediaObjectPrivate::_k_currentSourceChanged () from /usr/lib/libphonon.so.4
#42 0x00007f15f5410753 in Phonon::MediaObject::qt_metacall () from /usr/lib/libphonon.so.4
#43 0x00007f15f9458d65 in QMetaObject::activate (sender=0x22946f0, from_signal_index=<value optimized out>, to_signal_index=8, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#44 0x00007f15eb2d1965 in Phonon::Xine::MediaObject::currentSourceChanged () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#45 0x00007f15eb2d370b in Phonon::Xine::MediaObject::setSourceInternal () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#46 0x00007f15eb2d4c37 in Phonon::Xine::MediaObject::setNextSource () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#47 0x00007f15f540fac6 in Phonon::MediaObjectPrivate::_k_aboutToFinish () from /usr/lib/libphonon.so.4
#48 0x00007f15f5410766 in Phonon::MediaObject::qt_metacall () from /usr/lib/libphonon.so.4
#49 0x00007f15f9458d65 in QMetaObject::activate (sender=0x22946f0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#50 0x00007f15eb2d326d in Phonon::Xine::MediaObject::needNextUrl () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#51 0x00007f15eb2d41da in Phonon::Xine::MediaObject::qt_metacall () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#52 0x00007f15f94538d1 in QObject::event (this=0x22946f0, e=0x542a710) at kernel/qobject.cpp:1106
#53 0x00007f15f9f8052d in QApplicationPrivate::notify_helper (this=0x2204110, receiver=0x22946f0, e=0x542a710) at kernel/qapplication.cpp:4057
#54 0x00007f15f9f8917e in QApplication::notify (this=0x7fffb74683d0, receiver=0x22946f0, e=0x542a710) at kernel/qapplication.cpp:4022
#55 0x00007f15fb486571 in KApplication::notify (this=0x7fffb74683d0, receiver=0x22946f0, event=0x542a710) at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302
#56 0x00007f15f94433eb in QCoreApplication::notifyInternal (this=0x7fffb74683d0, receiver=0x22946f0, event=0x542a710) at kernel/qcoreapplication.cpp:606
#57 0x00007f15f9446be3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2179750) at kernel/qcoreapplication.h:213
#58 0x00007f15fa00e7aa in QEventDispatcherX11::processEvents (this=0x2179340, flags={i = -1220115728}) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#59 0x00007f15f9442052 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1220115680}) at kernel/qeventloop.cpp:149
#60 0x00007f15f94421e5 in QEventLoop::exec (this=0x7fffb7468360, flags={i = -1220115600}) at kernel/qeventloop.cpp:196
#61 0x00007f15f9446e9e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#62 0x000000000040378d in main (argc=2, argv=0x7fffb7469598) at /home/mikko/amarok/src/main.cpp:128
Comment 4 Mikko C. 2009-06-20 12:11:35 UTC
I found a way to reproduce the same crash.

1) Activate dynamic playlist and repopulate. A simple random one is ok.
2) Amarok -> Play Media
3) Choose a music file and click on it
4) Amarok crashes most of the times, same backtraces as above
Comment 5 Mikko C. 2009-08-02 15:56:12 UTC
Can't reproduce this anymore.