This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok dies on startup

Tags: None
(comma "," separated)
Moose
Karma
0

Amarok dies on startup

Tue Jan 18, 2005 2:15 am
So after having previously worked amarok now dies on startup for some unknown reason.

No idea why it is dying. Other music programs (Juk, Rhythmbox) startup and play fine.

Tried going through and deleting all config files I could find. Then comes up with as if just installed. Go through stuff fine. Get done and about to start program and then it dies.

Pertinent system info:
Mandrake 10.1
IBM Thinkpad T41
CVS Amarok (as of today1/17. recompiled to see if that fixed it. didn\'t)

Output on startup:
[code:1][1] 30247
$ [amaroK] Connecting to /home/ssmyth/.kde/socket-smyth-4/amarok.loader_socket
[amaroK] Starting amarokapp..
[amaroK] If you want a backtrace, run gdb against amarokapp, not amarok!
amarok: BEGIN: App::App()
amarok: BEGIN: static amaroK::«»Plugin* PluginManager::createFromQuery(const QString&«»)
amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 3 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] == \'void-engine\' and [X-KDE-amaroK-rank] > 0
amarok: [PluginManager] Trying to load: libamarok_void-engine_plugin
amarok: [amaroK::«»Plugin::«»Plugin()]
amarok:
amarok: PluginManager Service Info:
amarok: ---------------------------
amarok: name :
amarok: library : libamarok_void-engine_plugin
amarok: desktopEntryPath : amarok_void-engine_plugin.desktop
amarok: X-KDE-amaroK-plugintype : engine
amarok: X-KDE-amaroK-name : void-engine
amarok: X-KDE-amaroK-authors : (Max Howell,Mark Kretschmann)
amarok: X-KDE-amaroK-rank : 1
amarok: X-KDE-amaroK-version : 1
amarok: X-KDE-amaroK-framework-version: 3
amarok: END: static amaroK::«»Plugin* PluginManager::createFromQuery(const QString&«»)
amarok: [CollectionDB::CollectionDB()]
amarok: [CollectionDB] Available db connections: 1
amarok: [CollectionDB] Rebuilding database!
amarok: [void CollectionDB::dropTables(DbConnection*)]
amarok: [void CollectionDB::createTables(DbConnection*)]
amarok: [CollectionDB] Rebuilding stats-database!
amarok: [void CollectionDB::dropStatsTable()]
amarok: [void CollectionDB::createStatsTable()]
amarok: [CollectionDB] Available db connections: 5
amarok: [Scrobbler] Couldn\'t open file: /home/USER/.kde/share/apps/amarok/submit.xml
QLayout: Adding KToolBar/playlist_toolbar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
amarok: Initialising browsers, please report long start times!
amarok: BEGIN: ContextBrowser
amarok: [void ContextBrowser::setStyleSheet()]
amarok: BEGIN: amaroK::Color::Color(const QColor&«»)
amarok: [ContextBrowser] Initial Color Properties: s:124 v:127
amarok: [ContextBrowser] Unapplied Contrast: 36
amarok: [ContextBrowser] Final Colour Properties: s:30 v:163
amarok: END: amaroK::Color::Color(const QColor&«»)
amarok: END: Time: 0.03s
amarok: BEGIN: CollectionBrowser
amarok: [CollectionView::CollectionView(CollectionBrowser*)]
QMetaObject::findSignal:CollectionView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
amarok: [void CollectionView::renderView()]
amarok: [CollectionDB] SELECT DISTINCT artist.name FROM tags,album,artist WHERE 1 AND tags.sampler = 0 AND album.id=tags.album AND artist.id=tags.artist ORDER BY LOWER( artist.name )
amarok: [CollectionDB] SELECT DISTINCT artist.name FROM tags,album,artist WHERE 1 AND tags.sampler = 1 AND album.id=tags.album AND artist.id=tags.artist LIMIT 0, 1
amarok: END: Time: 0.02s
amarok: BEGIN: PlaylistBrowser
amarok: [KDE::«»ProgressBar::«»ProgressBar(QWidget*, QLabel*)]
amarok: [StatusBar] QLabel, mainTextLabel: 13: 0
amarok: [StatusBar] QHBox, progressBox: 26: 0
amarok: [StatusBar] QLabel, unnamed: 13: 0
amarok: [StatusBar] QFrame, positionBox: 21: 0
amarok: END: Time: 0.03s
amarok: BEGIN: SearchBrowser
QMetaObject::findSignal:KListView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
amarok: END: Time: 0s
amarok: BEGIN: MediaBrowser
amarok: END: Time: 0.03s
amarok: BEGIN: FileBrowser
amarok: END: Time: 0.02s
amarok: [KDE::«»ProgressBar::«»ProgressBar(QWidget*, QLabel*)]
amarok: BEGIN: void App::applySettings(bool)
amarok: [void ContextBrowser::setStyleSheet()]
amarok: BEGIN: amaroK::Color::Color(const QColor&«»)
amarok: [ContextBrowser] Initial Color Properties: s:124 v:127
amarok: [ContextBrowser] Unapplied Contrast: 36
amarok: [ContextBrowser] Final Colour Properties: s:30 v:163
amarok: END: amaroK::Color::Color(const QColor&«»)
QColor::setRgb: RGB parameter(s) out of range
QColor::setRgb: RGB parameter(s) out of range
QColor::setRgb: RGB parameter(s) out of range
amarok: [ThreadWeaver] Job completed: PlaylistLoader. Jobs pending: 1
amarok: WARNING: NOT-IMPLEMENTED: void KDE::StatusBar::shortLongMessage(const QString&, const QString&«»)
amarok: [PlaylistLoader] file:/home/ssmyth/.kde/share/apps/amarok/current.xml
amarok: [ThreadWeaver] Job completed: PlaylistLoader. Jobs pending: 0
amarok: BEGIN: static EngineBase* EngineController::loadEngine()
amarok: BEGIN: static amaroK::«»Plugin* PluginManager::createFromQuery(const QString&«»)
amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 3 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] == \'\' and [X-KDE-amaroK-rank] > 0
amarok: [PluginManager] [static amaroK::«»Plugin* PluginManager::createFromQuery(const QString&«»)] No matching plugin found.
amarok: END: static amaroK::«»Plugin* PluginManager::createFromQuery(const QString&«»)
amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 3 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] != \'\' and [X-KDE-amaroK-rank] > 0
amarok: [PluginManager] Trying to load: libamarok_gstengine_plugin
amarok: [amaroK::«»Plugin::«»Plugin()]
amarok: [GstEngine::GstEngine()]
amarok:
amarok: PluginManager Service Info:
amarok: ---------------------------
amarok: name : GStreamer Engine
amarok: library : libamarok_gstengine_plugin
amarok: desktopEntryPath : amarok_gstengine_plugin.desktop
amarok: X-KDE-amaroK-plugintype : engine
amarok: X-KDE-amaroK-name : gst-engine
amarok: X-KDE-amaroK-authors : (Mark Kretschmann)
amarok: X-KDE-amaroK-rank : 255
amarok: X-KDE-amaroK-version : 1
amarok: X-KDE-amaroK-framework-version: 3
amarok: BEGIN: virtual bool GstEngine::init()
amarok: BEGIN: bool GstEngine::createPipeline()
amarok: [Gst-Engine] Thread scheduling priority: 2
amarok: [Gst-Engine] Sound output method: osssink
amarok: [Gst-Engine] CustomSoundDevice: false
amarok: [Gst-Engine] Sound Device:
amarok: [Gst-Engine] CustomOutputParams: false
amarok: [Gst-Engine] Output Params:
amarok: [void gst_equalizer_base_init(void*)]
amarok: [void gst_equalizer_class_init(GstEqualizerClass*)]
amarok: [void gst_equalizer_init(GstEqualizer*)]
amarok: [GstPadLinkReturn gst_equalizer_link(GstPad*, const GstCaps*)]
Caps negotiation succeeded with 44100 Hz @ 2 channels
amarok: END: bool GstEngine::createPipeline()
amarok: END: virtual bool GstEngine::init()
amarok: [static void PluginManager::unload(amaroK::«»Plugin*)]
amarok: [virtual amaroK::«»Plugin::~Plugin()]
amarok: [PluginManager] Unloading library: libamarok_void-engine_plugin
amarok: END: static EngineBase* EngineController::loadEngine()
amarok: [void CollectionView::renderView()]
amarok: [CollectionDB] SELECT DISTINCT artist.name FROM tags,album,artist WHERE 1 AND tags.sampler = 0 AND album.id=tags.album AND artist.id=tags.artist ORDER BY LOWER( artist.name )
amarok: [CollectionDB] SELECT DISTINCT artist.name FROM tags,album,artist WHERE 1 AND tags.sampler = 1 AND album.id=tags.album AND artist.id=tags.artist LIMIT 0, 1
amarok: END: void App::applySettings(bool)
amarok: Pruned 0 of 0 amazon cover images.
amarok: END: App::App()
[amaroK] Startup successful
[amaroK] Exiting
amarok: [virtual void LoaderServer::newConnection(int)]
amarok: Received: STARTUP (8 bytes)
[/code:1]

I can run a full backtrace if you want it. It\'s rather long. Here are some of the pertinent parts:
[code:1]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1101836256 (LWP 30399)]
0x41a0c3a1 in strchr () from /lib/tls/libc.so.6
(gdb) bt
0 0x41a0c3a1 in strchr () from /lib/tls/libc.so.6
#1 0x4388b060 in gst_ffmpegcsp_register () from /usr/lib/gstreamer-0.8/libgstffmpeg.so
#2 0x0000000a in ?? ()
#3 0x00000000 in ?? ()
#4 0x42d1ca1d in gst_debug_log_valist () from /usr/lib/libgstreamer-0.8.so.1
#5 0xbfffdc00 in ?? ()
#6 0x00000000 in ?? ()
#7 0x00000000 in ?? ()
#8 0x00001000 in ?? ()
#9 0x439da465 in ?? () from /usr/lib/gstreamer-0.8/libgstffmpeg.so

[clipped]

#415 0x42d5e3ab in ?? () from /usr/lib/libgstreamer-0.8.so.1
#416 0x42ce9044 in __JCR_LIST__ () from /usr/lib/kde3/libamarok_gstengine_plugin.so
#417 0x00000001 in ?? ()
#418 0x086f2fa8 in ?? ()
#419 0x00000000 in ?? ()
#420 0x42ce9044 in __JCR_LIST__ () from /usr/lib/kde3/libamarok_gstengine_plugin.so
#421 0x00000001 in ?? ()
#422 0x086f2fa8 in ?? ()
#423 0xbfffe3b8 in ?? ()
#424 0x42ccbffa in GstEngine::canDecode () from /usr/lib/kde3/libamarok_gstengine_plugin.so
Previous frame inner to this frame (corrupt stack?)
[/code:1]

Thanks for any help.

Best,

Moose
muesli
KDE Developer
Posts
230
Karma
0

Re:Amarok dies on startup

Tue Jan 18, 2005 6:28 am
invalid backtrace, sorry ;-(

please configure amarok with --enable-debug=full and run make install again. after that you\'ll be able to get a valid backtrace.

thanks!
Moose
Karma
0

Re:Amarok dies on startup

Tue Jan 18, 2005 7:58 am
invalid backtrace, sorry ;-(

please configure amarok with --enable-debug=full and run make install again. after that you\'ll be
able to get a valid backtrace.

thanks!


Hmm. This is a little wierd.

I go to rebuild with the with the --enable-debug=full option. When I try to make it can\'t find libtag.so when linking. It\'s looking it /usr/lib/libtag.so. Mine is in /usr/local/lib.

Try remaking and make installing taglib. Goes fine but same error when compiling amarok. Lookup the lastest taglib rpm and install it. Try to compile amarok again. Still no love. Run make install for taglib again. Now amarok compiles and runs fine.

Maybe I missed the error when I recompiled amarok and then it installed anyway? Not sure why the different locations of libtag.

Upshot is it looks like it\'s working. Thanks for pointing me in the right direction.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]