On Sun, 13 May 2012 18:22:11 +0200
Antoine Jacoutot <[email protected]> wrote:
> On Sun, May 13, 2012 at 02:00:38PM +0200, Thomas Pfaff wrote:
> > ogg123 in audio/vorbis-tools will abort if interrupted or it reaches
> > the end of a file because it tries to unlock an already unlocked mutex.

(or maybe it never got locked in the first place)

> > I suppose the better way to fix this is to figure out why it tries to
> > unlock the mutex twice and correct that, though I'm going to leave that
> > to someone else if this quick fix is not satisfactory ;-)
>
> I think this particular issue should be fixed, not worked around.

I spent a bit more time on this one but I'm not getting any wiser ;-/

Are you sure upstream cares about bugs like this ("works on Linux")?

Since I don't use this program that much I've lost interest and I'm
satisfied with my quick hack (at least it prevents it from aborting).

> > + void status_reset_output_lock ()
> > + {
> > ++  pthread_mutex_trylock(&output_lock); /* XXX may already be unlocked */
> > +   pthread_mutex_unlock(&output_lock);

Reply via email to