Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2004 21:14:19 +0200
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: gstreamer woes (gst-register  Bus error)
Message-ID:  <1094584459.640.28.camel@heater.rainbow-runner.nl>
In-Reply-To: <opsdy0aoe89aq2h7@mezz.mezzweb.com>
References:  <20040907171410.GA3785@grummit.biaix.org> <1094578269.745.29.camel@gyros>  <opsdyye60q9aq2h7@mezz.mezzweb.com> <1094582590.745.31.camel@gyros>  <opsdy0aoe89aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2004-09-07 at 13:57 -0500, Jeremy Messenger wrote:
> On Tue, 07 Sep 2004 14:48:24 -0400, Joe Marcus Clarke  
> <marcus@marcuscom.com> wrote:
> 
> > On Tue, 2004-09-07 at 14:17, Jeremy Messenger wrote:
> >> On Tue, 07 Sep 2004 13:31:09 -0400, Joe Marcus Clarke
> >> <marcus@marcuscom.com> wrote:
> >>
> >> > On Tue, 2004-09-07 at 13:14, Joan Picanyol wrote:
> >> >> [please honour Mail-Followup-To:, not subscribed]
> >> >>
> >> >> Hi,
> >> >>
> >> >> I've been unable to properly install gstreamer for a while.  
> >> gst-register
> >> >> dumps core with signal 10 after adding the cdplayer plugin. I've been
> >> >> unable to get a backtrace:
> >> >>
> >> >> 540,p0,0$ file gst-register
> >> >> gst-register: ELF 32-bit LSB executable, Intel 80386, version 1
> >> >> (FreeBSD), for FreeBSD 5.3, dynamically linked (uses shared libs),  
> >> not
> >> >> stripped
> >> >> 541,p0,0$ ./gst-register
> >> >> S'est? intentant carregar global_registry ...
> >> >> S'ha produ?t un error en carregar global_registry
> >> >> S'ha afegit el cam? /usr/X11R6/lib/gstreamer-0.8 a user_registry
> >> >> S'est? reconstruint user_registry
> >> >> (/home/joan/.gstreamer-0.8/registry.xml) ...
> >> >> S'ha afegit el connector vcdsrc amb 1 funcionalitat.
> >> >> S'ha afegit el connector xine amb 19 funcionalitats.
> >> >> S'ha afegit el connector speex amb 2 funcionalitats.
> >> >> S'ha afegit el connector snapshot amb 1 funcionalitat.
> >> >> S'ha afegit el connector gstbasicomegascheduler amb 1 funcionalitat.
> >> >> S'ha afegit el connector gstelements amb 15 funcionalitats.
> >> >> S'ha afegit el connector gstspider amb 2 funcionalitats.
> >> >> S'ha afegit el connector smoothwave amb 1 funcionalitat.
> >> >> S'ha afegit el connector textoverlay amb 1 funcionalitat.
> >> >> S'ha afegit el connector trm amb 1 funcionalitat.
> >> >> S'ha afegit el connector png amb 2 funcionalitats.
> >> >> S'ha afegit el connector lame amb 1 funcionalitat.
> >> >> S'ha afegit el connector jpeg amb 4 funcionalitats.
> >> >> S'ha afegit el connector hermescolorspace amb 1 funcionalitat.
> >> >> S'ha afegit el connector gnomevfs amb 2 funcionalitats.
> >> >> S'ha afegit el connector gdkpixbuf amb 2 funcionalitats.
> >> >> S'ha afegit el connector dvdreadsrc amb 1 funcionalitat.
> >> >> S'ha afegit el connector aasink amb 1 funcionalitat.
> >> >> S'ha afegit el connector cdplayer amb 1 funcionalitat.
> >> >> Bus error (core dumped)
> >> >> 542,p0,138$ gdb gst-register gst-register-0.8.core
> >> >> GNU gdb 6.1.1 [FreeBSD]
> >> >> Copyright 2004 Free Software Foundation, Inc.
> >> >> GDB is free software, covered by the GNU General Public License, and
> >> >> you are
> >> >> welcome to change it and/or distribute copies of it under certain
> >> >> conditions.
> >> >> Type "show copying" to see the conditions.
> >> >> There is absolutely no warranty for GDB.  Type "show warranty" for
> >> >> details.
> >> >> This GDB was configured as "i386-marcel-freebsd"...
> >> >>
> >> >> warning: core file may not match specified executable file.
> >> >> Core was generated by `gst-register-0.8'.
> >> >> Program terminated with signal 10, Bus error.
> >> >> #0  0x2833d5eb in ?? ()
> >> >> (gdb)
> >> >>
> >> >> and I don't know how to proceed.
> >> >>
> >> >> Any hints?
> >> >
> >> > Rebuild gstreamer-plugins without a CPUTYPE defined.
> >>
> >> Methink, we should add force CPUTYPE in Makefile to avoid collect the  
> >> more
> >> reports like this. A lot of people like to use CPUTYPE.
> >
> > How do we do that?  A CPUTYPE override will only be effective if the
> > user adds CPUTYPE?= in their make.conf.
> 
> True, but they should have the '?=' because it's in the example of  
> make.conf. Another way would be check if they use p4 and athlon-xp, then  
> mark it as broke with tell to change the CPUTYPE or it will not work.
> 
> Cheers,
> Mezz

Why not turn it around and error out when CPUTYPE is not the default
value? That looks a lot simpler to me, because we don't know if the
other CPUTYPE values produce the problem we are seeing. Other wise we
can keep adding new CPUTYPE's on which its breaks.

Koop

> > Joe
> >
> >>
> >> Cheers,
> >> Mezz
> >>
> >> > Joe
> >> >
> >> >>
> >> >> tks
> >> >> --
> >> >> pica
> 
> 



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