Amarok wouldn't start up - solved

Rick W. Chen stuffcorpse at archlinux.us
Fri Jun 4 16:22:50 UTC 2010


On 03 Jun 2010 20:36 -0700, Valorie Zimmerman:
> After updating KDE the other day, Amarok would no longer start. It
> would get to the splashscreen stage, and then into a seemingly endless
> loop. So I rebuilt from GIT, a clean build. Still no go.
> 
> With help from muesli and stuffcorpse in IRC, the problem is solved --
> move/remove ~/.kde/share/apps/amarok/current.xspf
> 
> I had been testing dynamic playlists in order to close a bug, which
> seems to be the salient fact, not the KDE updates!
> 
> Stuffcorpse said he'd reply to this with his steps to reproducing the problem.
> 
> Valorie

The problem can be reproduced by:

 * make sure dynamic playlist is on
 * have "previous" tracks set (e.g. 3)
 * start playing the 4th track
 * drag an album from somewhere and drop at before the activated track
 * restart amarok

Then the behaviour described by Valorie happens, with the following
debug snippet recurring endlessly.

amarok:  END__: QStringList MountPointManager::collectionFolders() - Took 8.7e-05s 
amarok:  BEGIN: QStringList MountPointManager::collectionFolders() 
amarok:  END__: QStringList MountPointManager::collectionFolders() - Took 8.4e-05s 
amarok:  BEGIN: QStringList MountPointManager::collectionFolders() 
amarok:  END__: QStringList MountPointManager::collectionFolders() - Took 8.6e-05s 
amarok:  BEGIN: QStringList MountPointManager::collectionFolders() 
amarok:  END__: QStringList MountPointManager::collectionFolders() - Took 8.6e-05s 
amarok:  BEGIN: void Playlist::Controller::insertTracks(int, Meta::TrackList) 
amarok:    BEGIN: int Playlist::Controller::insertionTopRowToBottom(int) 
amarok:      [Playlist::Controller] SortProxy is NOT SORTED         ... so I'll take care of the right row. 
amarok:    END__: int Playlist::Controller::insertionTopRowToBottom(int) - Took 6.3e-05s 
amarok:    BEGIN: virtual void Playlist::InsertTracksCmd::redo() 
amarok:      BEGIN: void Playlist::Model::setAllNewlyAddedToUnplayed() 
amarok:      END__: void Playlist::Model::setAllNewlyAddedToUnplayed() - Took 4.1e-05s 
amarok:      BEGIN: void StatusBar::updateTotalPlaylistLength() 
amarok:      END__: void StatusBar::updateTotalPlaylistLength() - Took 0.00061s 
amarok:    END__: virtual void Playlist::InsertTracksCmd::redo() - Took 0.0018s 
amarok:  END__: void Playlist::Controller::insertTracks(int, Meta::TrackList) - Took 0.0055s 
amarok:  BEGIN: void Playlist::Actions::queue(QList<int>) 
amarok:  END__: void Playlist::Actions::queue(QList<int>) - Took 4.2e-05s 
amarok:  BEGIN: void Playlist::DynamicTrackNavigator::appendUpcoming() 
amarok:  END__: void Playlist::DynamicTrackNavigator::appendUpcoming() - Took 0.00014s 
amarok:  BEGIN: void Playlist::Controller::removeRows(int, int) 
amarok:    BEGIN: void Playlist::Controller::removeRows(QList<int>&) 
amarok:      BEGIN: virtual void Playlist::RemoveTracksCmd::redo() 
amarok:        BEGIN: void Playlist::Model::removeTracksCommand(const Playlist::RemoveCmdList&) 
amarok:          BEGIN: void StatusBar::updateTotalPlaylistLength() 
amarok:          END__: void StatusBar::updateTotalPlaylistLength() - Took 0.00036s 
amarok:          BEGIN: Playlist::Actions::Actions() 
amarok:            BEGIN: void Playlist::Actions::playlistModeChanged() 
amarok:              [Playlist::Actions] Dynamic mode:    true 
amarok:              BEGIN: Playlist::DynamicTrackNavigator::DynamicTrackNavigator(Dynamic::DynamicPlaylistPtr) 
amarok:              END__: Playlist::DynamicTrackNavigator::DynamicTrackNavigator(Dynamic::DynamicPlaylistPtr) - Took 5.4e-05s 
amarok:            END__: void Playlist::Actions::playlistModeChanged() - Took 0.00017s 
amarok:            BEGIN: void Playlist::Actions::restoreDefaultPlaylist() 
amarok:              BEGIN: Playlists::XSPFPlaylist::XSPFPlaylist(const KUrl&, bool) 
amarok:                 url:  KUrl("file:///home/rick/.kde4/share/apps/amarok/current.xspf") 
amarok:                BEGIN: bool Playlists::XSPFPlaylist::loadXSPF(QTextStream&) 
amarok:                END__: bool Playlists::XSPFPlaylist::loadXSPF(QTextStream&) - Took 0.0064s 
amarok:              END__: Playlists::XSPFPlaylist::XSPFPlaylist(const KUrl&, bool) - Took 0.0065s 
amarok:              BEGIN: Playlists::XSPFTrackList Playlists::XSPFPlaylist::trackList() 
amarok:                 returning  230 tracks 
amarok:              END__: Playlists::XSPFTrackList Playlists::XSPFPlaylist::trackList() - Took 0.0024s 
amarok:              BEGIN: QStringList MountPointManager::collectionFolders() 
amarok:              END__: QStringList MountPointManager::collectionFolders() - Took 3.5e-05s 
amarok:              BEGIN: QStringList MountPointManager::collectionFolders() 
amarok:              END__: QStringList MountPointManager::collectionFolders() - Took 3.4e-05s 
amarok:              BEGIN: QStringList MountPointManager::collectionFolders() 

-- 
    Rick



More information about the Amarok mailing list