<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
</style>
</head>
<body class='hmmessage'>
Dear Mike:<BR>
I have see the code briefly.<BR>
<BR>
my configure is :<BR>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3>./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"<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<BR>
<BR>
I find the when the program run to the following instruction the SIGSEGV will appears.<BR>
<SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3>/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); </FONT></SPAN><BR>
<SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3></FONT></SPAN> <BR>
<SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3>I trace it into gst_element_ake_from_uri and it stop at</FONT></SPAN><BR><SPAN style="COLOR: #1f497d" lang=EN-US>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3>/gstreamer-0.10.22/gst/gsturi.c:line 606, if ((ret = gst_element_factory_create (GST_ELEMENT_FACTORY (walk->data), elementname)) != NULL) {</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3></FONT></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3>I trace it into gst_element_factory_create and it stop at</FONT></SPAN></P><SPAN style="COLOR: #1f497d" lang=EN-US>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3>/gstreamer-0.10.22/gst/gstelementfactory:line 405, GST_ELEMENT_CAST (g_object_new (factory->type, NULL));</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3></FONT></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3>I just run g_object_new (factory->type, NULL) and SIGSEGV appears. The factor->type seems to be valid. Do you have any comment?</FONT></SPAN></P></SPAN></SPAN>
<SPAN style="COLOR: #1f497d" lang=EN-US><FONT size=3><o:p></o:p></FONT></SPAN> <BR>
<BR>
<BR>
<BR> <BR>> Date: Thu, 13 Aug 2009 02:40:17 -0700<BR>> Subject: Re: [gst-embedded] A question about porting rtspsrc on the Intel CE3100<BR>> From: msmith@xiph.org<BR>> To: felixyang_tw@hotmail.com<BR>> CC: gstreamer-embedded@lists.sourceforge.net<BR>> <BR>> You should look at where it crashed in a debugger, and see what the<BR>> cause was. It could be a bug in a plugin that has since been fixed, or<BR>> perhaps you've found a new bug. Alternatively, there could be an issue<BR>> with how you've built gstreamer or dependencies.<BR>> <BR>> There's no way for us to know from what you've mentioned.<BR>> <BR>> Mike<BR>> <BR>> <BR>> 2009/8/13 Yang Felix <felixyang_tw@hotmail.com>:<BR>> > Dear All:<BR>> ><BR>> > I have ported gst-plugins-good-0.10.14 on the Intel CE3100<BR>> > platform. The linux version is 2.6.23.<BR>> ><BR>> > I can ust gst-inspect to see rtspsrc. However, when I run "gst-launch<BR>> > rtspsrc location=rtsp://192.168.11.167/sd.ts ! fakesink".<BR>> > The console print Caught SIGSEGV accessing address 0x26<BR>> > Spinning. Please run 'gdb gst-launch 1220' to continue debugging, Ctrl-C to<BR>> > quit, or Ctrl-\ to dump core.<BR>> ><BR>> > I didn't chane any problem and I just configured it and make them. What<BR>> > mistake did I make?<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > ________________________________<BR>> > 聰明搜尋和瀏覽網路的免費工具列 -- Windows Live 工具列<BR>> > ------------------------------------------------------------------------------<BR>> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<BR>> > trial. Simplify your report design, integration and deployment - and focus<BR>> > on<BR>> > what you do best, core application coding. Discover what's new with<BR>> > Crystal Reports now. http://p.sf.net/sfu/bobj-july<BR>> > _______________________________________________<BR>> > Gstreamer-embedded mailing list<BR>> > Gstreamer-embedded@lists.sourceforge.net<BR>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded<BR>> ><BR>> ><BR><br /><hr />聰明搜尋和瀏覽網路的免費工具列 — <a href='http://download.live.com/toolbar' target='_new'>Windows Live 工具列</a></body>
</html>