Dear Mike:
       I have see the code briefly.
 
my configure is :

./configure --prefix=/home/felix/gstreamer --disable-aalib --disable-annodex --disable-cairo --disable-cdio --disable-check --disable-dv1394 --disable-esd --disable-examples --disable-failing-tests --disable-flac --disable-gconf --disable-gconftool --disable-gtk-doc --disable-hal --disable-ladspa --disable-libcaca --disable-libdv --disable-nls --disable-oss --disable-shout2 --disable-speex --disable-static --disable-sunaudio --disable-tests --disable-valgrind --disable-x --disable-xshm --enable-jpeg --enable-libpng --enable-shared --without-check ERROR_CFLAGS=\"\"  PKG_CONFIG_PATH=/home/felix/gstreamer/lib/pkgconfig PKG_CONFIG_LIBDIR=/home/felix/gstreamer/lib/pkgconfig --enable-gst-debug --enable-debug CC=/home/felix/IntelCE-1.1120/i686-linux-elf/bin/i686-cm-linux-gcc CFLAGS="-I/home/felix/gstreamer/include -I/home/felix/gstreamer/include -I/home/felix/IntelCE-1.1120/i686-linux-elf/include -pg" LDFLAGS="-L/home/felix/gstreamer/lib -L/home/felix/gstreamer/lib -pg"

 
 
I find the when the program run to the following instruction the SIGSEGV will appears.
/gst-plugins-good-0.10.14/gst/rtsp/gstrtspsrc.c:line 2118, stream->udpsink[0] = gst_element_make_from_uri (GST_URI_SINK, uri, NULL);
 
I trace it into gst_element_ake_from_uri and it stop at

/gstreamer-0.10.22/gst/gsturi.c:line 606,   if ((ret = gst_element_factory_create (GST_ELEMENT_FACTORY (walk->data),  elementname)) != NULL) {

 

I trace it into gst_element_factory_create  and it stop at

/gstreamer-0.10.22/gst/gstelementfactory:line 405, GST_ELEMENT_CAST (g_object_new (factory->type, NULL));

 

I just run g_object_new (factory->type, NULL) and SIGSEGV appears. The factor->type seems to be valid. Do you have any comment?

 
 
 

 
> Date: Thu, 13 Aug 2009 02:40:17 -0700
> Subject: Re: [gst-embedded] A question about porting rtspsrc on the Intel CE3100
> From: msmith@xiph.org
> To: felixyang_tw@hotmail.com
> CC: gstreamer-embedded@lists.sourceforge.net
>
> You should look at where it crashed in a debugger, and see what the
> cause was. It could be a bug in a plugin that has since been fixed, or
> perhaps you've found a new bug. Alternatively, there could be an issue
> with how you've built gstreamer or dependencies.
>
> There's no way for us to know from what you've mentioned.
>
> Mike
>
>
> 2009/8/13 Yang Felix <felixyang_tw@hotmail.com>:
> > Dear All:
> >
> > I have ported gst-plugins-good-0.10.14 on the Intel CE3100
> > platform. The linux version is 2.6.23.
> >
> > I can ust gst-inspect to see rtspsrc. However, when I run "gst-launch
> > rtspsrc location=rtsp://192.168.11.167/sd.ts ! fakesink".
> > The console print Caught SIGSEGV accessing address 0x26
> > Spinning. Please run 'gdb gst-launch 1220' to continue debugging, Ctrl-C to
> > quit, or Ctrl-\ to dump core.
> >
> > I didn't chane any problem and I just configured it and make them. What
> > mistake did I make?
> >
> >
> >
> >
> > ________________________________
> > 聰明搜尋和瀏覽網路的免費工具列 -- Windows Live 工具列
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> > trial. Simplify your report design, integration and deployment - and focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Gstreamer-embedded mailing list
> > Gstreamer-embedded@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded
> >
> >


聰明搜尋和瀏覽網路的免費工具列 — Windows Live 工具列