Esound sink broken in pulseaudio 0.9.6?

Romain Tartière romain at blogreen.org
Thu Jul 12 09:41:24 UTC 2007


Hi.

I've just tried with the default configuration provided with 0.9.6: the server
aborts when I try to play a file:

First shell:
> $ pulseaudio
> > $ #  The daemon waits, let's play a sound from another shell
> > $ paplay /usr/local/share/wesnoth/sounds/zombie-attack.wav
> Assertion failed: (_r == 0), function pa_mutex_free, file pulsecore/mutex-posix.c, line 70.
> zsh: abort      pulseaudio
> $

Alter a while, the client dies too:
> > Connection failure: Timeout
> > Assertion failed: (p->ref >= 1), function pa_packet_unref, file pulsecore/packet.c, line 74.
> > zsh: abort (core dumped)  paplay /usr/local/share/wesnoth/sounds/zombie-attack.wav
> > $

On Wed, Jul 11, 2007 at 05:37:49PM -0400, Joe Marcus Clarke wrote :
> backtrace with debugging symbols?

$ gdb /usr/local/bin/pulseaudio
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) b pa_mutex_free
Function "pa_mutex_free" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (pa_mutex_free) pending.
(gdb) r
Starting program: /usr/local/bin/pulseaudio 
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100342]
Breakpoint 2 at 0x280b4243: file pulsecore/mutex-posix.c, line 68.
Pending breakpoint "pa_mutex_free" resolved
E: pid.c: stale PID file, overwriting.
[New Thread 0x805a000 (LWP 100222)]

###############################################################
# The daemon waits, go play asound. I tried with musicpd too. #
###############################################################

[Switching to Thread 0x805a000 (LWP 100227)]

Breakpoint 2, pa_mutex_free (m=0x80533b0) at pulsecore/mutex-posix.c:68
68          assert(m);
(gdb) l
63          ASSERT_SUCCESS(pthread_mutex_init(&m->mutex, &attr));
64          return m;
65      }
66
67      void pa_mutex_free(pa_mutex *m) {
68          assert(m);
69
70          ASSERT_SUCCESS(pthread_mutex_destroy(&m->mutex));
71          pa_xfree(m);
72      }
(gdb) bt
#0  pa_mutex_free (m=0x80533b0) at pulsecore/mutex-posix.c:68
#1  0x2868da8b in pstream_free (p=0x806b600) at pulsecore/pstream.c:316
#2  0x2868f35a in pa_pstream_unref (p=0x806b600) at pulsecore/pstream.c:893
#3  0x28682456 in connection_free (c=0x805d940) at pulsecore/protocol-native.c:510
#4  0x28688d03 in pstream_die_callback (p=0x806b600, userdata=0x805d940) at pulsecore/protocol-native.c:2312
#5  0x2868d3e4 in do_something (p=0x806b600) at pulsecore/pstream.c:201
#6  0x2868d4b6 in io_callback (io=0x805d780, userdata=0x806b600) at pulsecore/pstream.c:214
#7  0x28653eac in callback (m=0x8054444, e=0x805d800, fd=13, f=3, userdata=0x805d780) at pulsecore/iochannel.c:121
#8  0x2808d876 in dispatch_pollfds (m=0x8054400) at pulse/mainloop.c:676
#9  0x2808e1ed in pa_mainloop_dispatch (m=0x8054400) at pulse/mainloop.c:889
#10 0x2808e315 in pa_mainloop_iterate (m=0x8054400, block=1, retval=0xbfbfe9ac) at pulse/mainloop.c:919
#11 0x2808e381 in pa_mainloop_run (m=0x8054400, retval=0xbfbfe9ac) at pulse/mainloop.c:934
#12 0x0804da52 in main (argc=1, argv=0xbfbfea10) at daemon/main.c:651
(gdb) n
70          ASSERT_SUCCESS(pthread_mutex_destroy(&m->mutex));
(gdb) n
Assertion failed: (_r == 0), function pa_mutex_free, file pulsecore/mutex-posix.c, line 70.

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) 


Any direction for "where to poke around" or "what to try to get"?


Last detail, I run FreeBSD 6.2-STABLE #4: Thu Jun  7 00:56:26 CEST 2007

-- 
Romain Tartière <romain at blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070712/9f355fed/attachment.pgp


More information about the freebsd-gnome mailing list