From owner-freebsd-gnome@FreeBSD.ORG Mon Sep 6 04:57:53 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E0CC16A4CE for ; Mon, 6 Sep 2004 04:57:53 +0000 (GMT) Received: from fed1rmmtao04.cox.net (fed1rmmtao04.cox.net [68.230.241.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEC0843D2D for ; Mon, 6 Sep 2004 04:57:52 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by fed1rmmtao04.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP id <20040906045751.ULAH8658.fed1rmmtao04.cox.net@mezz.mezzweb.com>; Mon, 6 Sep 2004 00:57:51 -0400 Date: Sun, 05 Sep 2004 23:57:49 -0500 To: "Joe Marcus Clarke" References: <4138F242.8030602@wanadoo.fr> <1094443737.1057.3.camel@shumai.marcuscom.com> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera M2/7.54 (Linux, build 751) cc: freebsd-gnome@freebsd.org Subject: Re: Gst-register core dump in hash_print_key X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 04:57:53 -0000 On Sun, 05 Sep 2004 23:39:30 -0500, Jeremy Messenger wrote: > On Mon, 06 Sep 2004 00:08:57 -0400, Joe Marcus Clarke > wrote: > >> On Fri, 2004-09-03 at 18:37, Olivier Saut wrote: >>> Hello, >>> >>> every time I run gst-register (as user or as root) I get a coredump : >>> os@banquo% gst-register >>> >>> Trying to load global_registry ... >>> Error loading global_registry >>> Added path /usr/X11R6/lib/gstreamer-0.8 to user_registry >>> Rebuilding user_registry (/home/os/.gstreamer-0.8/registry.xml) ... >>> Added plugin gstgetbits with 0 features. >>> ... >>> Added plugin dvdreadsrc with 1 feature. >>> Added plugin cdparanoia with 1 feature. >>> Added plugin gstaf with 1 feature. >>> Added plugin aasink with 1 feature. >>> Added plugin a52dec with 1 feature. >>> Added plugin cdplayer with 1 feature. >>> zsh: 46934 bus error (core dumped) gst-register >>> >>> I have tried to disable cdplayer plugin, but then it coredumps after >>> a52dec. >>> >>> In gdb, I get the following trace >>> Program terminated with signal 10, Bus error. >>> #0 0x29f9883f in ?? () >>> (gdb) bt >>> #0 0x29f9883f in ?? () >>> #1 0x00000000 in ?? () >>> #2 0x00000000 in ?? () >>> #3 0x28051c33 in ?? () >>> ... >>> #214 0x08078500 in ?? () >>> #215 0x0807d15c in ?? () >>> #216 0xbfbfe918 in ?? () >>> #217 0x08048f50 in hash_print_key (key=0x29fdab20 "", value=0x29fb8a64 >>> "ÿÿÿÿ") >>> at gst-run.c:114 >>> Previous frame inner to this frame (corrupt stack?) >>> >>> I run 5.3-BETA2 FreeBSD 5.3-BETA2 #88: Mon Aug 30 14:57:31 CEST 2004 >>> root@banquo:/usr/obj/usr/src/sys/banquo i386 >>> >>> Ports tree freshly cvsupped (I had the same coredump with >>> gstreamer-plugin 0.8.3) : >>> gstreamer-0.8.5 gstreamer-plugins-0.8.4 >>> >>> In make.conf I have >>> CFLAGS= -O -g -pipe >>> STRIP= >>> GNOME_DESKTOP_VERSION=2 >>> CPUTYPE=p4 >>> >>> As I have a Nvidia card, libmap.conf maps libpthread to libc_r >>> libpthread.so libc_r.so >>> libpthread.so.1 libc_r.so.5 >>> >>> >>> It is a bit annoying as I can no longer use totem or rhythmbox. >>> Is there anything I can try to solve this problem. >> >> I cannot reproduce this on a 5.3-BETA machine with libpthread or >> libc_r. The only difference I see that may matter is that you're >> building with CPUTYPE=p4, and I have CPUTYPE defined. Since p4 has >> caused problems in the past, try rebuilding gstreamer and >> gstreamer-plugins without a CPUTYPE, and see if that helps. > > Umm, let me disable my CPUTYPE too. Mine has set it as athlon-xp. Ahh, that was it! It's CPUTYPE issue that hurt gstreamer... ======================================= Rebuilding global_registry (/usr/X11R6/share/gnome/cache/gstreamer-0.8/registry.xml) ... Added plugin vcdsrc with 1 feature. Added plugin xvid with 2 features. Added plugin snapshot with 1 feature. Added plugin smoothwave with 1 feature. Added plugin textoverlay with 1 feature. Added plugin png with 2 features. Added plugin jpeg with 4 features. Added plugin hermescolorspace with 1 feature. Added plugin gnomevfs with 2 features. Added plugin gdkpixbuf with 2 features. Added plugin aasink with 1 feature. Added plugin cdplayer with 1 feature. Added plugin y4menc with 1 feature. <-- Finally, no core dump [...] Added plugin matroska with 2 features. Added plugin cdxaparse with 1 feature. Added plugin avi with 2 features. Loaded 123 plugins with 228 features. ======================================= ======================================= # find /usr/ports -name "*.core" [...empty...] ======================================= /me rushes to make.conf and pkgtools.conf to block CPUTYPE for gstreamer* only. But, if one of you have any patch(es) for us to test and I shall test it. Cheers, Mezz > Cheers, > Mezz > >> Joe >> >>> >>> Thanks a lot, >>> >>> - Olivier -- mezz7 at cox.net - mezz at FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org