From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 07:33:55 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBAB2106566C for ; Sun, 12 Aug 2012 07:33:55 +0000 (UTC) (envelope-from a6969z@gmail.com) Received: from mail.vizura.net (mail.vizura.net [89.201.163.246]) by mx1.freebsd.org (Postfix) with ESMTP id 985F98FC0A for ; Sun, 12 Aug 2012 07:33:55 +0000 (UTC) Received: from email (unknown [79.134.42.96]) by mail.vizura.net (Postfix) with ESMTPA id 18D562E1649 for ; Sun, 12 Aug 2012 09:26:39 +0200 (CEST) Received: from Dale-PC ([127.0.0.1]) (envelope-sender ) by 127.0.0.1 with ESMTP for ; Sun, 12 Aug 2012 00:26:36 -0700 Received: from [127.0.0.1] by web335.mail.gmail.com via HTTP; Sat, 11 Aug 2012 18:33:02 -1200 Message-Id: Date: Sat, 11 Aug 2012 23:33:02 -0700 From: "brad coats" User-Agent: Mozilla 2.0 (Macintosh; I; 68K) MIME-Version: 1.0 To: "Administrator" X-Priority: 3 Content-Type: text/plain; charset="ISO-8859-1" Sender: "brad coats" Subject: Hi! X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 07:33:55 -0000 Hi! Administrator, You don't have to reply, this is a test. I have a new website someurl.com You are welcome! From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 11:50:46 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DA2B106564A; Sun, 12 Aug 2012 11:50:46 +0000 (UTC) (envelope-from taku@tackymt.homeip.net) Received: from basalt.tackymt.homeip.net (unknown [IPv6:2001:3e0:577:0:20d:61ff:fecc:2253]) by mx1.freebsd.org (Postfix) with ESMTP id E2D4F8FC0C; Sun, 12 Aug 2012 11:50:45 +0000 (UTC) Received: from basalt.tackymt.homeip.net (localhost [127.0.0.1]) by basalt.tackymt.homeip.net (Postfix) with ESMTP id C19E083C5; Sun, 12 Aug 2012 20:50:44 +0900 (JST) X-Virus-Scanned: amavisd-new at tackymt.homeip.net Received: from localhost by basalt.tackymt.homeip.net (amavisd-new, unix socket) with ESMTP id vC9pzMkytgXI; Sun, 12 Aug 2012 20:50:42 +0900 (JST) Received: from basalt.tackymt.homeip.net (basalt.tackymt.homeip.net [IPv6:2001:3e0:577:0:20d:61ff:fecc:2253]) by basalt.tackymt.homeip.net (Postfix) with ESMTPSA; Sun, 12 Aug 2012 20:50:42 +0900 (JST) Date: Sun, 12 Aug 2012 20:50:41 +0900 From: Taku YAMAMOTO To: "O. Hartmann" Message-Id: <20120812205041.ab54f512.taku@tackymt.homeip.net> In-Reply-To: <50278FF4.3040706@zedat.fu-berlin.de> References: <50278FF4.3040706@zedat.fu-berlin.de> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.24.6; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD multimedia , Current FreeBSD Subject: Re: FreeBSD development audio system: KLANG X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 11:50:46 -0000 I think it should be forwarded to -multimedia@. Other than that, it's nice to hear about! On Sun, 12 Aug 2012 13:13:56 +0200 "O. Hartmann" wrote: > A few days ago, I stumbled into sthis at Phoronix: > > http://www.phoronix.com/scan.php?page=news_item&px=MTE1NzY The above link didn't work for me... > KLANG is supposed to be an exchange audio system for the kernel, > replacing several userland backed systems. Phoronix also claims this > approach is supposed to support the FreeBSD kernel and yes, I'd like to > see something been developed not even for Linux these days. > > On the website of KLANG, located here, > > http://klang.eudyptula.org/ > > I couldn't find much of information regarding FreeBSD. > > But I'd like to draw attention towards this for FreeBSD people, if they > didn't already have noticed. It is like in science - no spreading of > informations makes it hard to discover what's going on ... > > > I'm not sorry for the noise, Don't worry, generating a noise is the primary goal for sound systems :) -- -|-__ YAMAMOTO, Taku | __ < - A chicken is an egg's way of producing more eggs. - From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 12:41:19 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F38C106564A; Sun, 12 Aug 2012 12:41:19 +0000 (UTC) (envelope-from bsdkaffee@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 492EA8FC12; Sun, 12 Aug 2012 12:41:18 +0000 (UTC) Received: by qadc11 with SMTP id c11so421791qad.13 for ; Sun, 12 Aug 2012 05:41:18 -0700 (PDT) Received: by 10.229.135.10 with SMTP id l10mr2486354qct.103.1344775278208; Sun, 12 Aug 2012 05:41:18 -0700 (PDT) Received: from mocha.verizon.net (c-71-61-40-68.hsd1.oh.comcast.net. [71.61.40.68]) by mx.google.com with ESMTPS id c5sm4613438qao.22.2012.08.12.05.41.16 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Aug 2012 05:41:17 -0700 (PDT) To: FreeBSD-gnats-submit@freebsd.org From: Jason E. Hale X-send-pr-version: 3.113 X-GNATS-Notify: Date: Sun, 12 Aug 2012 08:41:17 -0400 Message-Id: <1344775277.828052.95978@mocha.verizon.net> Cc: multimedia@FreeBSD.org Subject: [PATCH] multimedia/gstreamer-plugins: Remove libmusicbrainz references X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jason E. Hale" List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 12:41:19 -0000 >Submitter-Id: current-users >Originator: Jason E. Hale >Organization: none >Confidential: no >Synopsis: [PATCH] multimedia/gstreamer-plugins: Remove libmusicbrainz references >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 9.0-RELEASE i386 >Environment: System: FreeBSD mocha.verizon.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 19 11:42:41 EST 2012 Jason@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386 >Description: - Remove the musicbrainz plugin from Makefile.common since the audio/gstreamer-plugins-musicbrainz port is gone and audio/libmusicbrainz itself is soon to be removed - Note: musicbrainz should still be kept in the BAD_GST_ALL_PLUGINS variable so that the plugin remains disabled by default. If it is removed, the multimedia/gstreamer-plugins-bad port looks for libmusicbrainz. >How-To-Repeat: - Use attached diff >Fix: --- 2012-08-12-gstreamer-plugins.diff begins here --- Index: Makefile.common =================================================================== --- Makefile.common (revision 302306) +++ Makefile.common (working copy) @@ -406,12 +406,6 @@ ${GST_LIB_DIR}/libgstmusepack.so gst_musepack_DIST= bad -# musicbrainz -gst_musicbrainz_LIB_DEPENDS+= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz -gst_musicbrainz_PLIST_FILES= ${GST_LIB_DIR}/libgsttrm.so \ - ${GST_LIB_DIR}/libgsttrm.la -gst_musicbrainz_DIST= bad - # nas gst_nas_LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas gst_nas_DIST= bad --- 2012-08-12-gstreamer-plugins.diff ends here --- From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 12:53:25 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A82C106564A; Sun, 12 Aug 2012 12:53:25 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2CC568FC14; Sun, 12 Aug 2012 12:53:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7CCrP4J089796; Sun, 12 Aug 2012 12:53:25 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7CCrPjh089792; Sun, 12 Aug 2012 12:53:25 GMT (envelope-from edwin) Date: Sun, 12 Aug 2012 12:53:25 GMT Message-Id: <201208121253.q7CCrPjh089792@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/170561: [PATCH] multimedia/gstreamer-plugins: Remove libmusicbrainz references X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 12:53:25 -0000 Synopsis: [PATCH] multimedia/gstreamer-plugins: Remove libmusicbrainz references Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: edwin Responsible-Changed-When: Sun Aug 12 12:53:24 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=170561 From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 14:33:16 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82CD81065678; Sun, 12 Aug 2012 14:33:16 +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 3A5E08FC18; Sun, 12 Aug 2012 14:33:15 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id D42D51E00719; Sun, 12 Aug 2012 16:33:14 +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 q7CEVOOi021435; Sun, 12 Aug 2012 16:31:24 +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 q7CEVOqF021434; Sun, 12 Aug 2012 16:31:24 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 12 Aug 2012 16:31:24 +0200 To: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Message-ID: <20120812143124.GA21414@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: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 14:33:16 -0000 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 Please give this a good test to make sure I didn't mess things up... :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 14:36:52 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20C1D1065688; Sun, 12 Aug 2012 14:36:52 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E7D8D8FC19; Sun, 12 Aug 2012 14:36:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7CEap4v003907; Sun, 12 Aug 2012 14:36:51 GMT (envelope-from kwm@freefall.freebsd.org) Received: (from kwm@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7CEapUY003903; Sun, 12 Aug 2012 14:36:51 GMT (envelope-from kwm) Date: Sun, 12 Aug 2012 14:36:51 GMT Message-Id: <201208121436.q7CEapUY003903@freefall.freebsd.org> To: bsdkaffee@gmail.com, kwm@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: kwm@FreeBSD.org Cc: Subject: Re: ports/170561: [PATCH] multimedia/gstreamer-plugins: Remove libmusicbrainz references X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 14:36:52 -0000 Synopsis: [PATCH] multimedia/gstreamer-plugins: Remove libmusicbrainz references State-Changed-From-To: open->closed State-Changed-By: kwm State-Changed-When: Sun Aug 12 14:36:40 UTC 2012 State-Changed-Why: Committed Thanks!. http://www.freebsd.org/cgi/query-pr.cgi?pr=170561 From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 14:40:02 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97144106566B for ; Sun, 12 Aug 2012 14:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 821808FC16 for ; Sun, 12 Aug 2012 14:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7CEe20D004000 for ; Sun, 12 Aug 2012 14:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7CEe2fq003999; Sun, 12 Aug 2012 14:40:02 GMT (envelope-from gnats) Date: Sun, 12 Aug 2012 14:40:02 GMT Message-Id: <201208121440.q7CEe2fq003999@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/170561: commit references a PR X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 14:40:02 -0000 The following reply was made to PR ports/170561; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/170561: commit references a PR Date: Sun, 12 Aug 2012 14:36:37 +0000 (UTC) Author: kwm Date: Sun Aug 12 14:36:27 2012 New Revision: 302442 URL: http://svn.freebsd.org/changeset/ports/302442 Log: Remove musicbrainz logic, keep it in BAD_GST_ALL_PLUGINS so configure doesn't start looking for it. PR: ports/170561 Submitted by: Jason E. Hale Modified: head/multimedia/gstreamer-plugins/Makefile.common Modified: head/multimedia/gstreamer-plugins/Makefile.common ============================================================================== --- head/multimedia/gstreamer-plugins/Makefile.common Sun Aug 12 14:26:44 2012 (r302441) +++ head/multimedia/gstreamer-plugins/Makefile.common Sun Aug 12 14:36:27 2012 (r302442) @@ -406,12 +406,6 @@ gst_musepack_PLIST_FILES= ${GST_LIB_DIR} ${GST_LIB_DIR}/libgstmusepack.so gst_musepack_DIST= bad -# musicbrainz -gst_musicbrainz_LIB_DEPENDS+= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz -gst_musicbrainz_PLIST_FILES= ${GST_LIB_DIR}/libgsttrm.so \ - ${GST_LIB_DIR}/libgsttrm.la -gst_musicbrainz_DIST= bad - # nas gst_nas_LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas gst_nas_DIST= bad _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 15:50:48 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AB1D1065675; Sun, 12 Aug 2012 15:50:48 +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 268078FC0C; Sun, 12 Aug 2012 15:50:47 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id EBC081E000C9; Sun, 12 Aug 2012 17:50:40 +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 q7CFnUpQ024075; Sun, 12 Aug 2012 17:49:30 +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 q7CFnUZw024074; Sun, 12 Aug 2012 17:49:30 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 12 Aug 2012 17:49:30 +0200 To: freebsd-multimedia@FreeBSD.org Message-ID: <20120812154930.GA23878@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: hselasky@FreeBSD.org Subject: In case mythtv setup is broken for you too... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 15:50:48 -0000 Hi! (I guess I should post here too :) If mythtv setup is broken for you reporting a failed FE_GET_INFO ioctl like reported in this mythtv ticket: http://code.mythtv.org/trac/ticket/10830 (reduced testcase: http://people.freebsd.org/~nox/tmp/ioctltst.c ) try this media tree patch I posted a little while ago: (i.e. apply it to webcamd, there's a Download patch link at the top) http://patchwork.linuxtv.org/patch/13563/ The full thread in case you want to help testing/reviewing the patch for upstream Linux: http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/51644 Thanx! Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 17:08:06 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B51B106564A; Sun, 12 Aug 2012 17:08:06 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 36E948FC0C; Sun, 12 Aug 2012 17:08:05 +0000 (UTC) Received: from p5dc3f9b6.dip.t-dialin.net ([93.195.249.182] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T0bdu-0002Mg-BY; Sun, 12 Aug 2012 19:07:58 +0200 Message-ID: <5027E2EA.2070508@gwdg.de> Date: Sun, 12 Aug 2012 19:07:54 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Juergen Lock References: <20120812143124.GA21414@triton8.kn-bremen.de> In-Reply-To: <20120812143124.GA21414@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 17:08:06 -0000 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? Thanks for your work, Rainer > Please give this a good test to make sure I didn't mess things up... :) > Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 17:12:43 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC0331065672; Sun, 12 Aug 2012 17:12:43 +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 630738FC12; Sun, 12 Aug 2012 17:12:43 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 2512E1E00715; Sun, 12 Aug 2012 19:12:42 +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 q7CHBXla026663; Sun, 12 Aug 2012 19:11:33 +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 q7CHBXj4026662; Sun, 12 Aug 2012 19:11:33 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 12 Aug 2012 19:11:33 +0200 To: Rainer Hurling Message-ID: <20120812171133.GA26625@triton8.kn-bremen.de> References: <20120812143124.GA21414@triton8.kn-bremen.de> <5027E2EA.2070508@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5027E2EA.2070508@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 17:12:43 -0000 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. Cheers, Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 17:14:27 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 317D2106566B; Sun, 12 Aug 2012 17:14:27 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id E1AAF8FC14; Sun, 12 Aug 2012 17:14:26 +0000 (UTC) Received: from p5dc3f9b6.dip.t-dialin.net ([93.195.249.182] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T0bk9-0002lQ-Il; Sun, 12 Aug 2012 19:14:25 +0200 Message-ID: <5027E471.1020800@gwdg.de> Date: Sun, 12 Aug 2012 19:14:25 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Juergen Lock References: <20120812143124.GA21414@triton8.kn-bremen.de> <5027E2EA.2070508@gwdg.de> <20120812171133.GA26625@triton8.kn-bremen.de> In-Reply-To: <20120812171133.GA26625@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 17:14:27 -0000 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 :-) > Cheers, > Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 19:21:18 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 763261065672; Sun, 12 Aug 2012 19:21:18 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 327718FC0C; Sun, 12 Aug 2012 19:21:17 +0000 (UTC) Received: from p5dc3f9b6.dip.t-dialin.net ([93.195.249.182] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T0dit-0003Rq-IT; Sun, 12 Aug 2012 21:21:15 +0200 Message-ID: <5028022B.3020005@gwdg.de> Date: Sun, 12 Aug 2012 21:21:15 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Juergen Lock References: <20120812143124.GA21414@triton8.kn-bremen.de> <5027E2EA.2070508@gwdg.de> <20120812171133.GA26625@triton8.kn-bremen.de> <5027E471.1020800@gwdg.de> In-Reply-To: <5027E471.1020800@gwdg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 19:21:18 -0000 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.) 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 :( This is on a recent 10.0-CURRENT amd64. >> Cheers, >> Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 12 23:17:46 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E0FA1065672; 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 993408FC0A; Sun, 12 Aug 2012 23:17:45 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 3B4D21E00715; 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 q7CNCA9d036658; Mon, 13 Aug 2012 01:12:10 +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 q7CNCATb036657; Mon, 13 Aug 2012 01:12:10 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 13 Aug 2012 01:12:10 +0200 To: Rainer Hurling Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5028022B.3020005@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 23:17:46 -0000 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 From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 05:34:52 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7E6E106566C; Mon, 13 Aug 2012 05:34:52 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0B6DE8FC0A; Mon, 13 Aug 2012 05:34:51 +0000 (UTC) Received: from wald.nfv.gwdg.de ([134.76.242.31] helo=pc028.nfv) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T0nIf-0001CX-J7; Mon, 13 Aug 2012 07:34:49 +0200 Message-ID: <502891F5.7080500@gwdg.de> Date: Mon, 13 Aug 2012 07:34:45 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Juergen Lock 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> In-Reply-To: <20120812231210.GA35081@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 05:34:52 -0000 Am 13.08.2012 01:12 (UTC+1) schrieb Juergen Lock: > 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 can confirm this backtrace. It is exactly the same on my system. > I'll Cc the pulseaudio port maintainers (gnome@), maybe they have an idea? Did you forgot to Cc gnome@ (even on the other thread)? I tried out a little bit the build without pulseaudio enabled. It seems to me, that the sound of vlc is somewhat noisy or dirty, especially for parts with more dynamics. This scratchy noise grows up when gain control comes over 100% (up to 200% is possible). Can anyone confirm this? And last but not least: When I deinstall vlc I get the following message: pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 checksum - deleted anyway. Thanks again for your work on this port. Rainer > Thanx, :) > Juergen From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 06:41:42 2012 Return-Path: Delivered-To: freebsd-multimedia@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, freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions 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-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 11:07:13 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82A87106566C for ; Mon, 13 Aug 2012 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3458FC16 for ; Mon, 13 Aug 2012 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7DB7Dn4007171 for ; Mon, 13 Aug 2012 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7DB7CiO007169 for freebsd-multimedia@FreeBSD.org; Mon, 13 Aug 2012 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Aug 2012 11:07:12 GMT Message-Id: <201208131107.q7DB7CiO007169@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 11:07:13 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/170517 multimedia [patch] Correct audio/jack Dependency Declaration o ports/170483 multimedia [patch] Correct multimedia/gstreamer Dependency Declar o ports/170134 multimedia audio/denemo: Update to version 0.9.4 o ports/169563 multimedia [patch] audio/jack-rack o ports/168896 multimedia [patch] audio/wavpack doesn't build with clang 3.1 o ports/165090 multimedia audio/faad missing head files o kern/162181 multimedia [snd_emu10k1] [patch] The kernel sound driver module s o ports/161783 multimedia [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 o ports/161568 multimedia [PATCH] audio/libsamplerate: samplerate.h has comma at o ports/161546 multimedia [PATCH] multimedia/mkvtoolnix: make some dependencies o kern/159236 multimedia [pcm] [patch] set PCM_CAP_DEFAULT for the default snd o kern/158979 multimedia [snd_uadio] snd_uaudio fails to initialize built-in mi o kern/158542 multimedia [snd_hda] hdac0: hdac_get_capabilities: Invalid corb s f kern/158424 multimedia [snd_hda] snd_hda driver doesn't expose 'rec' flag for o stand/157050 multimedia OSS implementation lacks AFMT_FLOAT o kern/156726 multimedia [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o kern/156198 multimedia [snd_hda] [hang] loading snd_hda kernel module hangs s o kern/156165 multimedia [hdac] Missing card definition for hdac audio device, o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead o kern/152378 multimedia [sound][patch] Update snd_envy24ht to be MPSAFE and us f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/148741 multimedia [sound] Headphones are deaf (do not work) on Lenovo Th o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 79 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 17:47:19 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A32F510656D8; Mon, 13 Aug 2012 17:47:19 +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 CF7188FC1B; Mon, 13 Aug 2012 17:47:18 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 6D3A21E0010E; Mon, 13 Aug 2012 19:47:12 +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 q7DHjMrT065252; Mon, 13 Aug 2012 19:45:22 +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 q7DHjMUm065251; Mon, 13 Aug 2012 19:45:22 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 13 Aug 2012 19:45:21 +0200 To: Rainer Hurling Message-ID: <20120813174521.GA65208@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> <502891F5.7080500@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <502891F5.7080500@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, gnome@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 17:47:19 -0000 On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: > Am 13.08.2012 01:12 (UTC+1) schrieb Juergen Lock: > > 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 can confirm this backtrace. It is exactly the same on my system. > I just posted the workaround for that crash: http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch > > I'll Cc the pulseaudio port maintainers (gnome@), maybe they have an idea? > > Did you forgot to Cc gnome@ (even on the other thread)? > Yeah, I manually forwarded the mail when I noticed. > > I tried out a little bit the build without pulseaudio enabled. It seems > to me, that the sound of vlc is somewhat noisy or dirty, especially for > parts with more dynamics. This scratchy noise grows up when gain control > comes over 100% (up to 200% is possible). Can anyone confirm this? > I haven't noticed that here, maybe your soundcard is clipping etc due to too high mixer levels? > > And last but not least: When I deinstall vlc I get the following message: > pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 > checksum - deleted anyway. > That's the file whose generating crashed when building with the old vlc still installed, maybe it's regenerated at runtime otherwise? > > Thanks again for your work on this port. > Rainer You're welcome! :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 17:47:20 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A32A710656D7; Mon, 13 Aug 2012 17:47:19 +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 CF6618FC18; Mon, 13 Aug 2012 17:47:18 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 176351E00717; Mon, 13 Aug 2012 19:47:12 +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 q7DHdqDf065188; Mon, 13 Aug 2012 19:39:52 +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 q7DHdqiE065187; Mon, 13 Aug 2012 19:39:52 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 13 Aug 2012 19:39:52 +0200 To: Alexander Kabaev Message-ID: <20120813173952.GA65023@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> <20120813024135.3501fcee@kan.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120813024135.3501fcee@kan.dyndns.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, gnome@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 17:47:20 -0000 On Mon, Aug 13, 2012 at 02:41:35AM -0400, Alexander Kabaev wrote: > 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 > > > (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. > > > > 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? > I think so, yes, at least that's how I built my vlc 1.x before being able to reproduce it. > > > 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? > > > > 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. > Oh haha, that'd do it. :) I've added a workaround for that now, new patch here: http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch > So far, I see absolutely no evidence of any wrongdoing on the rtld > side of things. I don't know who or what to blame, but _something_ is still wrong when updating from vlc 1.x with the pulseaudio knob enabled, that much is clear... Thanx! Juergen From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 18:12:52 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D4E21065672; Mon, 13 Aug 2012 18:12:52 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id BD1138FC16; Mon, 13 Aug 2012 18:12:51 +0000 (UTC) Received: by wicr5 with SMTP id r5so2232689wic.13 for ; Mon, 13 Aug 2012 11:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; bh=6tpx1XYFaBoxOSTBr/3zel+8jLKShY4RV7k0DKO4DKA=; b=dGKUk4y/tOS1nQsPTAXobOZToXXmarTO+BjFdsJ8nBXjMl3LFiarUYdR6jYXZn9lBA wy1Vq2T/yOgUr1FYctWcNgdWUCRK0aEh6R4TNTn1H4oZ+20pimt9EWD/649KQNNsN5Le tiG1IBi2ZyVFwQbARej3wToDXbyzO8ARq/OtPllSK8BWNPE38ZuzJTu7y/w1k8O0tXJ7 s7CQ0bdjZzA+hJmbg7sqSb/Gesn91R6/TnggI/ryy7z1+7RzZLve226FFAKAqR/EVMKY KUqeXCMJhSFWalYYvGzwcfNAUttGQTzkYo77Qc23LZUoN8ILaT7slGdDBjT3SWL0zpQ5 pjyw== Received: by 10.180.14.9 with SMTP id l9mr20367910wic.21.1344881565410; Mon, 13 Aug 2012 11:12:45 -0700 (PDT) Received: from ernst.jennejohn.org (p578E35B5.dip.t-dialin.net. [87.142.53.181]) by mx.google.com with ESMTPS id dc3sm17689462wib.7.2012.08.13.11.12.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Aug 2012 11:12:44 -0700 (PDT) Date: Mon, 13 Aug 2012 20:12:42 +0200 From: Gary Jennejohn To: Alexander Kabaev Message-ID: <20120813201242.5108f145@ernst.jennejohn.org> In-Reply-To: <20120813024135.3501fcee@kan.dyndns.org> 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> <20120813024135.3501fcee@kan.dyndns.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 18:12:52 -0000 On Mon, 13 Aug 2012 02:41:35 -0400 Alexander Kabaev wrote: [snip lots of gdb trace] > 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. > Seems like a good idea, but I replaced the rather sloppy buf[sysctl(_SC_GETPW_R_SIZE_MAX)]; with buf[2048]; and vlc still core dumps when trying to generate plugins.dat. > So far, I see absolutely no evidence of any wrongdoing on the rtld > side of things. > -- Gary Jennejohn From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 19:25:05 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84BB31065674; Mon, 13 Aug 2012 19:25:05 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id F0AC48FC0C; Mon, 13 Aug 2012 19:25:04 +0000 (UTC) Received: from p508c79e5.dip.t-dialin.net ([80.140.121.229] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T10G1-0007Jk-ET; Mon, 13 Aug 2012 21:24:57 +0200 Message-ID: <50295485.3010706@gwdg.de> Date: Mon, 13 Aug 2012 21:24:53 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Juergen Lock 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> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> In-Reply-To: <20120813174521.GA65208@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, gnome@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 19:25:05 -0000 On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: > On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: >> Am 13.08.2012 01:12 (UTC+1) schrieb Juergen Lock: >>> 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 can confirm this backtrace. It is exactly the same on my system. >> > I just posted the workaround for that crash: > > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch Thanks for the newest patch! The change from sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core dumps any more and sound via pulseaudio is working again :) >>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have an idea? >> >> Did you forgot to Cc gnome@ (even on the other thread)? >> > Yeah, I manually forwarded the mail when I noticed. >> >> I tried out a little bit the build without pulseaudio enabled. It seems >> to me, that the sound of vlc is somewhat noisy or dirty, especially for >> parts with more dynamics. This scratchy noise grows up when gain control >> comes over 100% (up to 200% is possible). Can anyone confirm this? >> > I haven't noticed that here, maybe your soundcard is clipping etc > due to too high mixer levels? Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 and as I wrote, gain control was set in the middle (100%). But now, with pulseaudio enabled again, there is not problem with damaged sound quality any more. >> And last but not least: When I deinstall vlc I get the following message: >> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 >> checksum - deleted anyway. >> > That's the file whose generating crashed when building with the old > vlc still installed, maybe it's regenerated at runtime otherwise? No, it also fails original MD5 checksum with deinstall/reinstall within 2.0.3. >> Thanks again for your work on this port. >> Rainer > > You're welcome! :) > Juergen From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 19:53:58 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6BF2106566B; Mon, 13 Aug 2012 19:53:58 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2E1B18FC12; Mon, 13 Aug 2012 19:53:57 +0000 (UTC) Received: from p508c79e5.dip.t-dialin.net ([80.140.121.229] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T10i4-0004LA-Bq; Mon, 13 Aug 2012 21:53:56 +0200 Message-ID: <50295B53.3020902@gwdg.de> Date: Mon, 13 Aug 2012 21:53:55 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Juergen Lock 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> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> In-Reply-To: <50295485.3010706@gwdg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, gnome@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 19:53:58 -0000 On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: > On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: >> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: >>> Am 13.08.2012 01:12 (UTC+1) schrieb Juergen Lock: >>>> 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 can confirm this backtrace. It is exactly the same on my system. >>> >> I just posted the workaround for that crash: >> >> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch > > Thanks for the newest patch! The change from > sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core > dumps any more and sound via pulseaudio is working again :) > >>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have >>>> an idea? >>> >>> Did you forgot to Cc gnome@ (even on the other thread)? >>> >> Yeah, I manually forwarded the mail when I noticed. >>> >>> I tried out a little bit the build without pulseaudio enabled. It seems >>> to me, that the sound of vlc is somewhat noisy or dirty, especially for >>> parts with more dynamics. This scratchy noise grows up when gain control >>> comes over 100% (up to 200% is possible). Can anyone confirm this? >>> >> I haven't noticed that here, maybe your soundcard is clipping etc >> due to too high mixer levels? > > Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 > and as I wrote, gain control was set in the middle (100%). But now, with > pulseaudio enabled again, there is not problem with damaged sound > quality any more. > >>> And last but not least: When I deinstall vlc I get the following >>> message: >>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 >>> checksum - deleted anyway. >>> >> That's the file whose generating crashed when building with the old >> vlc still installed, maybe it's regenerated at runtime otherwise? > > No, it also fails original MD5 checksum with deinstall/reinstall within > 2.0.3. > >>> Thanks again for your work on this port. >>> Rainer >> >> You're welcome! :) >> Juergen I just found two other problems, which at least occur on my system (10.0-CURRENT amd64): (1) With option NOTIFY enabled I am able to build, but not to install vlc. It gives me: gmake[3]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' /usr/local/bin/gmkdir -p '/usr/ports/multimedia/vlc/work/fake/usr/local/bin' install -o root -g wheel -m 555 cvlc rvlc svlc qvlc '/usr/ports/multimedia/vlc/work/fake/usr/local/bin' gmake install-exec-hook gmake[4]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' if test "amd64-portbld-freebsd10.0" = "amd64-portbld-freebsd10.0"; then \ LD_LIBRARY_PATH="/usr/ports/multimedia/vlc/work/fake/usr/local/lib:$LD_LIBRARY_PATH" \ "/usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/vlc-cache-gen" \ "/usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/plugins" ; \ else \ echo "Cross-compilation: cache generation skipped!" ; \ fi gmake[4]: *** [install-exec-hook] Segmentation fault: 11 (Speicherauszug erstellt) gmake[4]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' gmake[3]: *** [install-exec-am] Fehler 2 gmake[3]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' gmake[2]: *** [install-am] Fehler 2 gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' gmake[1]: *** [install-recursive] Fehler 1 gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' gmake: *** [install] Fehler 2 *** [pre-install] Error code 2 (2) Option PROJM builds and installs, but crashes when I try to start it within vlc: No Textures Loaded from /usr/local/share/projectM/textures Segmentation fault (core dumped) As far as I can see, there is no path to projectM/textures (installed from libprojectM) on FreeBSD, but to projectM/presets? Sorry for this late response, but before I was not able to run vlc because of the pulseaudio crashing. Rainer From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 21:12:43 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBAC51065672; Mon, 13 Aug 2012 21:12:42 +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 1F0F78FC14; Mon, 13 Aug 2012 21:12:41 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 7F8EC1E00717; Mon, 13 Aug 2012 23:12:40 +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 q7DLB95g071882; Mon, 13 Aug 2012 23:11:09 +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 q7DLB93l071881; Mon, 13 Aug 2012 23:11:09 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 13 Aug 2012 23:11:09 +0200 To: Rainer Hurling Message-ID: <20120813211109.GA71682@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> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50295B53.3020902@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: kan@FreeBSD.org, Juergen Lock , freebsd-multimedia@FreeBSD.org, kib@FreeBSD.org, freebsd-ports@FreeBSD.org, gnome@FreeBSD.org Subject: More rtld trouble (was: Re: Another vlc 2.0.3 update ... ) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 21:12:43 -0000 Hi kib, kan, sorry to bother you again but... :) On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: > On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: > > On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: > >> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: > >>> Am 13.08.2012 01:12 (UTC+1) schrieb Juergen Lock: > >>>> 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 can confirm this backtrace. It is exactly the same on my system. > >>> > >> I just posted the workaround for that crash: > >> > >> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch > > > > Thanks for the newest patch! The change from > > sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core > > dumps any more and sound via pulseaudio is working again :) > > > >>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have > >>>> an idea? > >>> > >>> Did you forgot to Cc gnome@ (even on the other thread)? > >>> > >> Yeah, I manually forwarded the mail when I noticed. > >>> > >>> I tried out a little bit the build without pulseaudio enabled. It seems > >>> to me, that the sound of vlc is somewhat noisy or dirty, especially for > >>> parts with more dynamics. This scratchy noise grows up when gain control > >>> comes over 100% (up to 200% is possible). Can anyone confirm this? > >>> > >> I haven't noticed that here, maybe your soundcard is clipping etc > >> due to too high mixer levels? > > > > Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 > > and as I wrote, gain control was set in the middle (100%). But now, with > > pulseaudio enabled again, there is not problem with damaged sound > > quality any more. > > > >>> And last but not least: When I deinstall vlc I get the following > >>> message: > >>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 > >>> checksum - deleted anyway. > >>> > >> That's the file whose generating crashed when building with the old > >> vlc still installed, maybe it's regenerated at runtime otherwise? > > > > No, it also fails original MD5 checksum with deinstall/reinstall within > > 2.0.3. > > > >>> Thanks again for your work on this port. > >>> Rainer > >> > >> You're welcome! :) > >> Juergen > > I just found two other problems, which at least occur on my system > (10.0-CURRENT amd64): > > (1) With option NOTIFY enabled I am able to build, but not to install > vlc. It gives me: > > gmake[3]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' > /usr/local/bin/gmkdir -p > '/usr/ports/multimedia/vlc/work/fake/usr/local/bin' > install -o root -g wheel -m 555 cvlc rvlc svlc qvlc > '/usr/ports/multimedia/vlc/work/fake/usr/local/bin' > gmake install-exec-hook > gmake[4]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' > if test "amd64-portbld-freebsd10.0" = "amd64-portbld-freebsd10.0"; then \ > > LD_LIBRARY_PATH="/usr/ports/multimedia/vlc/work/fake/usr/local/lib:$LD_LIBRARY_PATH" > \ > > "/usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/vlc-cache-gen" \ > > "/usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/plugins" ; \ > else \ > echo "Cross-compilation: cache generation skipped!" ; \ > fi > gmake[4]: *** [install-exec-hook] Segmentation fault: 11 (Speicherauszug > erstellt) > gmake[4]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' > gmake[3]: *** [install-exec-am] Fehler 2 > gmake[3]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' > gmake[2]: *** [install-am] Fehler 2 > gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' > gmake[1]: *** [install-recursive] Fehler 1 > gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' > gmake: *** [install] Fehler 2 > *** [pre-install] Error code 2 > Looks like this is another vlc-cache-gen rtld crash, and this time the remove-old-vlc-version-first workaround doesn't apply... [...] Loaded symbols for /libexec/ld-elf.so.1 #0 symlook_obj (req=0x7fffffffbef0, obj=0x800640c00) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:3847 3847 for (symnum = obj->buckets[req->hash % obj->nbuckets]; [New Thread 802406400 (LWP 100159/vlc-cache-gen)] (gdb) bt #0 symlook_obj (req=0x7fffffffbef0, obj=0x800640c00) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:3847 #1 0x0000000800608ae7 in symlook_list (req=0x7fffffffc110, objlist=Variable "objlist" is not available. ) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:3611 #2 0x000000080060911b in symlook_default (req=0x7fffffffc1b0, refobj=Variable "refobj" is not available. ) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:3569 #3 0x000000080060939d in find_symdef (symnum=14, refobj=0x800704c00, defobj_out=0x7fffffffc250, flags=0, cache=0x80061d000, lockstate=0x7fffffffc2f0) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:1541 #4 0x0000000800603690 in reloc_non_plt (obj=0x800704c00, obj_rtld=Variable "obj_rtld" is not available. ) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/amd64/reloc.c:204 #5 0x0000000800606ae8 in relocate_object (obj=0x800704c00, bind_now=0 '\0', rtldobj=0x800819d00, flags=0, lockstate=0x7fffffffc2f0) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:2433 #6 0x00000008006084a8 in dlopen_object ( name=0x80243fb80 "/usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/vlc/plugins/services_discovery/libpulselist_plugin.so", fd=Variable "fd" is not available. ) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:2392 #7 0x0000000800608f67 in rtld_dlopen ( name=0x80243fb80 "/usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/vlc/plugins/services_discovery/libpulselist_plugin.so", fd=-1, mode=1) at /d3t/d3t/home/nox/src10b/src/libexec/rtld-elf/rtld.c:2761 #8 0x0000000800ad377d in vlc_timer_create () from /usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/libvlccore.so.6 #9 0x0000000800ab9998 in module_gettext () from /usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/libvlccore.so.6 #10 0x0000000800aba0aa in module_list_get () from /usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/libvlccore.so.6 #11 0x0000000800ab9db1 in module_list_get () from /usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/libvlccore.so.6 #12 0x0000000800aba17d in module_list_get () from /usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/libvlccore.so.6 #13 0x0000000800aba631 in module_list_get () from /usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/libvlccore.so.6 #14 0x0000000800a52573 in libvlc_InternalInit () from /usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/libvlccore.so.6 #15 0x0000000800822777 in libvlc_new () from /usr/ports/multimedia/vlc-203a/work/fake/usr/local/lib/libvlc.so.8 #16 0x0000000000400cd4 in main () (gdb) p obj->buckets[req->hash % obj->nbuckets] Cannot access memory at address 0x8082ac16c (gdb) p obj->nbuckets $1 = 17 (gdb) p *obj $2 = {magic = 3578837114, version = 1, next = 0x800641c00, path = 0x800643a00 "/usr/local/lib/libXinerama.so.1", origin_path = 0x0, refcount = 1, dl_refcount = 0, mapbase = 0x8082ac000
, mapsize = 2105344, textsize = 8192, vaddrbase = 0, relocbase = 0x8082ac000
, dynamic = 0x8084ad6d8, entry = 0x8082aca40
, phdr = 0x8082ac040, phsize = 280, interp = 0x0, stack_flags = 6, tlsindex = 0, tlsinit = 0x0, tlsinitsize = 0, tlssize = 0, tlsoffset = 0, tlsalign = 0, relro_page = 0x8082ac000
, relro_size = 0, pltgot = 0x8084ad8f8, rel = 0x0, relsize = 0, rela = 0x8082ac768, relasize = 168, pltrel = 0x0, pltrelsize = 0, pltrela = 0x8082ac810, pltrelasize = 312, symtab = 0x8082ac218, strtab = 0x8082ac4d0
, strsize = 568, verneed = 0x8082ac748, verneednum = 1, verdef = 0x0, verdefnum = 0, versyms = 0x8082ac708, buckets = 0x8082ac160, nbuckets = 17, chains = 0x8082ac1a4, nchains = 29, nbuckets_gnu = 0, symndx_gnu = 0, maskwords_bm_gnu = 0, shift2_gnu = 0, dynsymcount = 29, bloom_gnu = 0x0, buckets_gnu = 0x0, chain_zero_gnu = 0x0, rpath = 0x8082ac6f0
, runpath = 0x0, needed = 0x0, needed_filtees = 0x0, needed_aux_filtees = 0x0, names = {stqh_first = 0x0, stqh_last = 0x800640dc0}, vertab = 0x80061ed80, vernum = 3, init = 34496760136, fini = 34496763032, preinit_array = 0, init_array = 0, fini_array = 0, preinit_array_num = 0, init_array_num = 0, fini_array_num = 0, osrel = 0, mainprog = 0 '\0', rtld = 0 '\0', relocated = 1 '\001', ver_checked = 1 '\001', textrel = 0 '\0', symbolic = 0 '\0', bind_now = 0 '\0', traced = 0 '\0', jmpslots_done = 0 '\0', init_done = 1 '\001', tls_done = 0 '\0', phdr_alloc = 0 '\0', z_origin = 0 '\0', z_nodelete = 0 '\0', z_noopen = 0 '\0', z_loadfltr = 0 '\0', z_nodeflib = 0 '\0', ref_nodel = 0 '\0', init_scanned = 0 '\0', on_fini_list = 1 '\001', dag_inited = 0 '\0', filtees_loaded = 0 '\0', irelative = 0 '\0', gnu_ifunc = 0 '\0', crt_no_init = 0 '\0', valid_hash_sysv = 1 '\001', valid_hash_gnu = 0 '\0', linkmap = {l_addr = 0x8082ac000
, l_name = 0x800643a00 "/usr/local/lib/libXinerama.so.1", l_ld = 0x8084ad6d8, l_next = 0x800641e20, l_prev = 0x800641a20}, dldags = {stqh_first = 0x8006fce60, stqh_last = 0x8006fce60}, dagmembers = {stqh_first = 0x0, stqh_last = 0x800640e58}, dev = 160, ino = 2054422, priv = 0x0} (gdb) p obj->buckets $3 = (const Elf_Hashelt *) 0x8082ac160 (gdb) p obj->buckets[16] Cannot access memory at address 0x8082ac1a0 (gdb) p obj->buckets[15] Cannot access memory at address 0x8082ac19c (gdb) p obj->buckets[10] Cannot access memory at address 0x8082ac188 (gdb) p obj->buckets[5] Cannot access memory at address 0x8082ac174 (gdb) p obj->buckets[2] Cannot access memory at address 0x8082ac168 (gdb) p obj->buckets[1] Cannot access memory at address 0x8082ac164 (gdb) p obj->buckets[0] Cannot access memory at address 0x8082ac160 (gdb) > > (2) Option PROJM builds and installs, but crashes when I try to start it > within vlc: > > No Textures Loaded from /usr/local/share/projectM/textures > Segmentation fault (core dumped) > > As far as I can see, there is no path to projectM/textures (installed > from libprojectM) on FreeBSD, but to projectM/presets? > I'll have to look at that next... > > Sorry for this late response, but before I was not able to run vlc > because of the pulseaudio crashing. Thanx, Juergen From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 21:52:58 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17CC0106564A; Mon, 13 Aug 2012 21:52:58 +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 BAF768FC17; Mon, 13 Aug 2012 21:52:57 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id A60E81E00719; Mon, 13 Aug 2012 23:52:56 +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 q7DLqCOD072824; Mon, 13 Aug 2012 23:52:12 +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 q7DLqCjF072823; Mon, 13 Aug 2012 23:52:12 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 13 Aug 2012 23:52:12 +0200 To: Gary Jennejohn Message-ID: <20120813215212.GA72798@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> <20120813024135.3501fcee@kan.dyndns.org> <20120813201242.5108f145@ernst.jennejohn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120813201242.5108f145@ernst.jennejohn.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org, Juergen Lock Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 21:52:58 -0000 On Mon, Aug 13, 2012 at 08:12:42PM +0200, Gary Jennejohn wrote: > On Mon, 13 Aug 2012 02:41:35 -0400 > Alexander Kabaev wrote: > > [snip lots of gdb trace] > > > 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. > > > > Seems like a good idea, but I replaced the rather sloppy > buf[sysctl(_SC_GETPW_R_SIZE_MAX)]; > with > buf[2048]; > and vlc still core dumps when trying to generate plugins.dat. Yeah that seems to be a different issue (rtld). Juergen From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 21:52:58 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2555F106566B; Mon, 13 Aug 2012 21:52:58 +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 BAF0B8FC15; Mon, 13 Aug 2012 21:52:57 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 90E6F1E0071A; Mon, 13 Aug 2012 23:52:56 +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 q7DLkp5K072617; Mon, 13 Aug 2012 23:46:51 +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 q7DLkp49072616; Mon, 13 Aug 2012 23:46:51 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 13 Aug 2012 23:46:51 +0200 To: Juergen Lock Message-ID: <20120813214651.GA72570@triton8.kn-bremen.de> References: <5027E2EA.2070508@gwdg.de> <20120812171133.GA26625@triton8.kn-bremen.de> <5027E471.1020800@gwdg.de> <5028022B.3020005@gwdg.de> <20120812231210.GA35081@triton8.kn-bremen.de> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120813211109.GA71682@triton8.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: More rtld trouble (was: Re: Another vlc 2.0.3 update ... ) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 21:52:58 -0000 [removed kan and kib from Cc as this is now not about rtld in fact] On Mon, Aug 13, 2012 at 11:11:09PM +0200, Juergen Lock wrote: > Hi kib, kan, sorry to bother you again but... :) > > On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: > > On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: > > > On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: > > >> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: > [...] > > >> I just posted the workaround for that crash: > > >> > > >> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch > > > > > > Thanks for the newest patch! The change from > > > sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core > > > dumps any more and sound via pulseaudio is working again :) > > > > > >>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have > > >>>> an idea? > > >>> > > >>> Did you forgot to Cc gnome@ (even on the other thread)? > > >>> > > >> Yeah, I manually forwarded the mail when I noticed. > > >>> > > >>> I tried out a little bit the build without pulseaudio enabled. It seems > > >>> to me, that the sound of vlc is somewhat noisy or dirty, especially for > > >>> parts with more dynamics. This scratchy noise grows up when gain control > > >>> comes over 100% (up to 200% is possible). Can anyone confirm this? > > >>> > > >> I haven't noticed that here, maybe your soundcard is clipping etc > > >> due to too high mixer levels? > > > > > > Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 > > > and as I wrote, gain control was set in the middle (100%). But now, with > > > pulseaudio enabled again, there is not problem with damaged sound > > > quality any more. > > > Btw it's still possible that different mixer items cause different clipping etc, for example vol 100 and pcm low sounds worse than vol 75 and pcm higher, etc. (Maybe pulseaudio does that...?) > > >>> And last but not least: When I deinstall vlc I get the following > > >>> message: > > >>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 > > >>> checksum - deleted anyway. > > >>> > > >> That's the file whose generating crashed when building with the old > > >> vlc still installed, maybe it's regenerated at runtime otherwise? > > > > > > No, it also fails original MD5 checksum with deinstall/reinstall within > > > 2.0.3. > > > > > >>> Thanks again for your work on this port. > > >>> Rainer > > >> > > >> You're welcome! :) > > >> Juergen > > > > I just found two other problems, which at least occur on my system > > (10.0-CURRENT amd64): > > > > (1) With option NOTIFY enabled I am able to build, but not to install > > vlc. It gives me: > > > [...] > > > > (2) Option PROJM builds and installs, but crashes when I try to start it > > within vlc: > > > > No Textures Loaded from /usr/local/share/projectM/textures > > Segmentation fault (core dumped) > > > > As far as I can see, there is no path to projectM/textures (installed > > from libprojectM) on FreeBSD, but to projectM/presets? > > > I'll have to look at that next... > > Hmm, cannot seem to reproduce this one, sorry. (Or do I have to do something special in vlc to activate it? I just tried playing a video file...) > > Sorry for this late response, but before I was not able to run vlc > > because of the pulseaudio crashing. > > Thanx, > Juergen From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 13 23:19:07 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A315106564A; Mon, 13 Aug 2012 23:19:07 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id E92518FC08; Mon, 13 Aug 2012 23:19:06 +0000 (UTC) Received: by qcsg15 with SMTP id g15so3442521qcs.13 for ; Mon, 13 Aug 2012 16:19:00 -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=gaAtxr1mfh3guNtQ2b5E1IzwZoPT/wLEH+s+ycJSObA=; b=I1d450w8moqOMscriVzMUNRY5tKzppuhcJ42Msfon3mr6UJBpUiYEW/R0mErx6pxyO 5Ba3wOetxy+b+xG6DuVBN7cEUPxbacwN2TUUuG3vh9bpG2QOZP8jIHJG3n/MgCXWyJ3Q bExL6Ge2Kl9iVokzzcSAvGcDotz4JiFr0vKOZ/JBVooK1HmX5V1vZvzDqRtOYMMRvScB Z5kOeCU8+o/whmvoAPMTbiTan9HQsSBodrI2APXa1UCeNceVarBdxTwjdIQFGE3bJCZI Qz+nT+7E6fzm+dlkKbiauwDGiqGcbuXcfmnzkRyyF4BCbyEPQWYgoKuKwlZbmbBve7we 7zzA== Received: by 10.229.137.140 with SMTP id w12mr7687009qct.8.1344899940034; Mon, 13 Aug 2012 16:19:00 -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 c5sm1312491qao.22.2012.08.13.16.18.58 (version=SSLv3 cipher=OTHER); Mon, 13 Aug 2012 16:18:58 -0700 (PDT) Date: Mon, 13 Aug 2012 19:18:52 -0400 From: Alexander Kabaev To: Juergen Lock Message-ID: <20120813191852.1daed223@kan.dyndns.org> In-Reply-To: <20120813215212.GA72798@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> <20120813024135.3501fcee@kan.dyndns.org> <20120813201242.5108f145@ernst.jennejohn.org> <20120813215212.GA72798@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_/yt9HDrw2DBQtoVJR3VGWHu3"; protocol="application/pgp-signature" Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org, Gary Jennejohn Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 23:19:07 -0000 --Sig_/yt9HDrw2DBQtoVJR3VGWHu3 Content-Type: multipart/mixed; boundary="MP_/9mQ1t0s1jcj1C7K5p0G.9PV" --MP_/9mQ1t0s1jcj1C7K5p0G.9PV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Mon, 13 Aug 2012 23:52:12 +0200 Juergen Lock wrote: > On Mon, Aug 13, 2012 at 08:12:42PM +0200, Gary Jennejohn wrote: > > On Mon, 13 Aug 2012 02:41:35 -0400 > > Alexander Kabaev wrote: > >=20 > > [snip lots of gdb trace] > >=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. > > >=20 > >=20 > > Seems like a good idea, but I replaced the rather sloppy > > buf[sysctl(_SC_GETPW_R_SIZE_MAX)]; > > with > > buf[2048]; > > and vlc still core dumps when trying to generate plugins.dat. >=20 > Yeah that seems to be a different issue (rtld). > Juergen Please try this patch. --=20 Alexander Kabaev --MP_/9mQ1t0s1jcj1C7K5p0G.9PV Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=rtld-defer-nodelete.diff diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 95358aa..6f6ac70 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -1743,6 +1743,27 @@ init_dag(Obj_Entry *root) root->dag_inited =3D true; } =20 +static void +process_nodelete(Obj_Entry *root) +{ + const Objlist_Entry *elm; + + /* + * Walk over object DAG and process every dependent object + * that is marked as DF_1_NODELETE. They need to grow own + * dag, which should then be ref-ed separately. + */ + STAILQ_FOREACH(elm, &root->dagmembers, link) { + if (elm->obj !=3D NULL && elm->obj->z_nodelete && + !elm->obj->ref_nodel) { + dbg("obj %s nodelete", elm->obj->path); + init_dag(elm->obj); + ref_dag(elm->obj); + elm->obj->ref_nodel =3D true; + } + } + root->dag_inited =3D true; +} /* * Initialize the dynamic linker. The argument is the address at which * the dynamic linker has been mapped into memory. The primary task of @@ -1932,12 +1953,6 @@ process_needed(Obj_Entry *obj, Needed_Entry *needed,= int flags) flags & ~RTLD_LO_NOLOAD); if (obj1 =3D=3D NULL && !ld_tracing && (flags & RTLD_LO_FILTEES) =3D=3D 0) return (-1); - if (obj1 !=3D NULL && obj1->z_nodelete && !obj1->ref_nodel) { - dbg("obj %s nodelete", obj1->path); - init_dag(obj1); - ref_dag(obj1); - obj1->ref_nodel =3D true; - } } return (0); } @@ -2833,8 +2848,12 @@ dlopen_object(const char *name, int fd, Obj_Entry *r= efobj, int lo_flags, /* Make list of init functions to call. */ initlist_add_objects(obj, &obj->next, &initlist); } + /* + * Process all no_delete objects here, given them own + * DAGs to prevent their dependencies from being unloaded. + */ + process_nodelete(obj); } else { - /* * Bump the reference counts for objects on this DAG. If * this is the first dlopen() call for the object that was --MP_/9mQ1t0s1jcj1C7K5p0G.9PV-- --Sig_/yt9HDrw2DBQtoVJR3VGWHu3 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iD8DBQFQKYthQ6z1jMm+XZYRAnIYAJ45YI4/99OyBPiriOVesCHgH1ETCgCfeEkr YIY9G/AHwpxDMkECk/3W0og= =obK2 -----END PGP SIGNATURE----- --Sig_/yt9HDrw2DBQtoVJR3VGWHu3-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 04:40:21 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7816C106566C; Tue, 14 Aug 2012 04:40:21 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 05C388FC0C; Tue, 14 Aug 2012 04:40:20 +0000 (UTC) Received: from wald.nfv.gwdg.de ([134.76.242.31] helo=pc028.nfv) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T18vS-0000qc-G0; Tue, 14 Aug 2012 06:40:18 +0200 Message-ID: <5029D6AE.4050205@gwdg.de> Date: Tue, 14 Aug 2012 06:40:14 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Juergen Lock References: <5027E2EA.2070508@gwdg.de> <20120812171133.GA26625@triton8.kn-bremen.de> <5027E471.1020800@gwdg.de> <5028022B.3020005@gwdg.de> <20120812231210.GA35081@triton8.kn-bremen.de> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> In-Reply-To: <20120813214651.GA72570@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: More rtld trouble X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 04:40:21 -0000 Am 13.08.2012 23:46 (UTC+1) schrieb Juergen Lock: > [removed kan and kib from Cc as this is now not about rtld in fact] > > On Mon, Aug 13, 2012 at 11:11:09PM +0200, Juergen Lock wrote: >> Hi kib, kan, sorry to bother you again but... :) >> >> On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: >>> On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: >>>> On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: >>>>> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: >> [...] >>>>> I just posted the workaround for that crash: >>>>> >>>>> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch >>>> >>>> Thanks for the newest patch! The change from >>>> sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core >>>> dumps any more and sound via pulseaudio is working again :) >>>> >>>>>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have >>>>>>> an idea? >>>>>> >>>>>> Did you forgot to Cc gnome@ (even on the other thread)? >>>>>> >>>>> Yeah, I manually forwarded the mail when I noticed. >>>>>> >>>>>> I tried out a little bit the build without pulseaudio enabled. It seems >>>>>> to me, that the sound of vlc is somewhat noisy or dirty, especially for >>>>>> parts with more dynamics. This scratchy noise grows up when gain control >>>>>> comes over 100% (up to 200% is possible). Can anyone confirm this? >>>>>> >>>>> I haven't noticed that here, maybe your soundcard is clipping etc >>>>> due to too high mixer levels? >>>> >>>> Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 >>>> and as I wrote, gain control was set in the middle (100%). But now, with >>>> pulseaudio enabled again, there is not problem with damaged sound >>>> quality any more. >>>> > Btw it's still possible that different mixer items cause different > clipping etc, for example vol 100 and pcm low sounds worse than > vol 75 and pcm higher, etc. (Maybe pulseaudio does that...?) OK, thanks for the hint. I will have a further look at mixer. There are also some combinations like with kmix etc., that are not exactly represented in mixer settings ... >>>>>> And last but not least: When I deinstall vlc I get the following >>>>>> message: >>>>>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 >>>>>> checksum - deleted anyway. >>>>>> >>>>> That's the file whose generating crashed when building with the old >>>>> vlc still installed, maybe it's regenerated at runtime otherwise? >>>> >>>> No, it also fails original MD5 checksum with deinstall/reinstall within >>>> 2.0.3. >>>> >>>>>> Thanks again for your work on this port. >>>>>> Rainer >>>>> >>>>> You're welcome! :) >>>>> Juergen >>> >>> I just found two other problems, which at least occur on my system >>> (10.0-CURRENT amd64): >>> >>> (1) With option NOTIFY enabled I am able to build, but not to install >>> vlc. It gives me: >>> >> [...] >>> >>> (2) Option PROJM builds and installs, but crashes when I try to start it >>> within vlc: >>> >>> No Textures Loaded from /usr/local/share/projectM/textures >>> Segmentation fault (core dumped) >>> >>> As far as I can see, there is no path to projectM/textures (installed >>> from libprojectM) on FreeBSD, but to projectM/presets? >>> >> I'll have to look at that next... >>> > Hmm, cannot seem to reproduce this one, sorry. (Or do I have to do > something special in vlc to activate it? I just tried playing a > video file...) I have the problem with ProjectM when playing audio files and turn the ProjectM visualizations on. It immediately crashes. >>> Sorry for this late response, but before I was not able to run vlc >>> because of the pulseaudio crashing. >> >> Thanx, >> Juergen From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 11:46:48 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D621065675; Tue, 14 Aug 2012 11:46:48 +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 031248FC23; Tue, 14 Aug 2012 11:46:47 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id D1EBB1E00716; Tue, 14 Aug 2012 13:46:46 +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 q7EBgEwU094485; Tue, 14 Aug 2012 13:42:14 +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 q7EBgE2H094484; Tue, 14 Aug 2012 13:42:14 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 14 Aug 2012 13:42:14 +0200 To: Rainer Hurling Message-ID: <20120814114214.GB94259@triton8.kn-bremen.de> References: <5027E471.1020800@gwdg.de> <5028022B.3020005@gwdg.de> <20120812231210.GA35081@triton8.kn-bremen.de> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5029D6AE.4050205@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: Re: More rtld trouble X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 11:46:48 -0000 On Tue, Aug 14, 2012 at 06:40:14AM +0200, Rainer Hurling wrote: > > > Am 13.08.2012 23:46 (UTC+1) schrieb Juergen Lock: > > [removed kan and kib from Cc as this is now not about rtld in fact] > > > > On Mon, Aug 13, 2012 at 11:11:09PM +0200, Juergen Lock wrote: > >> Hi kib, kan, sorry to bother you again but... :) > >> > >> On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: > >>> On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: > >>>> On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: > >>>>> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: > >> [...] > >>>>> I just posted the workaround for that crash: > >>>>> > >>>>> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch > >>>> > >>>> Thanks for the newest patch! The change from > >>>> sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core > >>>> dumps any more and sound via pulseaudio is working again :) > >>>> > >>>>>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have > >>>>>>> an idea? > >>>>>> > >>>>>> Did you forgot to Cc gnome@ (even on the other thread)? > >>>>>> > >>>>> Yeah, I manually forwarded the mail when I noticed. > >>>>>> > >>>>>> I tried out a little bit the build without pulseaudio enabled. It seems > >>>>>> to me, that the sound of vlc is somewhat noisy or dirty, especially for > >>>>>> parts with more dynamics. This scratchy noise grows up when gain control > >>>>>> comes over 100% (up to 200% is possible). Can anyone confirm this? > >>>>>> > >>>>> I haven't noticed that here, maybe your soundcard is clipping etc > >>>>> due to too high mixer levels? > >>>> > >>>> Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 > >>>> and as I wrote, gain control was set in the middle (100%). But now, with > >>>> pulseaudio enabled again, there is not problem with damaged sound > >>>> quality any more. > >>>> > > Btw it's still possible that different mixer items cause different > > clipping etc, for example vol 100 and pcm low sounds worse than > > vol 75 and pcm higher, etc. (Maybe pulseaudio does that...?) > > OK, thanks for the hint. I will have a further look at mixer. There are > also some combinations like with kmix etc., that are not exactly > represented in mixer settings ... > > >>>>>> And last but not least: When I deinstall vlc I get the following > >>>>>> message: > >>>>>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 > >>>>>> checksum - deleted anyway. > >>>>>> > >>>>> That's the file whose generating crashed when building with the old > >>>>> vlc still installed, maybe it's regenerated at runtime otherwise? > >>>> > >>>> No, it also fails original MD5 checksum with deinstall/reinstall within > >>>> 2.0.3. > >>>> > >>>>>> Thanks again for your work on this port. > >>>>>> Rainer > >>>>> > >>>>> You're welcome! :) > >>>>> Juergen > >>> > >>> I just found two other problems, which at least occur on my system > >>> (10.0-CURRENT amd64): > >>> > >>> (1) With option NOTIFY enabled I am able to build, but not to install > >>> vlc. It gives me: > >>> > >> [...] > >>> > >>> (2) Option PROJM builds and installs, but crashes when I try to start it > >>> within vlc: > >>> > >>> No Textures Loaded from /usr/local/share/projectM/textures > >>> Segmentation fault (core dumped) > >>> > >>> As far as I can see, there is no path to projectM/textures (installed > >>> from libprojectM) on FreeBSD, but to projectM/presets? > >>> > >> I'll have to look at that next... > >>> > > Hmm, cannot seem to reproduce this one, sorry. (Or do I have to do > > something special in vlc to activate it? I just tried playing a > > video file...) > > I have the problem with ProjectM when playing audio files and turn the > ProjectM visualizations on. It immediately crashes. > Yes, I meanwhile found this too. Maybe our projectm port version is too old? Thanx, Juergen From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 11:46:48 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D4CB106567D; Tue, 14 Aug 2012 11:46:48 +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 030E98FC1D; Tue, 14 Aug 2012 11:46:47 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id E4E181E000E6; Tue, 14 Aug 2012 13:46:46 +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 q7EBdLBl094458; Tue, 14 Aug 2012 13:39:21 +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 q7EBdL4T094457; Tue, 14 Aug 2012 13:39:21 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 14 Aug 2012 13:39:21 +0200 To: Alexander Kabaev Message-ID: <20120814113921.GA94259@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> <20120813024135.3501fcee@kan.dyndns.org> <20120813201242.5108f145@ernst.jennejohn.org> <20120813215212.GA72798@triton8.kn-bremen.de> <20120813191852.1daed223@kan.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120813191852.1daed223@kan.dyndns.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org, Gary Jennejohn Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 11:46:48 -0000 [Now also posted here:] On Mon, Aug 13, 2012 at 07:18:52PM -0400, Alexander Kabaev wrote: > On Mon, 13 Aug 2012 23:52:12 +0200 > Juergen Lock wrote: > > > On Mon, Aug 13, 2012 at 08:12:42PM +0200, Gary Jennejohn wrote: > > > On Mon, 13 Aug 2012 02:41:35 -0400 > > > Alexander Kabaev wrote: > > > > > > [snip lots of gdb trace] > > > > > > > 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. > > > > > > > > > > Seems like a good idea, but I replaced the rather sloppy > > > buf[sysctl(_SC_GETPW_R_SIZE_MAX)]; > > > with > > > buf[2048]; > > > and vlc still core dumps when trying to generate plugins.dat. > > > > Yeah that seems to be a different issue (rtld). > > Juergen > > Please try this patch. > Thank you, that fixed both the build crash with the pulseaudio knob enabled when the old vlc version was still installed as well as the install crash with the notify knob enabled. :) Juergen > -- > Alexander Kabaev > diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c > index 95358aa..6f6ac70 100644 > --- a/libexec/rtld-elf/rtld.c > +++ b/libexec/rtld-elf/rtld.c > @@ -1743,6 +1743,27 @@ init_dag(Obj_Entry *root) > root->dag_inited = true; > } > > +static void > +process_nodelete(Obj_Entry *root) > +{ > + const Objlist_Entry *elm; > + > + /* > + * Walk over object DAG and process every dependent object > + * that is marked as DF_1_NODELETE. They need to grow own > + * dag, which should then be ref-ed separately. > + */ > + STAILQ_FOREACH(elm, &root->dagmembers, link) { > + if (elm->obj != NULL && elm->obj->z_nodelete && > + !elm->obj->ref_nodel) { > + dbg("obj %s nodelete", elm->obj->path); > + init_dag(elm->obj); > + ref_dag(elm->obj); > + elm->obj->ref_nodel = true; > + } > + } > + root->dag_inited = true; > +} > /* > * Initialize the dynamic linker. The argument is the address at which > * the dynamic linker has been mapped into memory. The primary task of > @@ -1932,12 +1953,6 @@ process_needed(Obj_Entry *obj, Needed_Entry *needed, int flags) > flags & ~RTLD_LO_NOLOAD); > if (obj1 == NULL && !ld_tracing && (flags & RTLD_LO_FILTEES) == 0) > return (-1); > - if (obj1 != NULL && obj1->z_nodelete && !obj1->ref_nodel) { > - dbg("obj %s nodelete", obj1->path); > - init_dag(obj1); > - ref_dag(obj1); > - obj1->ref_nodel = true; > - } > } > return (0); > } > @@ -2833,8 +2848,12 @@ dlopen_object(const char *name, int fd, Obj_Entry *refobj, int lo_flags, > /* Make list of init functions to call. */ > initlist_add_objects(obj, &obj->next, &initlist); > } > + /* > + * Process all no_delete objects here, given them own > + * DAGs to prevent their dependencies from being unloaded. > + */ > + process_nodelete(obj); > } else { > - > /* > * Bump the reference counts for objects on this DAG. If > * this is the first dlopen() call for the object that was From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 15:25:06 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B26DA106564A; Tue, 14 Aug 2012 15:25:06 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 346788FC08; Tue, 14 Aug 2012 15:25:06 +0000 (UTC) Received: from p508c7abc.dip.t-dialin.net ([80.140.122.188] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T1IzM-0000CI-Bo; Tue, 14 Aug 2012 17:25:00 +0200 Message-ID: <502A6DC8.6090705@gwdg.de> Date: Tue, 14 Aug 2012 17:24:56 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Alexander Kabaev 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> <20120813024135.3501fcee@kan.dyndns.org> <20120813201242.5108f145@ernst.jennejohn.org> <20120813215212.GA72798@triton8.kn-bremen.de> <20120813191852.1daed223@kan.dyndns.org> <20120814113921.GA94259@triton8.kn-bremen.de> In-Reply-To: <20120814113921.GA94259@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org, Gary Jennejohn Subject: Re: Another vlc 2.0.3 update (new ffmpeg! :) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 15:25:06 -0000 On 14.08.2012 13:39 (UTC+2), Juergen Lock wrote: > [Now also posted here:] > > On Mon, Aug 13, 2012 at 07:18:52PM -0400, Alexander Kabaev wrote: >> On Mon, 13 Aug 2012 23:52:12 +0200 >> Juergen Lock wrote: >> >>> On Mon, Aug 13, 2012 at 08:12:42PM +0200, Gary Jennejohn wrote: >>>> On Mon, 13 Aug 2012 02:41:35 -0400 >>>> Alexander Kabaev wrote: >>>> >>>> [snip lots of gdb trace] >>>> >>>>> 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. >>>>> >>>> >>>> Seems like a good idea, but I replaced the rather sloppy >>>> buf[sysctl(_SC_GETPW_R_SIZE_MAX)]; >>>> with >>>> buf[2048]; >>>> and vlc still core dumps when trying to generate plugins.dat. >>> >>> Yeah that seems to be a different issue (rtld). >>> Juergen >> >> Please try this patch. >> > Thank you, that fixed both the build crash with the pulseaudio > knob enabled when the old vlc version was still installed as well > as the install crash with the notify knob enabled. :) After svn update of r239253 from head, I built and install 10.0-CURRENT amd64. Now vlc-2.0.3 with pulseaudio and inotify enabled builds and installs out of the box :-) Many thanks! Rainer > Juergen >> -- >> Alexander Kabaev > >> diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c >> index 95358aa..6f6ac70 100644 >> --- a/libexec/rtld-elf/rtld.c >> +++ b/libexec/rtld-elf/rtld.c >> @@ -1743,6 +1743,27 @@ init_dag(Obj_Entry *root) >> root->dag_inited = true; >> } >> >> +static void >> +process_nodelete(Obj_Entry *root) >> +{ >> + const Objlist_Entry *elm; >> + >> + /* >> + * Walk over object DAG and process every dependent object >> + * that is marked as DF_1_NODELETE. They need to grow own >> + * dag, which should then be ref-ed separately. >> + */ >> + STAILQ_FOREACH(elm, &root->dagmembers, link) { >> + if (elm->obj != NULL && elm->obj->z_nodelete && >> + !elm->obj->ref_nodel) { >> + dbg("obj %s nodelete", elm->obj->path); >> + init_dag(elm->obj); >> + ref_dag(elm->obj); >> + elm->obj->ref_nodel = true; >> + } >> + } >> + root->dag_inited = true; >> +} >> /* >> * Initialize the dynamic linker. The argument is the address at which >> * the dynamic linker has been mapped into memory. The primary task of >> @@ -1932,12 +1953,6 @@ process_needed(Obj_Entry *obj, Needed_Entry *needed, int flags) >> flags & ~RTLD_LO_NOLOAD); >> if (obj1 == NULL && !ld_tracing && (flags & RTLD_LO_FILTEES) == 0) >> return (-1); >> - if (obj1 != NULL && obj1->z_nodelete && !obj1->ref_nodel) { >> - dbg("obj %s nodelete", obj1->path); >> - init_dag(obj1); >> - ref_dag(obj1); >> - obj1->ref_nodel = true; >> - } >> } >> return (0); >> } >> @@ -2833,8 +2848,12 @@ dlopen_object(const char *name, int fd, Obj_Entry *refobj, int lo_flags, >> /* Make list of init functions to call. */ >> initlist_add_objects(obj, &obj->next, &initlist); >> } >> + /* >> + * Process all no_delete objects here, given them own >> + * DAGs to prevent their dependencies from being unloaded. >> + */ >> + process_nodelete(obj); >> } else { >> - >> /* >> * Bump the reference counts for objects on this DAG. If >> * this is the first dlopen() call for the object that was From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 16:51:22 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 074B01065686; Tue, 14 Aug 2012 16:51:22 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8804E8FC0A; Tue, 14 Aug 2012 16:51:21 +0000 (UTC) Received: from p508c7abc.dip.t-dialin.net ([80.140.122.188] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T1KKs-0005yc-Po; Tue, 14 Aug 2012 18:51:19 +0200 Message-ID: <502A8206.4090505@gwdg.de> Date: Tue, 14 Aug 2012 18:51:18 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Juergen Lock References: <5027E471.1020800@gwdg.de> <5028022B.3020005@gwdg.de> <20120812231210.GA35081@triton8.kn-bremen.de> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> In-Reply-To: <20120814114214.GB94259@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-multimedia@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: More rtld trouble X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 16:51:22 -0000 On 14.08.2012 13:42 (UTC+2), Juergen Lock wrote: > On Tue, Aug 14, 2012 at 06:40:14AM +0200, Rainer Hurling wrote: >> >> >> Am 13.08.2012 23:46 (UTC+1) schrieb Juergen Lock: >>> [removed kan and kib from Cc as this is now not about rtld in fact] >>> >>> On Mon, Aug 13, 2012 at 11:11:09PM +0200, Juergen Lock wrote: >>>> Hi kib, kan, sorry to bother you again but... :) >>>> >>>> On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: >>>>> On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: >>>>>> On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: >>>>>>> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: >>>> [...] >>>>>>> I just posted the workaround for that crash: >>>>>>> >>>>>>> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch >>>>>> >>>>>> Thanks for the newest patch! The change from >>>>>> sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core >>>>>> dumps any more and sound via pulseaudio is working again :) >>>>>> >>>>>>>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have >>>>>>>>> an idea? >>>>>>>> >>>>>>>> Did you forgot to Cc gnome@ (even on the other thread)? >>>>>>>> >>>>>>> Yeah, I manually forwarded the mail when I noticed. >>>>>>>> >>>>>>>> I tried out a little bit the build without pulseaudio enabled. It seems >>>>>>>> to me, that the sound of vlc is somewhat noisy or dirty, especially for >>>>>>>> parts with more dynamics. This scratchy noise grows up when gain control >>>>>>>> comes over 100% (up to 200% is possible). Can anyone confirm this? >>>>>>>> >>>>>>> I haven't noticed that here, maybe your soundcard is clipping etc >>>>>>> due to too high mixer levels? >>>>>> >>>>>> Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 >>>>>> and as I wrote, gain control was set in the middle (100%). But now, with >>>>>> pulseaudio enabled again, there is not problem with damaged sound >>>>>> quality any more. >>>>>> >>> Btw it's still possible that different mixer items cause different >>> clipping etc, for example vol 100 and pcm low sounds worse than >>> vol 75 and pcm higher, etc. (Maybe pulseaudio does that...?) >> >> OK, thanks for the hint. I will have a further look at mixer. There are >> also some combinations like with kmix etc., that are not exactly >> represented in mixer settings ... >> >>>>>>>> And last but not least: When I deinstall vlc I get the following >>>>>>>> message: >>>>>>>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 >>>>>>>> checksum - deleted anyway. >>>>>>>> >>>>>>> That's the file whose generating crashed when building with the old >>>>>>> vlc still installed, maybe it's regenerated at runtime otherwise? >>>>>> >>>>>> No, it also fails original MD5 checksum with deinstall/reinstall within >>>>>> 2.0.3. >>>>>> >>>>>>>> Thanks again for your work on this port. >>>>>>>> Rainer >>>>>>> >>>>>>> You're welcome! :) >>>>>>> Juergen >>>>> >>>>> I just found two other problems, which at least occur on my system >>>>> (10.0-CURRENT amd64): >>>>> >>>>> (1) With option NOTIFY enabled I am able to build, but not to install >>>>> vlc. It gives me: >>>>> >>>> [...] >>>>> >>>>> (2) Option PROJM builds and installs, but crashes when I try to start it >>>>> within vlc: >>>>> >>>>> No Textures Loaded from /usr/local/share/projectM/textures >>>>> Segmentation fault (core dumped) >>>>> >>>>> As far as I can see, there is no path to projectM/textures (installed >>>>> from libprojectM) on FreeBSD, but to projectM/presets? >>>>> >>>> I'll have to look at that next... >>>>> >>> Hmm, cannot seem to reproduce this one, sorry. (Or do I have to do >>> something special in vlc to activate it? I just tried playing a >>> video file...) >> >> I have the problem with ProjectM when playing audio files and turn the >> ProjectM visualizations on. It immediately crashes. >> > Yes, I meanwhile found this too. Maybe our projectm port version > is too old? I think I got it: It is only a problem of configuring in the running vlc. You have to set the right path under 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) Greetings, Rainer > Thanx, > Juergen From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 19:26:10 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 154E9106564A; Tue, 14 Aug 2012 19:26:10 +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 904398FC16; Tue, 14 Aug 2012 19:26:08 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 7AB941E00710; Tue, 14 Aug 2012 21:26:01 +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 q7EJOsR1008048; Tue, 14 Aug 2012 21:24:54 +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 q7EJOrhA008047; Tue, 14 Aug 2012 21:24:53 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 14 Aug 2012 21:24:53 +0200 To: Rainer Hurling Message-ID: <20120814192453.GA8026@triton8.kn-bremen.de> References: <20120812231210.GA35081@triton8.kn-bremen.de> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> <502A8206.4090505@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <502A8206.4090505@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: vlc 2.0.3 ProjectM path fix (was: Re: More rtld trouble) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 19:26:10 -0000 On Tue, Aug 14, 2012 at 06:51:18PM +0200, Rainer Hurling wrote: > On 14.08.2012 13:42 (UTC+2), Juergen Lock wrote: > > On Tue, Aug 14, 2012 at 06:40:14AM +0200, Rainer Hurling wrote: > >> > >> > >> Am 13.08.2012 23:46 (UTC+1) schrieb Juergen Lock: > >>> [removed kan and kib from Cc as this is now not about rtld in fact] > >>> > >>> On Mon, Aug 13, 2012 at 11:11:09PM +0200, Juergen Lock wrote: > >>>> Hi kib, kan, sorry to bother you again but... :) > >>>> > >>>> On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: > >>>>> On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: > >>>>>> On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: > >>>>>>> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: > >>>> [...] > >>>>>>> I just posted the workaround for that crash: > >>>>>>> > >>>>>>> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch > >>>>>> > >>>>>> Thanks for the newest patch! The change from > >>>>>> sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core > >>>>>> dumps any more and sound via pulseaudio is working again :) > >>>>>> > >>>>>>>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have > >>>>>>>>> an idea? > >>>>>>>> > >>>>>>>> Did you forgot to Cc gnome@ (even on the other thread)? > >>>>>>>> > >>>>>>> Yeah, I manually forwarded the mail when I noticed. > >>>>>>>> > >>>>>>>> I tried out a little bit the build without pulseaudio enabled. It seems > >>>>>>>> to me, that the sound of vlc is somewhat noisy or dirty, especially for > >>>>>>>> parts with more dynamics. This scratchy noise grows up when gain control > >>>>>>>> comes over 100% (up to 200% is possible). Can anyone confirm this? > >>>>>>>> > >>>>>>> I haven't noticed that here, maybe your soundcard is clipping etc > >>>>>>> due to too high mixer levels? > >>>>>> > >>>>>> Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 > >>>>>> and as I wrote, gain control was set in the middle (100%). But now, with > >>>>>> pulseaudio enabled again, there is not problem with damaged sound > >>>>>> quality any more. > >>>>>> > >>> Btw it's still possible that different mixer items cause different > >>> clipping etc, for example vol 100 and pcm low sounds worse than > >>> vol 75 and pcm higher, etc. (Maybe pulseaudio does that...?) > >> > >> OK, thanks for the hint. I will have a further look at mixer. There are > >> also some combinations like with kmix etc., that are not exactly > >> represented in mixer settings ... > >> > >>>>>>>> And last but not least: When I deinstall vlc I get the following > >>>>>>>> message: > >>>>>>>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 > >>>>>>>> checksum - deleted anyway. > >>>>>>>> > >>>>>>> That's the file whose generating crashed when building with the old > >>>>>>> vlc still installed, maybe it's regenerated at runtime otherwise? > >>>>>> > >>>>>> No, it also fails original MD5 checksum with deinstall/reinstall within > >>>>>> 2.0.3. > >>>>>> > >>>>>>>> Thanks again for your work on this port. > >>>>>>>> Rainer > >>>>>>> > >>>>>>> You're welcome! :) > >>>>>>> Juergen > >>>>> > >>>>> I just found two other problems, which at least occur on my system > >>>>> (10.0-CURRENT amd64): > >>>>> > >>>>> (1) With option NOTIFY enabled I am able to build, but not to install > >>>>> vlc. It gives me: > >>>>> > >>>> [...] > >>>>> > >>>>> (2) Option PROJM builds and installs, but crashes when I try to start it > >>>>> within vlc: > >>>>> > >>>>> No Textures Loaded from /usr/local/share/projectM/textures > >>>>> Segmentation fault (core dumped) > >>>>> > >>>>> As far as I can see, there is no path to projectM/textures (installed > >>>>> from libprojectM) on FreeBSD, but to projectM/presets? > >>>>> > >>>> I'll have to look at that next... > >>>>> > >>> Hmm, cannot seem to reproduce this one, sorry. (Or do I have to do > >>> something special in vlc to activate it? I just tried playing a > >>> video file...) > >> > >> I have the problem with ProjectM when playing audio files and turn the > >> ProjectM visualizations on. It immediately crashes. > >> > > Yes, I meanwhile found this too. Maybe our projectm port version > > is too old? > > I think I got it: It is only a problem of configuring in the running > vlc. You have to set the right path under > 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) > Aah-haah! :) I've fixed the default paths and made a new patch: http://people.freebsd.org/~nox/tmp/vlc-2.0.3-010.patch Happy testing! Juergen From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 19:32:30 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A944B106564A; Tue, 14 Aug 2012 19:32:30 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 034B88FC0C; Tue, 14 Aug 2012 19:32:29 +0000 (UTC) Received: by bkcje9 with SMTP id je9so315435bkc.13 for ; Tue, 14 Aug 2012 12:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=36f11RH+t4Yr66xUuLzD2AiOGRDb1ggUqTu5gR12+yg=; b=vmLiU//mkH6St76n69h1T8fMrH/geSRE7GVZ07kC0QslL+fpQg4fhVOxv6pqkhqblP Ue+fZ/wUCc2yd/Jm/4dOwEWph+tsHiM5reX84we6bohX4uihRIZTAbB5je8kT7ooSar4 /7vA7FkUqSKkeLQ0xTS9+WrUTvmZJRK10MKQEvraOHc3gkNa5bad4z4Sa7jaG8TxILmy 7DUVKCTGJx5NyZGeAjni0t/cWMEHfTGJhg9IZouI2edeDLc+xpPn5qcZQJJ1P6DyVKJW 0gOj+Wqh6KlQywF+CQWQydx3idyx7bcuR3EFlmpVVhyNeYOdn6kYKCF1IdElI10bipNQ jdXA== Received: by 10.204.130.146 with SMTP id t18mr6803694bks.65.1344972748878; Tue, 14 Aug 2012 12:32:28 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.205.134.12 with HTTP; Tue, 14 Aug 2012 12:31:58 -0700 (PDT) In-Reply-To: <20120814192453.GA8026@triton8.kn-bremen.de> References: <20120812231210.GA35081@triton8.kn-bremen.de> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> <502A8206.4090505@gwdg.de> <20120814192453.GA8026@triton8.kn-bremen.de> From: Chris Rees Date: Tue, 14 Aug 2012 20:31:58 +0100 X-Google-Sender-Auth: NOlkjtytBkwKPiDk2QGUO0tKnh0 Message-ID: To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-multimedia@freebsd.org, freebsd-ports@freebsd.org Subject: Re: vlc 2.0.3 ProjectM path fix (was: Re: More rtld trouble) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 19:32:30 -0000 On 14 August 2012 20:24, Juergen Lock wrote: > On Tue, Aug 14, 2012 at 06:51:18PM +0200, Rainer Hurling wrote: >> On 14.08.2012 13:42 (UTC+2), Juergen Lock wrote: >> > On Tue, Aug 14, 2012 at 06:40:14AM +0200, Rainer Hurling wrote: >> >> >> >> >> >> Am 13.08.2012 23:46 (UTC+1) schrieb Juergen Lock: >> >>> [removed kan and kib from Cc as this is now not about rtld in fact] >> >>> >> >>> On Mon, Aug 13, 2012 at 11:11:09PM +0200, Juergen Lock wrote: >> >>>> Hi kib, kan, sorry to bother you again but... :) >> >>>> >> >>>> On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: >> >>>>> On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: >> >>>>>> On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: >> >>>>>>> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: >> >>>> [...] >> >>>>>>> I just posted the workaround for that crash: >> >>>>>>> >> >>>>>>> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch >> >>>>>> >> >>>>>> Thanks for the newest patch! The change from >> >>>>>> sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core >> >>>>>> dumps any more and sound via pulseaudio is working again :) >> >>>>>> >> >>>>>>>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have >> >>>>>>>>> an idea? >> >>>>>>>> >> >>>>>>>> Did you forgot to Cc gnome@ (even on the other thread)? >> >>>>>>>> >> >>>>>>> Yeah, I manually forwarded the mail when I noticed. >> >>>>>>>> >> >>>>>>>> I tried out a little bit the build without pulseaudio enabled. It seems >> >>>>>>>> to me, that the sound of vlc is somewhat noisy or dirty, especially for >> >>>>>>>> parts with more dynamics. This scratchy noise grows up when gain control >> >>>>>>>> comes over 100% (up to 200% is possible). Can anyone confirm this? >> >>>>>>>> >> >>>>>>> I haven't noticed that here, maybe your soundcard is clipping etc >> >>>>>>> due to too high mixer levels? >> >>>>>> >> >>>>>> Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 >> >>>>>> and as I wrote, gain control was set in the middle (100%). But now, with >> >>>>>> pulseaudio enabled again, there is not problem with damaged sound >> >>>>>> quality any more. >> >>>>>> >> >>> Btw it's still possible that different mixer items cause different >> >>> clipping etc, for example vol 100 and pcm low sounds worse than >> >>> vol 75 and pcm higher, etc. (Maybe pulseaudio does that...?) >> >> >> >> OK, thanks for the hint. I will have a further look at mixer. There are >> >> also some combinations like with kmix etc., that are not exactly >> >> represented in mixer settings ... >> >> >> >>>>>>>> And last but not least: When I deinstall vlc I get the following >> >>>>>>>> message: >> >>>>>>>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 >> >>>>>>>> checksum - deleted anyway. >> >>>>>>>> >> >>>>>>> That's the file whose generating crashed when building with the old >> >>>>>>> vlc still installed, maybe it's regenerated at runtime otherwise? >> >>>>>> >> >>>>>> No, it also fails original MD5 checksum with deinstall/reinstall within >> >>>>>> 2.0.3. >> >>>>>> >> >>>>>>>> Thanks again for your work on this port. >> >>>>>>>> Rainer >> >>>>>>> >> >>>>>>> You're welcome! :) >> >>>>>>> Juergen >> >>>>> >> >>>>> I just found two other problems, which at least occur on my system >> >>>>> (10.0-CURRENT amd64): >> >>>>> >> >>>>> (1) With option NOTIFY enabled I am able to build, but not to install >> >>>>> vlc. It gives me: >> >>>>> >> >>>> [...] >> >>>>> >> >>>>> (2) Option PROJM builds and installs, but crashes when I try to start it >> >>>>> within vlc: >> >>>>> >> >>>>> No Textures Loaded from /usr/local/share/projectM/textures >> >>>>> Segmentation fault (core dumped) >> >>>>> >> >>>>> As far as I can see, there is no path to projectM/textures (installed >> >>>>> from libprojectM) on FreeBSD, but to projectM/presets? >> >>>>> >> >>>> I'll have to look at that next... >> >>>>> >> >>> Hmm, cannot seem to reproduce this one, sorry. (Or do I have to do >> >>> something special in vlc to activate it? I just tried playing a >> >>> video file...) >> >> >> >> I have the problem with ProjectM when playing audio files and turn the >> >> ProjectM visualizations on. It immediately crashes. >> >> >> > Yes, I meanwhile found this too. Maybe our projectm port version >> > is too old? >> >> I think I got it: It is only a problem of configuring in the running >> vlc. You have to set the right path under >> 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) >> > Aah-haah! :) I've fixed the default paths and made a new patch: > > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-010.patch Is there anything I can do to the projectM port to make it easier for you? I'll see if I can get it to 2.1.0 shortly. Chris From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 19:55:12 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52779106566B; Tue, 14 Aug 2012 19:55:12 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id F2B768FC0C; Tue, 14 Aug 2012 19:55:11 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id EE383208A5; Tue, 14 Aug 2012 21:54:59 +0200 (CEST) Message-ID: <502AAD0E.2070909@FreeBSD.org> Date: Tue, 14 Aug 2012 21:54:54 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org References: <20120812231210.GA35081@triton8.kn-bremen.de> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> <502A8206.4090505@gwdg.de> <20120814192453.GA8026@triton8.kn-bremen.de> In-Reply-To: <20120814192453.GA8026@triton8.kn-bremen.de> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock Subject: Re: vlc 2.0.3 ProjectM path fix X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Ports List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 19:55:12 -0000 ... >> I think I got it: It is only a problem of configuring in the running >> vlc. You have to set the right path under >> 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) >> > Aah-haah! :) I've fixed the default paths and made a new patch: > > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-010.patch > >From your patch: > workaround is to deinstall the old vlc-1.x version before building > the new one. What about a conflict line ? CONFLICTS_BUILD=${PORTNAME}-1.* This allows users to fetch the source but they have to deinstall the old version before building the new one. From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 15 12:04:33 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4A8A106566B; Wed, 15 Aug 2012 12:04:33 +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 873678FC1D; Wed, 15 Aug 2012 12:04:32 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 628AB1E00714; Wed, 15 Aug 2012 14:04:31 +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 q7FC1iBe033606; Wed, 15 Aug 2012 14:01:44 +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 q7FC1iYd033605; Wed, 15 Aug 2012 14:01:44 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 15 Aug 2012 14:01:43 +0200 To: FreeBSD Ports Message-ID: <20120815120143.GB33206@triton8.kn-bremen.de> References: <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> <502A8206.4090505@gwdg.de> <20120814192453.GA8026@triton8.kn-bremen.de> <502AAD0E.2070909@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <502AAD0E.2070909@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: Re: vlc 2.0.3 ProjectM path fix X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 12:04:34 -0000 On Tue, Aug 14, 2012 at 09:54:54PM +0200, Olli Hauer wrote: > ... > >> I think I got it: It is only a problem of configuring in the running > >> vlc. You have to set the right path under > >> 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) > >> > > Aah-haah! :) I've fixed the default paths and made a new patch: > > > > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-010.patch > > > > > >From your patch: > > workaround is to deinstall the old vlc-1.x version before building > > the new one. > > What about a conflict line ? > CONFLICTS_BUILD=${PORTNAME}-1.* > > This allows users to fetch the source but they have to deinstall the > old version before building the new one. Hm well the rtld bug this workaround is for only affects the pulseaudio and notify knobs, and the workaround doesn't work for the notify knob so it would only cover half the cases, and also checking if this is needed in the port would require a __FreeBSD_version bump which is probably overkill for this bug. So I think we'd rather mention the workaround in UPDATING, along with the bugfix commit link... Thanx, :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 15 12:04:34 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D968B106566C; Wed, 15 Aug 2012 12:04:33 +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 DAB728FC0A; Wed, 15 Aug 2012 12:04:32 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 7A55C1E000C9; Wed, 15 Aug 2012 14:04:31 +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 q7FBphpV033380; Wed, 15 Aug 2012 13:51:43 +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 q7FBpgFG033379; Wed, 15 Aug 2012 13:51:42 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 15 Aug 2012 13:51:42 +0200 To: Chris Rees Message-ID: <20120815115142.GA33206@triton8.kn-bremen.de> References: <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> <502A8206.4090505@gwdg.de> <20120814192453.GA8026@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: Re: vlc 2.0.3 ProjectM path fix (was: Re: More rtld trouble) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 12:04:34 -0000 On Tue, Aug 14, 2012 at 08:31:58PM +0100, Chris Rees wrote: > On 14 August 2012 20:24, Juergen Lock wrote: > > On Tue, Aug 14, 2012 at 06:51:18PM +0200, Rainer Hurling wrote: > >> On 14.08.2012 13:42 (UTC+2), Juergen Lock wrote: > >> > On Tue, Aug 14, 2012 at 06:40:14AM +0200, Rainer Hurling wrote: > >> >> > >> >> > >> >> Am 13.08.2012 23:46 (UTC+1) schrieb Juergen Lock: > >> >>> [removed kan and kib from Cc as this is now not about rtld in fact] > >> >>> > >> >>> On Mon, Aug 13, 2012 at 11:11:09PM +0200, Juergen Lock wrote: > >> >>>> Hi kib, kan, sorry to bother you again but... :) > >> >>>> > >> >>>> On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: > >> >>>> [...] > >> >>>>> > >> >>>>> (2) Option PROJM builds and installs, but crashes when I try to start it > >> >>>>> within vlc: > >> >>>>> > >> >>>>> No Textures Loaded from /usr/local/share/projectM/textures > >> >>>>> Segmentation fault (core dumped) > >> >>>>> > >> >>>>> As far as I can see, there is no path to projectM/textures (installed > >> >>>>> from libprojectM) on FreeBSD, but to projectM/presets? > >> >>>>> > >> >>>> I'll have to look at that next... > >> >>>>> > >> >>> Hmm, cannot seem to reproduce this one, sorry. (Or do I have to do > >> >>> something special in vlc to activate it? I just tried playing a > >> >>> video file...) > >> >> > >> >> I have the problem with ProjectM when playing audio files and turn the > >> >> ProjectM visualizations on. It immediately crashes. > >> >> > >> > Yes, I meanwhile found this too. Maybe our projectm port version > >> > is too old? > >> > >> I think I got it: It is only a problem of configuring in the running > >> vlc. You have to set the right path under > >> 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) > >> > > Aah-haah! :) I've fixed the default paths and made a new patch: > > > > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-010.patch > > Is there anything I can do to the projectM port to make it easier for you? > > I'll see if I can get it to 2.1.0 shortly. I don't think so, this was just vlc using linux paths. Ok, maybe it could give an error instead of crashing when a font is not found... :) But that's minor. Thanx! Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 15 17:10:01 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C3E4106564A; Wed, 15 Aug 2012 17:10:01 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id C572D8FC14; Wed, 15 Aug 2012 17:10:00 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so1329718wib.13 for ; Wed, 15 Aug 2012 10:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9Rwy6iaovnlZt+Awz6hqU0FyjqFxWcfGUKns2MI09oU=; b=oII5zih04aOLS8v8I2I/m2lo4xNyH/RzKCeecFEM0Z3xl76RpX8a1tKzuRwzgIqgWq tKdfe5pMNS64XzRBlwbczrGK4FdSxR142VJpS14gMPHqNI+wbYqKjccYJ78RUTxLAx6B K8ciOD92zTsgEFLLzB2uK+EhSa94rIC5upCRCx9xb70hszkm0CbIuJUKxAcEhhXCAh1l D8Csa2U8S1KvoVGBztpBQZbGTcUZUF2XqeQ7ATKo6NAkzZ8Z4R2ez05az2ZPsLkeiF3o Tr4qUHpGhR/EXabiPa4XAPhceG8iNRpALbUqb8Chg2o3+MaHHpaNKCJjV1tnqzWj4Qfb +UFA== MIME-Version: 1.0 Received: by 10.216.237.161 with SMTP id y33mr2898242weq.62.1345050599187; Wed, 15 Aug 2012 10:09:59 -0700 (PDT) Received: by 10.223.63.76 with HTTP; Wed, 15 Aug 2012 10:09:59 -0700 (PDT) In-Reply-To: <20120815120143.GB33206@triton8.kn-bremen.de> References: <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> <502A8206.4090505@gwdg.de> <20120814192453.GA8026@triton8.kn-bremen.de> <502AAD0E.2070909@FreeBSD.org> <20120815120143.GB33206@triton8.kn-bremen.de> Date: Wed, 15 Aug 2012 10:09:59 -0700 Message-ID: From: Kevin Oberman To: Juergen Lock Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Ports , freebsd-multimedia@freebsd.org, freebsd-ports@freebsd.org Subject: Re: vlc 2.0.3 ProjectM path fix X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 17:10:01 -0000 On Wed, Aug 15, 2012 at 5:01 AM, Juergen Lock wrote: > On Tue, Aug 14, 2012 at 09:54:54PM +0200, Olli Hauer wrote: >> ... >> >> I think I got it: It is only a problem of configuring in the running >> >> vlc. You have to set the right path under >> >> 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) >> >> >> > Aah-haah! :) I've fixed the default paths and made a new patch: >> > >> > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-010.patch >> > >> >> >> >From your patch: >> > workaround is to deinstall the old vlc-1.x version before building >> > the new one. >> >> What about a conflict line ? >> CONFLICTS_BUILD=${PORTNAME}-1.* >> >> This allows users to fetch the source but they have to deinstall the >> old version before building the new one. > > Hm well the rtld bug this workaround is for only affects the > pulseaudio and notify knobs, and the workaround doesn't work for > the notify knob so it would only cover half the cases, and also > checking if this is needed in the port would require a > __FreeBSD_version bump which is probably overkill for this bug. And why is it overkill? I regularly see comments about not wanting to bump __FreeBSD_version, but it's just an integer (though presented as a fixed-point fraction). There is no shortage and I never have understood why people are so hesitant to change it when there is a real, even if fairly small benefit from the bump. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-multimedia@FreeBSD.ORG Thu Aug 16 12:54:01 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D84F106566B; Thu, 16 Aug 2012 12:54:01 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E52DC8FC0A; Thu, 16 Aug 2012 12:54:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7GCs0QB040737; Thu, 16 Aug 2012 12:54:00 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7GCs04F040733; Thu, 16 Aug 2012 12:54:00 GMT (envelope-from gavin) Date: Thu, 16 Aug 2012 12:54:00 GMT Message-Id: <201208161254.q7GCs04F040733@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-multimedia@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/156726: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2012 12:54:01 -0000 Synopsis: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open Responsible-Changed-From-To: freebsd-multimedia->freebsd-usb Responsible-Changed-By: gavin Responsible-Changed-When: Thu Aug 16 12:53:15 UTC 2012 Responsible-Changed-Why: This sounds potentially like a USB stack issue to me. http://www.freebsd.org/cgi/query-pr.cgi?pr=156726 From owner-freebsd-multimedia@FreeBSD.ORG Thu Aug 16 18:22:10 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BBA0106566B; Thu, 16 Aug 2012 18:22:10 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 70DB08FC18; Thu, 16 Aug 2012 18:22:08 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 308323498; Thu, 16 Aug 2012 20:22:00 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Date: Thu, 16 Aug 2012 20:22:40 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <201208161254.q7GCs04F040733@freefall.freebsd.org> In-Reply-To: <201208161254.q7GCs04F040733@freefall.freebsd.org> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201208162022.40512.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, gavin@freebsd.org Subject: Re: usb/156726: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2012 18:22:10 -0000 On Thursday 16 August 2012 14:54:00 gavin@freebsd.org wrote: > Synopsis: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open > > Responsible-Changed-From-To: freebsd-multimedia->freebsd-usb > Responsible-Changed-By: gavin > Responsible-Changed-When: Thu Aug 16 12:53:15 UTC 2012 > Responsible-Changed-Why: > This sounds potentially like a USB stack issue to me. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=156726 This is not a USB stack problem, but a sound system issue. This is a known issue. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Sat Aug 18 01:25:20 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C6E11065717 for ; Sat, 18 Aug 2012 01:25:20 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 416F28FC0C for ; Sat, 18 Aug 2012 01:25:20 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so4464315pbb.13 for ; Fri, 17 Aug 2012 18:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version:x-mailer; bh=g/pwDBoIefQ1pqPtExNbi6RVnGNR75mEHcvBEuvJy3c=; b=eEQAFZW1qriXa8C/d6Xs4U8/hm9FyP6csM4Fye+xzuCkSESWxRBsB6H+YmdNINDozA 9ENvfs8Z75F6YmbkrLTRs1iu6ewtMhvWco9FgQWor0Z6fUOCMMworxfvhF+7EWzNPdDe 7JUrgWW2wQjBGW/iYiO6xbdaZD4sw+bbV+J4dFs1p8o/wnjGE6wS2oA+pyWgon8EAyEh A78GzE5DKIKpimzwMyOiirHCwVV9UMNaWJs3jJrFYqbLJ8bQks1/luVZnB7qnKZamXVs rKOF1UtZGTI7U3lbwnvUqL78iEXLeD/UYr0OqHWTCG+rIluoaB8koJMDXpp8mMRucR1f nYqQ== Received: by 10.66.75.201 with SMTP id e9mr13362559paw.54.1345253119500; Fri, 17 Aug 2012 18:25:19 -0700 (PDT) Received: from ivoire.paulbeard.org (97-113-20-164.tukw.qwest.net. [97.113.20.164]) by mx.google.com with ESMTPS id jz4sm5989162pbc.17.2012.08.17.18.25.17 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 17 Aug 2012 18:25:17 -0700 (PDT) From: Paul Beard Content-Type: multipart/signed; boundary="Apple-Mail=_95CAC84D-B6B8-41D1-A616-C7758BC864FE"; protocol="application/pkcs7-signature"; micalg=sha1 Message-Id: Date: Fri, 17 Aug 2012 18:25:15 -0700 To: multimedia@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) X-Mailer: Apple Mail (2.1485) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RealPlayer 10 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2012 01:25:20 -0000 --Apple-Mail=_95CAC84D-B6B8-41D1-A616-C7758BC864FE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Not sure if I even need this for anything but I was able to fetch the = unfetchable rpm.=20 Updated the distinfo and then: [root@shuttle /usr/ports/multimedia/linux-realplayer]# make clean && = make=20 =3D=3D=3D> Cleaning for linux-realplayer-10.0.9.809.20070726_3 =3D=3D=3D> Extracting for linux-realplayer-10.0.9.809.20070726_3 =3D> SHA256 Checksum OK for RealPlayer-10.0.9.809-20070726.i586.rpm. =3D> SHA256 Checksum OK for = mplayer-codecs-linux-real-20040626-1.i386.rpm. =3D=3D=3D> linux-realplayer-10.0.9.809.20070726_3 depends on = executable: rpm2cpio.pl - found + cd /usr/ports/multimedia/linux-realplayer/work + /usr/bin/cpio -idm --quiet + rpm2cpio.pl = /usr/ports/distfiles/RealPlayer-10.0.9.809-20070726.i586.rpm gzip: (stdin): unexpected end of file cpio: (Empty error message) cpio: (Empty error message) *** Error code 1 Stop in /usr/ports/multimedia/linux-realplayer. -- Paul Beard Are you trying to win an argument or solve a problem?=20 --Apple-Mail=_95CAC84D-B6B8-41D1-A616-C7758BC864FE-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Aug 18 20:45:54 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C09BE1065670; Sat, 18 Aug 2012 20:45:54 +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 6F3388FC17; Sat, 18 Aug 2012 20:45:53 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 15C871E00714; Sat, 18 Aug 2012 22:45:47 +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 q7IKjBme070811; Sat, 18 Aug 2012 22:45:11 +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 q7IKjAm1070810; Sat, 18 Aug 2012 22:45:10 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 18 Aug 2012 22:45:10 +0200 To: Kevin Oberman Message-ID: <20120818204510.GA70765@triton8.kn-bremen.de> References: <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> <502A8206.4090505@gwdg.de> <20120814192453.GA8026@triton8.kn-bremen.de> <502AAD0E.2070909@FreeBSD.org> <20120815120143.GB33206@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@freebsd.org, kan@freebsd.org, Juergen Lock , FreeBSD Ports , kib@freebsd.org, freebsd-ports@freebsd.org Subject: __FreeBSD_version bump? (was: Re: vlc 2.0.3 ProjectM path fix) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2012 20:45:54 -0000 On Wed, Aug 15, 2012 at 10:09:59AM -0700, Kevin Oberman wrote: > On Wed, Aug 15, 2012 at 5:01 AM, Juergen Lock wrote: > > On Tue, Aug 14, 2012 at 09:54:54PM +0200, Olli Hauer wrote: > >> ... > >> >> I think I got it: It is only a problem of configuring in the running > >> >> vlc. You have to set the right path under > >> >> 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) > >> >> > >> > Aah-haah! :) I've fixed the default paths and made a new patch: > >> > > >> > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-010.patch > >> > > >> > >> > >> >From your patch: > >> > workaround is to deinstall the old vlc-1.x version before building > >> > the new one. > >> > >> What about a conflict line ? > >> CONFLICTS_BUILD=${PORTNAME}-1.* > >> > >> This allows users to fetch the source but they have to deinstall the > >> old version before building the new one. > > > > Hm well the rtld bug this workaround is for only affects the > > pulseaudio and notify knobs, and the workaround doesn't work for > > the notify knob so it would only cover half the cases, and also > > checking if this is needed in the port would require a > > __FreeBSD_version bump which is probably overkill for this bug. > > And why is it overkill? I regularly see comments about not wanting to > bump __FreeBSD_version, but it's just an integer (though presented as > a fixed-point fraction). There is no shortage and I never have > understood why people are so hesitant to change it when there is a > real, even if fairly small benefit from the bump. Hmm. Alexander, what do you think? Thanx, :) Juergen