From owner-freebsd-ports@FreeBSD.ORG Mon Aug 13 06:41:42 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F7BB106564A; Mon, 13 Aug 2012 06:41:42 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id 0BE018FC08; Mon, 13 Aug 2012 06:41:41 +0000 (UTC) Received: by qadc11 with SMTP id c11so730680qad.13 for ; Sun, 12 Aug 2012 23:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=mjcQZE5cWMogPocs7BhPXlH7zskWmyoxs5V70UY2rKE=; b=zzKDEs/6L04snRhJtmHgDgMpOskfKwsPz8V5czE0zuJt+Yn3Of90RPsZQJXBpbvOKS BE4ve47Q7RWPq0CI8Lba94bY74wQeQbwAKhzrSrixcrXM5RT+bEBjkwKVXPK2DMQFgtT Cuy0R6DPiwuwee1rssq/b44knccfUpfghYaWPPBKKkpYsgqQHcNaIA9iQfXXYk81uRZD WP7QtPqlBvO0wO9S4j9mC8z6bTUiNTB3xBZsrgMkx+cZn4aH/AjTzv82KlrCYnSbn5kt TGiSUlYm7Ve/9eqhLUoUAXUw5q51QpQLI8XwbLVVx6lXe9tpESCUDyE0QfkSlK8Nm+1M 0pZw== Received: by 10.224.176.195 with SMTP id bf3mr9697610qab.55.1344840100959; Sun, 12 Aug 2012 23:41:40 -0700 (PDT) Received: from kan.dyndns.org (c-24-63-226-98.hsd1.ma.comcast.net. [24.63.226.98]) by mx.google.com with ESMTPS id hq10sm8567075qab.1.2012.08.12.23.41.39 (version=SSLv3 cipher=OTHER); Sun, 12 Aug 2012 23:41:40 -0700 (PDT) Date: Mon, 13 Aug 2012 02:41:35 -0400 From: Alexander Kabaev To: Juergen Lock Message-ID: <20120813024135.3501fcee@kan.dyndns.org> In-Reply-To: <20120812231210.GA35081@triton8.kn-bremen.de> References: <20120812143124.GA21414@triton8.kn-bremen.de> <5027E2EA.2070508@gwdg.de> <20120812171133.GA26625@triton8.kn-bremen.de> <5027E471.1020800@gwdg.de> <5028022B.3020005@gwdg.de> <20120812231210.GA35081@triton8.kn-bremen.de> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/A/WHc=X3mx56WbGiO6iV0Zz"; protocol="application/pgp-signature" Cc: freebsd-multimedia@FreeBSD.org, Rainer Hurling , freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 06:41:42 -0000 --Sig_/A/WHc=X3mx56WbGiO6iV0Zz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 13 Aug 2012 01:12:10 +0200 Juergen Lock wrote: > On Sun, Aug 12, 2012 at 09:21:15PM +0200, Rainer Hurling wrote: > > On 12.08.2012 19:14 (UTC+2), Rainer Hurling wrote: > > > On 12.08.2012 19:11 (UTC+2), Juergen Lock wrote: > > GEN ../modules/plugins.dat > > gmake[2]: *** [../modules/plugins.dat] Segmentation fault: 11=20 > > (Speicherauszug erstellt) > > gmake[2]: Leaving directory > > `/usr/ports/multimedia/vlc/work/vlc-2.0.3/bin' gmake[1]: *** > > [all-recursive] Fehler 1 gmake[1]: Leaving directory > > `/usr/ports/multimedia/vlc/work/vlc-2.0.3' gmake: *** [all] Fehler 2 > > *** [do-build] Error code 1 > >=20 > > This only happens when option PulseAudio is enabled. (My sound > > system is driven by PulseAudio.) > >=20 > Aah, thanx, I missed the bit about pulseaudio, now I can finally > reproduce this. I'll follow up on the other thread with the bt > kib wanted. >=20 I was unable to reproduce this one at all. I _do_ have VLC 1.x installed as well, though I have no pulseaudio enabled in it. Maybe that is another missing piece of the puzzle? > > And, as described in another thread on August, 3rd, it only > > happens, when vlc version 1.x is already installed. So, deleting > > old vlc before build this new version works for me. > >=20 > > Unfortunately if option PulseAudio is enabled, and only then, vlc > > core dumps right after opening for example mp3 or mp4 files :( >=20 > Hm if I did this right the bt for that is: >=20 > [...] > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x0000000816d33068 in vlc_pa_connect (obj=3D0x6f6e2f656d6f682f, > mlp=3D0x6b636f4c206e65) at vlcpulse.c:137 137 > pa_threaded_mainloop_lock (mainloop); gdb) bt > #0 0x0000000816d33068 in vlc_pa_connect (obj=3D0x6f6e2f656d6f682f, > mlp=3D0x6b636f4c206e65) at vlcpulse.c:137 #1 0x0000000816d34682 in > Open (obj=3DVariable "obj" is not available. ) at pulse.c:840 > #2 0x0000000800aba580 in vlc_module_load () > from /usr/local/lib/libvlccore.so.6 #3 0x0000000800aaab2c in > aout_VolumeHardSet () from /usr/local/lib/libvlccore.so.6 #4 > 0x0000000800aa83c3 in aout_TimeReport () > from /usr/local/lib/libvlccore.so.6 #5 0x0000000800a75f70 in > decoder_NewPicture () from /usr/local/lib/libvlccore.so.6 #6 > 0x00000008134c77e8 in _::vlc_entry_license () > from /usr/local/lib/vlc/plugins/codec/libfaad_plugin.so #7 > 0x0000000800a76d83 in input_DecoderCreate () > from /usr/local/lib/libvlccore.so.6 #8 0x0000000800a7810d in > input_DecoderCreate () from /usr/local/lib/libvlccore.so.6 #9 > 0x0000000800a785db in input_DecoderCreate () > from /usr/local/lib/libvlccore.so.6 #10 0x000000080169c58d in > pthread_create () from /lib/libthr.so.3 #11 0x0000000000000000 in ?? > () Cannot access memory at address 0x7ffffedf4000 (gdb) l > vlcpulse.c:130 125 { 126 pa_proplist_setf > (props, PA_PROP_APPLICATION_PROCESS_MACHINE_ID, > 127 "%.32s", session); /* XXX: is > this valid? */ 128 pa_proplist_sets (props, > PA_PROP_APPLICATION_PROCESS_SESSION_ID, > 129 session); 130 } > 131 } 132 133 /* Connect to PulseAudio daemon */ > 134 pa_context *ctx; (gdb) l > 135 pa_mainloop_api *api; > 136 > 137 pa_threaded_mainloop_lock (mainloop); > 138 api =3D pa_threaded_mainloop_get_api (mainloop); > 139 ctx =3D pa_context_new_with_proplist (api, ua, props); > 140 free (ua); > 141 if (props !=3D NULL) > 142 pa_proplist_free (props); > 143 if (unlikely(ctx =3D=3D NULL)) > 144 goto fail; > (gdb)=20 >=20 > I'll Cc the pulseaudio port maintainers (gnome@), maybe they have an > idea? >=20 Please check the use of _SC_GETPW_R_SIZE_MAX in vlcpulse.c. This constant is unsupported, so the module tries to allocate a stack buffer with negative size, smashing the stack dead. So far, I see absolutely no evidence of any wrongdoing on the rtld side of things. --=20 Alexander Kabaev --Sig_/A/WHc=X3mx56WbGiO6iV0Zz Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iD8DBQFQKKGjQ6z1jMm+XZYRAkRxAKCpsxyU7t1g5d3SsI3dMf2JwBJGrwCdH8I8 VmqL4vm1QZKxRNHMoU0dwuY= =kE0O -----END PGP SIGNATURE----- --Sig_/A/WHc=X3mx56WbGiO6iV0Zz--