[gst-devel] Need help: segmentation fault

龚 元晖 yuanhui1021 at hotmail.com
Tue Jul 11 10:57:34 CEST 2006


Hello,
I'v ported gstreamer-0.10.6 to arm platform. but met one segmentation fault 
when
issuing command 'gst-launch fakesrc num-buffers=3 ! fakesink'

It looks that the crash occurs in method '__check_rhosts_file' in libc.so, 
please see below for details. any sugestion or comments are much 
appriciated.

By the way the packages I used:
gstreamer-0.10.6
libxml2-2.6.23
glib-2.8.0(with cross complie options in cache file: glib_cv_stack_grows=no
                                                     glib_c_uscore=no
                                                     
glib_cv_working_bcopy=no
                                                     
ac_cv_func_posix_getpwuid_r=yes)
                                       
Many thanks and Regards,
Yuanhui


/usr/lib $ gst-inspect
coreindexers:  memindex: A index that stores entries in memory
coreelements:  typefind: TypeFind
coreelements:  tee: Tee pipe fitting
coreelements:  filesink: File Sink
coreelements:  queue: Queue
coreelements:  identity: Identity
coreelements:  filesrc: File Source
coreelements:  f¶Kr[?Filedescriptor Sink
coreelements:  fdsrc: Disk Source
coreelements:  fakesink: Fake Sink
coreelements:  fakesrc: Fake Source
coreelements:  capsfilter: CapsFilter
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total plugins: 3
Total features: 14

/usr/lib $ gst-launch fakesrc num-buffers=3 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Killed

/usr/lib $ gst-launch fakesrc num-buffers=3 ! fakesink --gst-debug=4

[snip]......
DEBUG (0x192d8 - 0:00:03.299994000)         GST_PIPELINE(  167) 
parse.l(142):_gs
t_parse_yylex: flex: SPACE: [ ]
DEBUG (0x192d8 - 0:00:03.299997000)         GST_PIPELINE(  167) 
./grammar.y(846)
:_gst_parse_launch: got 2 elements and 1 links
DEBUG (0x192d8 - 0:00:03.300000000)   GST_PLUGIN_LOADING(  167) 
gstpluginfeature
.c(108):gst_plugin_feature_load: loading plugin for feature 0x36e30; 
'pipeline'
INFO  (0x192d8 - 0:00:03.659994000)  GST_ELEMENT_FACTORY(  167) 
gstelementfactor
y.c(365):gst_element_factory_create: creating element "pipeline"
DEBUG (0x192d8 - 0:00:03.669992000)              GST_BUS(  167) 
gstbus.c(222):gs
t_bus_init:<GstBus at 0x45990> created
DEBUG (0x192d8 - 0:00:03.669996000)              GST_BUS(  167) 
gstbus.c(294):gs
t_bus_new:<bus0> created new bus
Segmentation fault

/usr/lib $ gdb gst-launch
GNU gdb 6.3.50.20051114-cvs
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 "arm-linux"...Using host libthread_db library 
"/lib/l
ibthread_db.so.1".

(gdb) set args fakesrc num-buffers=3 ! fakesink
(gdb) rum
Undefined command: "rum".  Try "help".
(gdb) run
Starting program: /usr/bin/gst-launch fakesrc num-buffers=3 ! fakesink
Setting pipeline to PAUSED ...

Program received signal SIG32, Real-time event 32.
0x401c22bc in __check_rhosts_file () from /lib/libc.so.6
(gdb) bt
#0  0x401c22bc in __check_rhosts_file () from /lib/libc.so.6
#1  0x401c2140 in ?? () from /lib/libc.so.6
Cannot access memory at address 0x0
(gdb) info threads
(gdb) quit
The program is running.  Exit anyway? (y or n) y
/usr/lib $

_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.com  





More information about the gstreamer-devel mailing list