From owner-freebsd-gnome@FreeBSD.ORG Thu Jul 12 09:41:23 2007 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9C7516A400 for ; Thu, 12 Jul 2007 09:41:23 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 310CE13C480 for ; Thu, 12 Jul 2007 09:41:23 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by postfix2-g20.free.fr (Postfix) with ESMTP id 86ED316D152D for ; Thu, 12 Jul 2007 09:01:15 +0200 (CEST) Received: from marvin.blogreen.org (marvin.blogreen.org [82.247.213.140]) by smtp3-g19.free.fr (Postfix) with ESMTP id 82C045A230; Thu, 12 Jul 2007 10:00:32 +0200 (CEST) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 20AD45C04E; Thu, 12 Jul 2007 10:00:32 +0200 (CEST) Date: Thu, 12 Jul 2007 10:00:32 +0200 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Joe Marcus Clarke Message-ID: <20070712080032.GA223@marvin.blogreen.org> Mail-Followup-To: Joe Marcus Clarke , Michael Nottebrock , gnome@freebsd.org References: <200707111932.31384.lofi@freebsd.org> <1184189869.21375.10.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <1184189869.21375.10.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.2.3i Cc: gnome@freebsd.org, Michael Nottebrock Subject: Re: Esound sink broken in pulseaudio 0.9.6? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 09:41:24 -0000 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. I've just tried with the default configuration provided with 0.9.6: the ser= ver 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 =3D=3D 0), function pa_mutex_free, file pulsecore/m= utex-posix.c, line 70. > zsh: abort pulseaudio > $ Alter a while, the client dies too: > > Connection failure: Timeout > > Assertion failed: (p->ref >=3D 1), function pa_packet_unref, file pulse= core/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 condition= s. 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=20 warning: Unable to get location for thread creation breakpoint: generic err= or [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=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:8= 93 #3 0x28682456 in connection_free (c=3D0x805d940) at pulsecore/protocol-nat= ive.c:510 #4 0x28688d03 in pstream_die_callback (p=3D0x806b600, userdata=3D0x805d940= ) 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 pul= secore/pstream.c:214 #7 0x28653eac in callback (m=3D0x8054444, e=3D0x805d800, fd=3D13, f=3D3, u= serdata=3D0x805d780) at pulsecore/iochannel.c:121 #8 0x2808d876 in dispatch_pollfds (m=3D0x8054400) at pulse/mainloop.c:676 #9 0x2808e1ed in pa_mainloop_dispatch (m=3D0x8054400) at pulse/mainloop.c:= 889 #10 0x2808e315 in pa_mainloop_iterate (m=3D0x8054400, block=3D1, retval=3D0= xbfbfe9ac) at pulse/mainloop.c:919 #11 0x2808e381 in pa_mainloop_run (m=3D0x8054400, retval=3D0xbfbfe9ac) at p= ulse/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/mut= ex-posix.c, line 70. Program terminated with signal SIGABRT, Aborted. The program no longer exists. (gdb)=20 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 --=20 Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGld+g2OmjP/9W/0MRAvYEAJ46KUBu09EedCu3OJFBwSvG0dfUIQCfcMJF gS8MQN6pvD6uZxlwWwjzmnU= =F1BR -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--