Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Sep 2004 23:57:49 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Joe Marcus Clarke" <marcus@marcuscom.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Gst-register core dump in hash_print_key
Message-ID:  <opsdv2qnbk9aq2h7@mezz.mezzweb.com>
In-Reply-To: <opsdv1v4zn9aq2h7@mezz.mezzweb.com>
References:  <4138F242.8030602@wanadoo.fr> <1094443737.1057.3.camel@shumai.marcuscom.com> <opsdv1v4zn9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 05 Sep 2004 23:39:30 -0500, Jeremy Messenger <mezz7@cox.net> wrote:

> On Mon, 06 Sep 2004 00:08:57 -0400, Joe Marcus Clarke  
> <marcus@marcuscom.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsdv2qnbk9aq2h7>