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

next in thread | previous in thread | raw e-mail | index | archive | help

--=-ymXcra1dTs5KL3SvIvXW
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, 2004-09-06 at 00:57, Jeremy Messenger wrote:
> On Sun, 05 Sep 2004 23:39:30 -0500, Jeremy Messenger <mezz7@cox.net> wrot=
e:
>=20
> > On Mon, 06 Sep 2004 00:08:57 -0400, Joe Marcus Clarke =20
> > <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 =
=20
> >>> 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=3D0x29fdab20 "", value=3D0x29f=
b8a64
> >>> "=FF=FF=FF=FF")
> >>>      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=3D    -O -g -pipe
> >>> STRIP=3D
> >>> GNOME_DESKTOP_VERSION=3D2
> >>> CPUTYPE=3Dp4
> >>>
> >>> 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=3Dp4, 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.
>=20
> Ahh, that was it! It's CPUTYPE issue that hurt gstreamer...
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Rebuilding global_registry =20
> (/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.
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> # find /usr/ports -name "*.core"
> [...empty...]
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> /me rushes to make.conf and pkgtools.conf to block CPUTYPE for gstreamer*=
 =20
> only. But, if one of you have any patch(es) for us to test and I shall =20
> test it.

I've always been suspect of CPUTYPE.  I don't care what people say is
safe.  I stick with the default, and I usually end up okay.  There are
other ways to increase performance.

Joe

>=20
> Cheers,
> Mezz
>=20
> > Cheers,
> > Mezz
> >
> >> Joe
> >>
> >>>
> >>> Thanks a lot,
> >>>
> >>> 			- Olivier
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-ymXcra1dTs5KL3SvIvXW
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBO+8hb2iPiv4Uz4cRAhqVAJ9p/TWnr8+NwGbC1vIcnzLqus4mIQCcCqIX
nLb4C1ymzdHA1wxWYttgM4c=
=xgNA
-----END PGP SIGNATURE-----

--=-ymXcra1dTs5KL3SvIvXW--



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