From owner-freebsd-gnome@FreeBSD.ORG Sun Aug 12 23:17:46 2012 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78C861065673 for ; Sun, 12 Aug 2012 23:17:46 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 9938F8FC0C for ; Sun, 12 Aug 2012 23:17:45 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 5CED61E00717; Mon, 13 Aug 2012 01:17:44 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q7CNFu3u036734 for ; Mon, 13 Aug 2012 01:15:56 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q7CNFu5T036733 for gnome@freebsd.org; Mon, 13 Aug 2012 01:15:56 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 13 Aug 2012 01:15:56 +0200 To: gnome@freebsd.org Message-ID: <20120812231556.GA36714@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: [nox@jelal.kn-bremen.de: Re: Another vlc 2.0.3 update (new ffmpeg! :)] 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: Sun, 12 Aug 2012 23:17:46 -0000 Forgot to Cc you: ----- Forwarded message from Juergen Lock ----- Date: Mon, 13 Aug 2012 01:12:10 +0200 From: Juergen Lock To: Rainer Hurling Cc: Juergen Lock , freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) User-Agent: Mutt/1.5.21 (2010-09-15) 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: > >> On Sun, Aug 12, 2012 at 07:07:54PM +0200, Rainer Hurling wrote: > >>> On 12.08.2012 16:31 (UTC+2), Juergen Lock wrote: > >>>> Thanks to Martin Matuska (ffmpeg port maintainer) for fixing the > >>>> multimedia/ffmpeg-011 port to install the shlibs with suffix! > >>>> I now seem to have vlc 2.0.3 working using this updated version: > >>>> > >>>> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-008.patch > >>> > >>> Does this mean we should change from multimedia/ffmpeg to > >>> multimedia/ffmpeg-011? Or is it ok to have them both installed? > >> > >> Yes it's ok to have both installed. > > > > Thanks, I will it give a try now :-) > > Again, there is the problem with the build breaking with > > GEN ../modules/plugins.dat > gmake[2]: *** [../modules/plugins.dat] Segmentation fault: 11 > (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 > > This only happens when option PulseAudio is enabled. (My sound system is > driven by PulseAudio.) > 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. > 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. > > Unfortunately if option PulseAudio is enabled, and only then, vlc core > dumps right after opening for example mp3 or mp4 files :( Hm if I did this right the bt for that is: [...] Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000816d33068 in vlc_pa_connect (obj=0x6f6e2f656d6f682f, mlp=0x6b636f4c206e65) at vlcpulse.c:137 137 pa_threaded_mainloop_lock (mainloop); gdb) bt #0 0x0000000816d33068 in vlc_pa_connect (obj=0x6f6e2f656d6f682f, mlp=0x6b636f4c206e65) at vlcpulse.c:137 #1 0x0000000816d34682 in Open (obj=Variable "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 = pa_threaded_mainloop_get_api (mainloop); 139 ctx = pa_context_new_with_proplist (api, ua, props); 140 free (ua); 141 if (props != NULL) 142 pa_proplist_free (props); 143 if (unlikely(ctx == NULL)) 144 goto fail; (gdb) I'll Cc the pulseaudio port maintainers (gnome@), maybe they have an idea? Thanx, :) Juergen ----- End forwarded message -----