Bug 148768 - crashes when trying to play back mp3: pulsecore/mutex-posix.c:81: pa_mutex_unlock: Assertion `_r == 0' failed.
Summary: crashes when trying to play back mp3: pulsecore/mutex-posix.c:81: pa_mutex_un...
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-12 13:57 UTC by Marc Haber
Modified: 2007-09-20 22:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Haber 2007-08-12 13:57:04 UTC
Version:           1.4.6-1 (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When I am trying to play back mp3 with amarok, amarok takes full CPU and crashes after a few seconds. No sound is heard.

Here is what amarokapp writes to the console while doing this:

$ amarokapp
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x81538d8 ): KAccel object already contains an action name "play_pause"
QLayout "unnamed" added to QVBox "unnamed", which already has a layout
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x81538d8 ): KAccel object already contains an action name "play_pause"
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
QObject::connect: Incompatible sender/receiver arguments
        StarManager::ratingsColorsChanged() --> ContextBrowser::ratingOrScoreOrLabelsChanged(const QString&)
STARTUP
amarokapp: pulsecore/mutex-posix.c:81: pa_mutex_unlock: Assertion `_r == 0' failed.
Amarok is crashing...
Running: gdb --nw -n --batch -x /tmp/kde-mh/amarokBxJxjb.tmp amarokapp 24339
Failed to read a valid object file image from memory.
Running: file `which amarokapp`
1.4.6 [___stripped][validity: 0.48][frames: 147][xine]

Amarok has crashed! We are terribly sorry about this :(

But, all is not lost! Perhaps an upgrade is already available which fixes the problem. Please check your distribution's software repository.
$

this is also filed in the Debian BTS as #430352
Comment 1 Mark Kretschmann 2007-08-12 14:15:03 UTC
Well, if you look at the backtrace, it says: "pulsecore/mutex-posix.c".

So I'm assuming you're using the PulseAudio xine plugin, and the crash is in there. Which makes this report invalid for Amarok. Could be a xinelib or PulseAudio issue.
Comment 2 Marc Haber 2007-08-23 10:37:40 UTC
I see. I didn't enable PulseAudio on purpose, and my system has a package called pulsecore uninstalled.

If you advise how to disable PulseAudio, I can cross-check.

Thanks for the fast answer, which I obviously missed.

Greetings
Marc
Comment 3 Jeff Mitchell 2007-08-23 22:31:51 UTC
Your system uses binary packages.  Some package or another then was built against PulseAudio.  So not having the pulsecore package installed may in fact be causing the problem.

Otherwise, bug your Xine package maintainer.
Comment 4 Marc Haber 2007-09-20 20:59:29 UTC
Is it possible to disable pulseaudio without recompiling?
Comment 5 Harald Sitter 2007-09-20 22:48:27 UTC
No, this totally depends on xine, so either xine has to be built without pulseaudio support or properly packaged (i.e. depend on pulsecore).