Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2007 17:46:11 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Romain =?ISO-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
Cc:        gnome@freebsd.org, Michael Nottebrock <lofi@freebsd.org>
Subject:   Re: Esound sink broken in pulseaudio 0.9.6?
Message-ID:  <1184276771.91067.7.camel@shumai.marcuscom.com>
In-Reply-To: <20070712080032.GA223@marvin.blogreen.org>
References:  <200707111932.31384.lofi@freebsd.org> <1184189869.21375.10.camel@shumai.marcuscom.com> <20070712080032.GA223@marvin.blogreen.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-77ZGN/whjCBsr0bi2gYK
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, 2007-07-12 at 10:00 +0200, Romain Tarti=E8re wrote:
> Hi.
>=20
> I've just tried with the default configuration provided with 0.9.6: the s=
erver
> aborts when I try to play a file:

This problem should be fixed now.

Joe

>=20
> 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 =3D=3D 0), function pa_mutex_free, file pulsecore=
/mutex-posix.c, line 70.
> > zsh: abort      pulseaudio
> > $
>=20
> Alter a while, the client dies too:
> > > Connection failure: Timeout
> > > Assertion failed: (p->ref >=3D 1), function pa_packet_unref, file pul=
secore/packet.c, line 74.
> > > zsh: abort (core dumped)  paplay /usr/local/share/wesnoth/sounds/zomb=
ie-attack.wav
> > > $
>=20
> On Wed, Jul 11, 2007 at 05:37:49PM -0400, Joe Marcus Clarke wrote :
> > backtrace with debugging symbols?
>=20
> $ 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 conditi=
ons.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> 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=20
> warning: Unable to get location for thread creation breakpoint: generic e=
rror
> [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)]
>=20
> ###############################################################
> # The daemon waits, go play asound. I tried with musicpd too. #
> ###############################################################
>=20
> [Switching to Thread 0x805a000 (LWP 100227)]
>=20
> Breakpoint 2, pa_mutex_free (m=3D0x80533b0) 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=3D0x80533b0) at pulsecore/mutex-posix.c:68
> #1  0x2868da8b in pstream_free (p=3D0x806b600) at pulsecore/pstream.c:316
> #2  0x2868f35a in pa_pstream_unref (p=3D0x806b600) at pulsecore/pstream.c=
:893
> #3  0x28682456 in connection_free (c=3D0x805d940) at pulsecore/protocol-n=
ative.c:510
> #4  0x28688d03 in pstream_die_callback (p=3D0x806b600, userdata=3D0x805d9=
40) at pulsecore/protocol-native.c:2312
> #5  0x2868d3e4 in do_something (p=3D0x806b600) at pulsecore/pstream.c:201
> #6  0x2868d4b6 in io_callback (io=3D0x805d780, userdata=3D0x806b600) at p=
ulsecore/pstream.c:214
> #7  0x28653eac in callback (m=3D0x8054444, e=3D0x805d800, fd=3D13, f=3D3,=
 userdata=3D0x805d780) at pulsecore/iochannel.c:121
> #8  0x2808d876 in dispatch_pollfds (m=3D0x8054400) at pulse/mainloop.c:67=
6
> #9  0x2808e1ed in pa_mainloop_dispatch (m=3D0x8054400) at pulse/mainloop.=
c:889
> #10 0x2808e315 in pa_mainloop_iterate (m=3D0x8054400, block=3D1, retval=
=3D0xbfbfe9ac) at pulse/mainloop.c:919
> #11 0x2808e381 in pa_mainloop_run (m=3D0x8054400, retval=3D0xbfbfe9ac) at=
 pulse/mainloop.c:934
> #12 0x0804da52 in main (argc=3D1, argv=3D0xbfbfea10) at daemon/main.c:651
> (gdb) n
> 70          ASSERT_SUCCESS(pthread_mutex_destroy(&m->mutex));
> (gdb) n
> Assertion failed: (_r =3D=3D 0), function pa_mutex_free, file pulsecore/m=
utex-posix.c, line 70.
>=20
> Program terminated with signal SIGABRT, Aborted.
> The program no longer exists.
> (gdb)=20
>=20
>=20
> Any direction for "where to poke around" or "what to try to get"?
>=20
>=20
> Last detail, I run FreeBSD 6.2-STABLE #4: Thu Jun  7 00:56:26 CEST 2007
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-77ZGN/whjCBsr0bi2gYK
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGlqEhb2iPiv4Uz4cRAhYDAJ41tNQZbuVBvPIceLm8pchCSj2a8ACgiaXj
Tzhx+vQV7hk4spzc/M9czdQ=
=R90h
-----END PGP SIGNATURE-----

--=-77ZGN/whjCBsr0bi2gYK--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1184276771.91067.7.camel>