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

Amarok + OSX Crash? (with debug)

Tags: None
(comma "," separated)
xrayspx
Registered Member
Posts
11
Karma
0
OS

Amarok + OSX Crash? (with debug)

Sat Jul 28, 2007 6:09 am
I've mentioned this a few times, but with random frequency, Amarok will either freeze or disappear under Apple's X11 on OSX.  Sometimes it is several times in a row, and often it is several weeks between occurrences.  Since upgrading to 1.4.6, it seems to be more often, so I have been running amarokapp from the command line in hopes of catching it.  What follows is a "normal" song-change event, followed by a "crash" song-change event.  For the record, I am running:

Version: Amarok 1.4.6 (source build via fink.  Same issue occurred with earlier versions)

OS: Mac OSX 1.4.10

DB: Internal SQLite

System: Mac Pro 2.6Ghz, 3GB, Amarok library is on secondary local disk (same issue occurred with a networked library, I moved the files local to eliminate "network issues" as a cause).

Engine: Xine

Normal Song-Change event:

amarok: [xine-engine] XINE_EVENT_UI_PLAYBACK_FINISHED
amarok: BEGIN: void EngineController::play(const MetaBundle&, uint)
amarok:  [controller] Loading URL: file:///Volumes/Macintosh%20HD%20-%20More%20Data/CDs/jerry_cantrell/boggy_depot/03-jerry_cantrell-my_song.mp3
amarok: BEGIN: virtual bool XineEngine::load(const KURL&, bool)
amarok:    [xine-engine] Before xine_open() *****
amarok:    [xine-engine] After xine_open() *****
amarok:    [xine-engine] XINE_PARAM_EARLY_FINISHED_EVENT enabled
amarok: END__: virtual bool XineEngine::load(const KURL&, bool) - Took 0.016s
amarok: BEGIN: virtual bool XineEngine::play(uint)
amarok: BEGIN: void EngineSubject::stateChangedNotify(Engine::State)
amarok:      [virtual void Amarok::StatusBar::engineStateChanged(Engine::State, Engine::State)] Line: 153
amarok: BEGIN: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State)
amarok: END__: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State) - Took 2.7e-05s
amarok: BEGIN: virtual void PlayerWidget::engineStateChanged(Engine::State, Engine::State)
amarok: END__: virtual void PlayerWidget::engineStateChanged(Engine::State, Engine::State) - Took 1.4e-05s
amarok: END__: void EngineSubject::stateChangedNotify(Engine::State) - Took 0.0057s
amarok: END__: virtual bool XineEngine::play(uint) - Took 0.006s
amarok: BEGIN: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)
amarok:    [Moodbar] Resetting moodbar: /Volumes/Macintosh HD - More Data/CDs/jerry_cantrell/boggy_depot/03-jerry_cantrell-my_song.mp3
amarok: BEGIN: virtual void ThreadManager::Thread::run()
amarok:      [ContextBrowser] [CUEFILE]: /Volumes/Macintosh HD - More Data/CDs/jerry_cantrell/boggy_depot/03-jerry_cantrell-my_song.cue - Shoot blindly and missed, searching for other cue files.
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - Took 0.00043s
amarok:      [ContextBrowser] [CUEFILE]: - Didn't find any matching cue file.
amarok:      [Moodbar] Resetting moodbar: /Volumes/Macintosh HD - More Data/CDs/jerry_cantrell/boggy_depot/03-jerry_cantrell-my_song.mp3
amarok: END__: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool) - Took 0.17s
amarok: END__: void EngineController::play(const MetaBundle&, uint) - Took 0.19s
amarok: BEGIN: void CurrentTrackJob::showArtistsAlbums(const QString&, uint, uint)
amarok:    [xine-engine] Metadata received.
amarok: END__: void CurrentTrackJob::showArtistsAlbums(const QString&, uint, uint) - Took 0.21s
amarok: END__: virtual void ThreadManager::Thread::run() - Took 0.39s
amarok: [ThreadManager] Job completed: CurrentTrackJob. Jobs pending: 0
amarok: kio_data@0x556ba20::get(const KURL& url)
amarok: kio_data@0x556ba20::get(const KURL& url)
amarok: kio_data@0x556ba20::get(const KURL& url)
amarok: [Scrobbler] Suggestions retrieved (30)
amarok: [CollectionDB] Received similar artists
amarok: BEGIN: virtual void ThreadManager::Thread::run()
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - Took 0.00033s
amarok: END__: virtual void ThreadManager::Thread::run() - Took 0.1s
amarok: [ThreadManager] Job completed: SimilarArtistsInsertionJob. Jobs pending: 0
amarok: BEGIN: virtual void ThreadManager::Thread::run()
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - Took 0.00026s
amarok: BEGIN: void CurrentTrackJob::showArtistsAlbums(const QString&, uint, uint)
amarok: END__: void CurrentTrackJob::showArtistsAlbums(const QString&, uint, uint) - Took 0.19s
amarok: END__: virtual void ThreadManager::Thread::run() - Took 0.99s
amarok: [ThreadManager] Job completed: CurrentTrackJob. Jobs pending: 0



This is the Crash Event:

amarok: [xine-engine] XINE_EVENT_UI_PLAYBACK_FINISHED
amarok: BEGIN: void EngineController::play(const MetaBundle&, uint)
amarok:  [controller] Loading URL: file:///Volumes/Macintosh%20HD%20-%20More%20Data/CDs/unowned/punk/left/Misfits/The%2
0Misfits%20-%2092%20-%20T.V.%20Casualty.mp3
amarok: BEGIN: virtual bool XineEngine::load(const KURL&, bool)
amarok:    [xine-engine] Before xine_open() *****
amarok:    [xine-engine] After xine_open() *****
amarok:    [xine-engine] XINE_PARAM_EARLY_FINISHED_EVENT enabled
amarok: END__: virtual bool XineEngine::load(const KURL&, bool) - Took 0.022s
amarok: BEGIN: virtual bool XineEngine::play(uint)
amarok: BEGIN: void EngineSubject::stateChangedNotify(Engine::State)
amarok:      [virtual void Amarok::StatusBar::engineStateChanged(Engine::State, Engine::State)] Line: 153
amarok: BEGIN: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State)
amarok: END__: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State) - Took 3.3e-05s
amarok: BEGIN: virtual void PlayerWidget::engineStateChanged(Engine::State, Engine::State)
amarok: END__: virtual void PlayerWidget::engineStateChanged(Engine::State, Engine::State) - Took 1.4e-05s
amarok: END__: void EngineSubject::stateChangedNotify(Engine::State) - Took 0.0063s
amarok: END__: virtual bool XineEngine::play(uint) - Took 0.0065s
amarok: BEGIN: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)
amarok:    [Moodbar] Resetting moodbar: /Volumes/Macintosh HD - More Data/CDs/unowned/punk/left/Misfits/The Misfits - 9
2 - T.V. Casualty.mp3
amarok: BEGIN: virtual void ThreadManager::Thread::run()
amarok:      [ContextBrowser] [CUEFILE]: /Volumes/Macintosh HD - More Data/CDs/unowned/punk/left/Misfits/The Misfits -
92 - T.V. Casualty.cue - Shoot blindly and missed, searching for other cue files.
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - Took 0.00024s
amarok:      [ContextBrowser] [CUEFILE]: - Didn't find any matching cue file.
amarok:      [Moodbar] Resetting moodbar: /Volumes/Macintosh HD - More Data/CDs/unowned/punk/left/Misfits/The Misfits -
92 - T.V. Casualty.mp3
amarok: END__: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool) - Took 0.18s
amarok: END__: void EngineController::play(const MetaBundle&, uint) - Took 0.21s
amarok:  [xine-engine] Metadata received.
amarok: BEGIN: void CurrentTrackJob::showArtistsAlbums(const QString&, uint, uint)
amarokapp(25621,0x445ae00) malloc: *** error for object 0x553b6d0: incorrect checksum for freed object - object was prob
ably modified after being freed, break at szone_error to debug
amarokapp(25621,0x445ae00) malloc: *** set a breakpoint in szone_error to debug
Bus error



Again, this usually happens within a second of song-change.  Sometimes Amarok appears to hang, sometimes it disappears entirely (like this event).  Any ideas are welcome, and "Wait until a native build in October" is a VALID response.  I am hoping for Amarok to blow iTunes out of the water once and for all once it is native, and I'm hoping to squash any showstoppers early.

I'm also suspicious of Apples X11, since everything seems somewhat less stable, both QT and GTK apps crashing under excessive use of the scroll-wheel for instance.  Maybe I just have two messed up Macs, but I hope not.

Thanks!
xrayspx
Registered Member
Posts
11
Karma
0
OS

Little Followup

Tue Jul 31, 2007 9:23 pm
Here's what it looks like when Amarok freezes:

amarok:      [Moodbar] Resetting moodbar: /Volumes/Secondary/CDs/alice_in_chains/live/14-alice_in_chains-dam_that_river.mp3
Amarok is crashing...
Bus error
chris-curtiss-computer:~/News/Pan xrayspx$ Running: gdb --nw -n --batch -x /private/tmp/kde-xrayspx/amarokvXUvLP.tmp amarokapp 1
/Users/xrayspx/News/Pan/1: No such file or directory.
Unable to access task for process-id 1: (os/kern) failure.
No stack.
No stack.
Running: file `which amarokapp`
1.4.6 [___stripped][frames:  0][xine]


It's looking for /Users/xrayspx/News/Pan/1 just because I was in that directory when I launched Amarok. 
User avatar
dangle_wtf
Moderator
Posts
1252
Karma
0
Sorry, I'd check but at the moment I can't get Amarok compiled on OSX. I suspect I need to get a more recent Dev Tools package.
Perhaps try disabling moodbar in settings?


"There are two theories to arguing with women. Neither one works."
.
If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss"
xrayspx
Registered Member
Posts
11
Karma
0
OS
dangle_wtf wrote:Sorry, I'd check but at the moment I can't get Amarok compiled on OSX. I suspect I need to get a more recent Dev Tools package.
Perhaps try disabling moodbar in settings?


Yeah, the moodbar isn't there, and I didn't install the plugin.  It's greyed out in the menu.  I don't get why it's doing that honestly.

I tried the KDE4/Amarok 2 native install, but it wouldn't scan the collection, and personally, I really didn't like the UI changes wrt artist list & playlist, with the context stuff down the middle.  I'm sure that as that becomes more stable, there will also be UI changes along the way :-)

My money is still on X11 and maybe timing.  In any case, thanks for the input.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]