StatusBarNG + service initialization issue
Casey Link
unnamedrambler at gmail.com
Mon Oct 20 02:55:21 CEST 2008
On Sun, Oct 19, 2008 at 8:48 PM, Casey Link <unnamedrambler at gmail.com> wrote:
> More on topic:
>
> ScanManager crashing because of a 0 statusbar: http://rafb.net/p/oH7Z1I25.html
> DynamicPlaylist crashing because of a 0 statusbar:
> http://rafb.net/p/9L8iKT25.html
>
>
> I could wrap if( the::statusBar() ) around all these instances, but
> that seems like a hack. Why can't the statusbar be initialized after
> MainWindow?
>
> Casey
>
Realized pastebin deletes after two days, so here's the scanmanager
crash... though it's not really interesting.
SCANMANAGER CRASH:
Thread 1 (Thread 0xb3791960 (LWP 30618)):
[KCrash Handler]
#5 0xb5bad430 in QStatusBar::d_func (this=0x0) at widgets/qstatusbar.h:109
#6 0xb5bac005 in QStatusBar::clearMessage (this=0x0) at
widgets/qstatusbar.cpp:583
#7 0xb7dc40d2 in StatusBarNG::newProgressOperation (this=0x0,
owner=0x84364f0, description=@0xbfe0ce68) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/statusbar_ng/StatusBar.cpp:105
#8 0xaebe03e1 in XmlParseJob (this=0x84364f0, parent=0x822a548,
collection=0x8379c98) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/collection/sqlcollection/ScanManager.cpp:413
#9 0xaebe21d4 in ScanManager::startFullScan (this=0x822a548) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/collection/sqlcollection/ScanManager.cpp:113
#10 0xaebe22cc in ScanManager::qt_metacall (this=0x822a548,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe0cf7c)
at /home/ramblurr/kde/build/extragear/multimedia/amarokgit/src/collection/sqlcollection/ScanManager.moc:75
#11 0xb6c4aa89 in QMetaObject::activate (sender=0x838c7d0,
from_signal_index=4, to_signal_index=4, argv=0x0) at
kernel/qobject.cpp:3013
#12 0xb6c4af0b in QMetaObject::activate (sender=0x838c7d0,
m=0xb6ce4a68, local_signal_index=0, argv=0x0) at
kernel/qobject.cpp:3086
#13 0xb6c54a95 in QSingleShotTimer::timeout (this=0x838c7d0) at
.moc/debug-shared/qtimer.moc:74
#14 0xb6c54bb2 in QSingleShotTimer::timerEvent (this=0x838c7d0) at
kernel/qtimer.cpp:300
#15 0xb6c48d20 in QObject::event (this=0x838c7d0, e=0xbfe0d4a4) at
kernel/qobject.cpp:1105
#16 0xb576d97d in QApplicationPrivate::notify_helper (this=0x8073080,
receiver=0x838c7d0, e=0xbfe0d4a4) at kernel/qapplication.cpp:3800
#17 0xb576dc63 in QApplication::notify (this=0xbfe0e30c,
receiver=0x838c7d0, e=0xbfe0d4a4) at kernel/qapplication.cpp:3392
#18 0xb7a2242b in KApplication::notify (this=0xbfe0e30c,
receiver=0x838c7d0, event=0xbfe0d4a4) at
/home/ramblurr/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#19 0xb6c35b52 in QCoreApplication::notifyInternal (this=0xbfe0e30c,
receiver=0x838c7d0, event=0xbfe0d4a4) at
kernel/qcoreapplication.cpp:587
#20 0xb6c396cb in QCoreApplication::sendEvent (receiver=0x838c7d0,
event=0xbfe0d4a4) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 0xb6c68619 in QTimerInfoList::activateTimers (this=0x8075db4) at
kernel/qeventdispatcher_unix.cpp:563
#22 0xb6c65e00 in timerSourceDispatch (source=0x8075d80) at
kernel/qeventdispatcher_glib.cpp:166
#23 0xb4bbddd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb4bc1193 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb4bc174e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0xb6c65130 in QEventDispatcherGlib::processEvents (this=0x8073138,
flags=@0xbfe0d614) at kernel/qeventdispatcher_glib.cpp:325
#27 0xb581602c in QGuiEventDispatcherGlib::processEvents
(this=0x8073138, flags=@0xbfe0d644) at
kernel/qguieventdispatcher_glib.cpp:204
#28 0xb6c32a12 in QEventLoop::processEvents (this=0xbfe0d6c0,
flags=@0xbfe0d684) at kernel/qeventloop.cpp:149
#29 0xb6c32c51 in QEventLoop::exec (this=0xbfe0d6c0,
flags=@0xbfe0d6c8) at kernel/qeventloop.cpp:196
#30 0xb6e7f3de in KJob::exec (this=0x84413a0) at
/home/ramblurr/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:194
#31 0xaf11039a in AmpacheService::authenticate (this=0x8410cb8) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/services/ampache/AmpacheService.cpp:191
#32 0xaf110a3a in AmpacheService (this=0x8410cb8, parent=0x832b4d0,
name=@0xbfe0d8f8, url=@0xbfe0d8dc, username=@0xbfe0d8e0,
password=@0xbfe0d8e4)
at /home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/services/ampache/AmpacheService.cpp:118
#33 0xaf11110e in AmpacheServiceFactory::init (this=0x832b4d0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/services/ampache/AmpacheService.cpp:47
#34 0xb7d191d2 in ServiceFactory::trackForUrl (this=0x832b4d0,
url=@0x8411598) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/services/ServiceBase.cpp:56
#35 0xb7d6ee92 in CollectionManager::trackForUrl (this=0x832b668,
url=@0x8411598) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/collection/CollectionManager.cpp:363
#36 0xb7d5c9e7 in Meta::XSPFPlaylist::tracks (this=0x83dd1c0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/meta/XSPFPlaylist.cpp:162
#37 0xb7cf1880 in Model (this=0x83aaca8) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistModel.cpp:86
#38 0xb7cf1def in Playlist::Model::instance () at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistModel.cpp:55
#39 0xb7cf5942 in DynamicTrackNavigator (this=0x8378f38,
p=@0xbfe0dbe8) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/navigators/DynamicTrackNavigator.cpp:35
#40 0xb7ce5791 in Playlist::Actions::playlistModeChanged
(this=0x8208bb8) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistActions.cpp:195
#41 0xb7ce5f9c in Actions (this=0x8208bb8, parent=0x0) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistActions.cpp:75
#42 0xb7ce600b in Playlist::Actions::instance () at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistActions.cpp:51
#43 0xb7ce603d in The::playlistActions () at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/playlist/PlaylistActions.cpp:288
#44 0xb7de4ea1 in MainWindow::createActions (this=0x80df198) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/MainWindow.cpp:632
#45 0xb7deb4db in MainWindow (this=0x80df198) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/MainWindow.cpp:109
#46 0xb7dd5c49 in App::continueInit (this=0xbfe0e30c) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/App.cpp:542
#47 0xb7dd8986 in App (this=0xbfe0e30c) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/App.cpp:189
#48 0x0804bf35 in main (argc=1, argv=0xbfe0e804) at
/home/ramblurr/kde/src/extragear/multimedia/amarokgit/src/main.cpp:127
More information about the Amarok-devel
mailing list