StatusBarNG + service initialization issue

Casey Link unnamedrambler at gmail.com
Sun Oct 19 17:38:11 CEST 2008


On Sun, Oct 19, 2008 at 11:37 AM, Casey Link <unnamedrambler at gmail.com> wrote:
> Hey guys,
>
> Ever since the "services loaded before playlist" fix, any time a
> service references the statusbar in it's initalization code it crashes
> amarok, because the the::statusbarNG() == 0 (hasn't been created yet I
> presume).
>
> Should I be testing if the StatusBarNG exists, or is this a fix for
> somewhere else?
>
> Casey
>

I forgot, here's a BT:

#5  0xb7dd130b in StatusBarNG::shortMessage (this=0x0,
text=@0xbfb66e4c) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/statusbar_ng/StatusBar.cpp:140
#6  0xada0216f in Mp3tunesService::authenticate (this=0x83bf088,
uname=@0xbfb66f10, passwd=@0xbfb66f0c)
    at /home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/services/mp3tunes/Mp3tunesService.cpp:254
#7  0xada03107 in Mp3tunesService (this=0x83bf088, parent=0x83b7950,
name=@0xbfb66f08, token=@0xbfb66f14, email=@0xbfb66f10,
password=@0xbfb66f0c, harmonyEnabled=false)
    at /home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/services/mp3tunes/Mp3tunesService.cpp:113
#8  0xada03756 in Mp3tunesServiceFactory::init (this=0x83b7950) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/services/mp3tunes/Mp3tunesService.cpp:43
#9  0xb7d267a0 in ServiceFactory::trackForUrl (this=0x83b7950,
url=@0x83be3a0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/services/ServiceBase.cpp:56
#10 0xb7d7c769 in CollectionManager::trackForUrl (this=0x833c1f8,
url=@0x83be3a0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/collection/CollectionManager.cpp:362
#11 0xb7d6a1e6 in Meta::XSPFPlaylist::tracks (this=0x83be1a8) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/meta/XSPFPlaylist.cpp:157
#12 0xb7cfee3a in Model (this=0x82eada0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistModel.cpp:86
#13 0xb7cff3a9 in Playlist::Model::instance () at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistModel.cpp:55
#14 0xb7d0a0b2 in Playlist::StandardTrackNavigator::requestNextTrack
(this=0x82eabb8) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/navigators/StandardTrackNavigator.cpp:29
#15 0xb7cf375e in Actions (this=0xaf300618, parent=0x0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistActions.cpp:76
#16 0xb7cf37b5 in Playlist::Actions::instance () at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistActions.cpp:51
#17 0xb7cf37e7 in The::playlistActions () at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistActions.cpp:281
#18 0xb7df204f in MainWindow::createActions (this=0x80e99a0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/MainWindow.cpp:630
#19 0xb7df8695 in MainWindow (this=0x80e99a0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/MainWindow.cpp:109
#20 0xb7de2fa9 in App::continueInit (this=0xbfb6788c) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/App.cpp:541
#21 0xb7de5ca4 in App (this=0xbfb6788c) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/App.cpp:188
#22 0x0804bf35 in main (argc=1, argv=0xbfb67d84) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/main.cpp:127


More information about the Amarok-devel mailing list