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

amarok crashes on startup sigsegv

Tags: None
(comma "," separated)
teknik
Registered Member
Posts
6
Karma
0

amarok crashes on startup sigsegv

Mon Jul 10, 2006 10:00 pm
I have been trying for like a week now to get amarok running and I just seemt o run into errors everywhere I go.  it compiles and installs fine, when I run it I get the first run wizard.  everything goes fine, finish the wizard, and then amarok crashes with a SIGSEGV, every time.  I am using amarok 1.4.1 on Slackware 10.2, kde 3.5.3.  Here is the output:

Code: Select all
terry@terrylinux:~$ amarokapp
amarok: BEGIN: App::App()
amarok:   BEGIN: void App::fixHyperThreading()
amarok:     Fix not enabled
amarok:   END__: void App::fixHyperThreading() - Took 0.00056s
amarok:   BEGIN: DeviceManager::DeviceManager()
amarok:     BEGIN: Medium* DeviceManager::getDevice(QString)
amarok:       DeviceManager: getDevice called with name argument = init
amarok:       BEGIN: QStringList DeviceManager::getDeviceStringList(bool)
amarok:       END__: QStringList DeviceManager::getDeviceStringList(bool) - Took 0.00045s
amarok:     END__: Medium* DeviceManager::getDevice(QString) - Took 0.00096s
amarok:     DeviceManager:  connectDCOPSignal returned sucessfully!
amarok:   END__: DeviceManager::DeviceManager() - Took 0.0023s
amarok:   BEGIN: EngineBase* EngineController::loadEngine(const QString&)
amarok:     [PluginManager] Plugin trader constraint: [X-KDE-Amarok-framework-version] == 25 and [X-KDE-Amarok-plugintype] == 'engine' and [X-KDE-Amarok-name] != 'void-engine' and [X-KDE-Amarok-rank] > 0
amarok:     [PluginManager] Plugin trader constraint: [X-KDE-Amarok-framework-version] == 25 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:     PluginManager Service Info:
amarok:     ---------------------------
amarok:     name                          : <no engine>
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: 25
amarok:
amarok:   END__: EngineBase* EngineController::loadEngine(const QString&) - Took 0.011s
amarok:   BEGIN: void PlaylistWindow::init()
amarok:     BEGIN: CollectionDB::CollectionDB()
amarok:       BEGIN: void CollectionDB::initialize()
amarok:         [ThreadWeaver] Creating pthread key, exit value is 0
amarok:         BEGIN: MySqlConnection::MySqlConnection(const MySqlConfig*)
amarok:           [CollectionDB] [MySqlConnection::MySqlConnection(const MySqlConfig*)]
amarok:           [CollectionDB] Connection Charset is now: latin1
amarok:         END__: MySqlConnection::MySqlConnection(const MySqlConfig*) - Took 0.009s
amarok:         [CollectionDB] Podcast tables created and up to date
amarok:       END__: void CollectionDB::initialize() - Took 0.013s
amarok:       [CollectionDB] INotify not available, using QTimer!
amarok:     END__: CollectionDB::CollectionDB() - Took 0.018s
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
amarok:     BEGIN: Creating browsers. Please report long start times!
amarok:       BEGIN: ContextBrowser
amarok:         [ContextBrowser] Rendering showCurrentTrack()
amarok:       END__: ContextBrowser - Took 0.085s
amarok:       BEGIN: CollectionBrowser
amarok:         [CollectionView::CollectionView(CollectionBrowser*)]
amarok:         BEGIN: void CollectionView::renderView(bool)
amarok:           current browser is not collection, aborting renderView()
amarok:         END__: void CollectionView::renderView(bool) - Took 0.00031s
amarok:       END__: CollectionBrowser - Took 0.0088s
amarok:       BEGIN: PlaylistBrowser
amarok:         BEGIN: PlaylistCategory* PlaylistBrowser::loadPodcasts()
amarok:         END__: PlaylistCategory* PlaylistBrowser::loadPodcasts() - Took 0.0023s
amarok:       END__: PlaylistBrowser - Took 0.011s
amarok:       BEGIN: FileBrowser
amarok:       END__: FileBrowser - Took 0.046s
amarok:       [PluginManager] Plugin trader constraint: [X-KDE-Amarok-framework-version] == 25 and [X-KDE-Amarok-plugintype] == 'mediadevice' and [X-KDE-Amarok-rank] > 0
amarok:       [MediaBrowser] mediumAdded: (true,/org/kde/mediamanager/fstab/devhda2fat-c,hda2,Hard Disk (hda2),,true,/dev/hda2,/fat-c,vfat,true,,media/hdd_mounted,)
amarok:       BEGIN: MediaDevice* MediaBrowser::loadDevicePlugin(const QString&)
amarok:       END__: MediaDevice* MediaBrowser::loadDevicePlugin(const QString&) - Took 0.00014s
amarok:     END__: Creating browsers. Please report long start times! - Took 0.18s
amarok:   END__: void PlaylistWindow::init() - Took 0.26s
amarok:   BEGIN: UrlLoader
amarok:     BEGIN: UrlLoader::UrlLoader(const KURL::List&, QListViewItem*, bool)
amarok:       [KDE::ProgressBar::ProgressBar(QWidget*, QLabel*)]
amarok:     END__: UrlLoader::UrlLoader(const KURL::List&, QListViewItem*, bool) - Took 0.0044s
amarok:     BEGIN: void App::applySettings(bool)
amarok:       [CollectionDB] Database engine settings changed: recreating DbConnections
amarok:       BEGIN: void CollectionDB::initialize()
amarok:         BEGIN: MySqlConnection::MySqlConnection(const MySqlConfig*)
amarok:           [CollectionDB] [MySqlConnection::MySqlConnection(const MySqlConfig*)]
amarok:           [CollectionDB] Connection Charset is now: latin1
amarok:         END__: MySqlConnection::MySqlConnection(const MySqlConfig*) - Took 0.001s
amarok:         [CollectionDB] Podcast tables created and up to date
amarok:       END__: void CollectionDB::initialize() - Took 0.0042s
amarok:       BEGIN: void CollectionView::renderView(bool)
amarok:         current browser is not collection, aborting renderView()
amarok:       END__: void CollectionView::renderView(bool) - Took 0.00023s
amarok:       [ContextBrowser] Rendering showCurrentTrack()
amarok:       [virtual void BrowserBar::polish()]
amarok:       [void ContextBrowser::tabChanged(QWidget*)]
amarok:       [ContextBrowser] Rendering showCurrentTrack()
amarok:       BEGIN: virtual void ThreadWeaver::Thread::run()
amarok:         [PlaylistLoader]
KCrash: Application 'amarokapp' crashing...


I have tried it with both mysql (yes I have it setup) and sqlite.  And I have tried deleting the .amarokrc as well as the collection.db and all that.

The backtrace is invalid, but with gdb I get this:

Code: Select all
#0  0x41d82d6c in TagLib::String::operator< () from /usr/local/lib/libtag.so.1
#1  0x40297de6 in std::_Rb_tree<TagLib::String, std::pair<TagLib::String const, TagLib::StringList>, std::_Select1st<std::pair<TagLib::String const, TagLib::StringList> >, std::less<TagLib::String>, std::allocator<std::pair<TagLib::String const, TagLib::StringList> > >::lower_bound ()
   from /opt/kde/lib/libamarok.so.0
#2  0x41d76727 in TagLib::Map<TagLib::String, TagLib::StringList>::operator[] ()
   from /usr/local/lib/libtag.so.1
#3  0x41d75d83 in TagLib::Ogg::XiphComment::addField () from /usr/local/lib/libtag.so.1
#4  0x41d763e6 in TagLib::Ogg::XiphComment::parse () from /usr/local/lib/libtag.so.1
#5  0x41d750d4 in TagLib::Ogg::XiphComment::XiphComment () from /usr/local/lib/libtag.so.1
#6  0x41d7746d in TagLib::Vorbis::File::read () from /usr/local/lib/libtag.so.1
#7  0x41d77102 in TagLib::Vorbis::File::File () from /usr/local/lib/libtag.so.1
#8  0x41d5ed64 in TagLib::FileRef::create () from /usr/local/lib/libtag.so.1
#9  0x41d5e75e in TagLib::FileRef::FileRef () from /usr/local/lib/libtag.so.1
#10 0x40295495 in MetaBundle::readTags () from /opt/kde/lib/libamarok.so.0
#11 0x403358a7 in UrlLoader::doJob () from /opt/kde/lib/libamarok.so.0
#12 0x403b428a in ThreadWeaver::Thread::run () from /opt/kde/lib/libamarok.so.0
#13 0x416cd605 in QThreadInstance::start () from /usr/lib/qt/lib/libqt-mt.so.3
#14 0x41f5bf5b in pthread_start_thread () from /lib/libpthread.so.0
#15 0x41f5bfdf in pthread_start_thread_event () from /lib/libpthread.so.0
#16 0x424fbbea in clone () from /lib/libc.so.6


any help please?  I really want to try out amarok.  Oh and btw, I seem to get the same error if I install from source or from a package.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Rebuild TagLib. Yours seems to be broken.


--
Mark Kretschmann - Amarok Developer
notlisted
Registered Member
Posts
1
Karma
0

Re: amarok crashes on startup sigsegv

Fri Jul 14, 2006 12:49 am
Check which version of tunepimp you have installed.  I had this same crash using Gentoo because I also had tunepimp-0.5.0 installed as part of a musicbrainz overlay.  Unfortunately 0.5.0 has changed API compatibility which will still allow Amarok 1.4.1 to compile, but it will crash on startup.  Either downgrade back to tunepimp-0.3.x releases or stay with Amarok 1.4.0.
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
notlisted wrote:Check which version of tunepimp you have installed.  I had this same crash using Gentoo because I also had tunepimp-0.5.0 installed as part of a musicbrainz overlay.  Unfortunately 0.5.0 has changed API compatibility which will still allow Amarok 1.4.1 to compile, but it will crash on startup.  Either downgrade back to tunepimp-0.3.x releases or stay with Amarok 1.4.0.
I love libtunepimp.


Amarok Developer


Bookmarks



Who is online

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