[Bug 651057] Sometimes when I start pipeline gstreamer crashes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 25 23:58:01 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=651057
  GStreamer | don't know | 0.10.34

--- Comment #5 from beemaster <xxxiter at rambler.ru> 2011-05-26 06:57:51 UTC ---
The output of gdb after SIGSEGV:

(gdb) run
Starting program: /usr/bin/gst-launch-0.10 -v rtspsrc
location=rtsp://192.168.0.105:7070 debug=true latency=0 \! rtpjpegdepay \!
jpegdec \! autovideosink
[Thread debugging using libthread_db enabled]
Установка конвейера в состояние PAUSED...
[New Thread 0xb75b7b70 (LWP 27922)]
RTSP request message 0xbfffeac4
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://192.168.0.105:7070/'
   version: '1.0'
 headers:
 body:
RTSP response message 0xbfffeaa8
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Date', value: 'Fri, Jan 02 2004 00:49:21 GMT'
   key: 'Public', value: 'OPTIONS'
   key: 'Public', value: 'DESCRIBE'
   key: 'Public', value: 'SETUP'
   key: 'Public', value: 'PLAY'
   key: 'Public', value: 'TEARDOWN'
 body: length 0
RTSP request message 0xbfffeac4
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://192.168.0.105:7070/'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0xbfffeaa8
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Date', value: 'Fri, Jan 02 2004 00:49:21 GMT'
   key: 'Content-Base', value: 'rtsp://192.168.0.105:7070/'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Length', value: '279'
 body: length 280
00000000 (0x8119510): 76 3d 30 0d 0a 6f 3d 2d 20 31 30 37 33 30 30 34  v=0..o=-
1073004
00000010 (0x8119520): 35 36 31 30 30 30 34 30 30 30 30 20 31 20 49 4e 
56100040000 1 IN
00000020 (0x8119530): 20 49 50 34 20 32 32 37 2e 30 2e 30 2e 34 0d 0a   IP4
227.0.0.4..
00000030 (0x8119540): 73 3d 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d 
s=Session stream
00000040 (0x8119550): 65 64 20 62 79 20 52 54 50 2f 52 54 53 50 20 73  ed by
RTP/RTSP s
00000050 (0x8119560): 65 72 76 65 72 0d 0a 69 3d 49 50 20 45 6e 63 6f 
erver..i=IP Enco
00000060 (0x8119570): 64 65 72 20 52 54 50 20 73 74 72 65 61 6d 65 72  der RTP
streamer
00000070 (0x8119580): 0d 0a 74 3d 30 20 30 0d 0a 61 3d 74 6f 6f 6c 3a  ..t=0
0..a=tool:
00000080 (0x8119590): 49 50 20 45 6e 63 6f 64 65 72 20 52 54 50 20 73  IP
Encoder RTP s
00000090 (0x81195a0): 74 72 65 61 6d 65 72 20 56 32 30 30 39 2e 30 32  treamer
V2009.02
000000a0 (0x81195b0): 2e 30 35 0d 0a 61 3d 74 79 70 65 3a 62 72 6f 61 
.05..a=type:broa
000000b0 (0x81195c0): 64 63 61 73 74 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 
dcast..a=control
000000c0 (0x81195d0): 3a 2a 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 
:*..a=range:npt=
000000d0 (0x81195e0): 6e 6f 77 2d 0d 0a 6d 3d 76 69 64 65 6f 20 35 30 
now-..m=video 50
000000e0 (0x81195f0): 30 30 20 52 54 50 2f 41 56 50 20 32 36 0d 0a 63  00
RTP/AVP 26..c
000000f0 (0x8119600): 3d 49 4e 20 49 50 34 20 32 32 37 2e 30 2e 30 2e  =IN IP4
227.0.0.
00000100 (0x8119610): 34 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72 61 
4..a=control:tra
00000110 (0x8119620): 63 6b 31 0d 0a 0d 0a 00                          ck1..... 
sdp packet 0x8119178:
 version:       '0'
 origin:
  username:     '-'
  sess_id:      '107300456100040000'
  sess_version: '1'
  nettype:      'IN'
  addrtype:     'IP4'
  addr:         '227.0.0.4'
 session_name:  'Session streamed by RTP/RTSP server'
 information:   'IP Encoder RTP streamer'
 uri:           '(NULL)'
 connection:
  nettype:      '(NULL)'
  addrtype:     '(NULL)'
  address:      '(NULL)'
  ttl:          '0'
  addr_number:  '0'
 key:
  type:         '(NULL)'
  data:         '(NULL)'
 attributes:
  attribute 'tool' : 'IP Encoder RTP streamer V2009.02.05'
  attribute 'type' : 'broadcast'
  attribute 'control' : '*'
  attribute 'range' : 'npt=now-'
 medias:
  media 0:
   media:       'video'
   port:        '5000'
   num_ports:   '4294967295'
   proto:       'RTP/AVP'
   formats:
    format  '26'
   information: '(NULL)'
   connections:
    nettype:      'IN'
    addrtype:     'IP4'
    address:      '227.0.0.4'
    ttl:          '0'
    addr_number:  '0'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'control' : 'track1'
[New Thread 0xb6db6b70 (LWP 27923)]
[New Thread 0xb65b5b70 (LWP 27924)]
RTSP request message 0xbfffe944
 request line:
   method: 'SETUP'
   uri:    'rtsp://192.168.0.105:7070/track1'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP;multicast;client_port=52742-52743'
 body:
RTSP response message 0xbfffe928
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Date', value: 'Fri, Jan 02 2004 00:49:21 GMT'
   key: 'Transport', value:
'multicast;destination=227.0.0.4;port=5000-5001;ttl=16'
   key: 'Session', value: '38'
 body: length 0
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency = 0
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: buffer-mode =
slave (1)
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3: timeout = 5000000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink0: ttl = 16
Конвейер работает и не требует состояния PREROLL...
Установка конвейера в состояние PLAYING...
[New Thread 0xb5bffb70 (LWP 27925)]
[New Thread 0xb53feb70 (LWP 27926)]
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0:
caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src:
caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3: timeout = 0
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink:
caps = application/x-rtcp
RTSP request message 0xbfffeb74
 request line:
   method: 'PLAY'
   uri:    'rtsp://192.168.0.105:7070/'
   version: '1.0'
 headers:
   key: 'Range', value: 'npt=now-'
 body:
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad3:
caps = application/x-rtcp

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6db6b70 (LWP 27923)]
0xb7eee7cc in IA__g_value_init (value=0x8140000, g_type=135397736) at
/build/buildd/glib2.0-2.24.1/gobject/gvalue.c:179
    in /build/buildd/glib2.0-2.24.1/gobject/gvalue.c
(gdb) thread apply all bt

Thread 6 (Thread 0xb53feb70 (LWP 27926)):
#0  0xb7fe2430 in __kernel_vsyscall ()
#1  0xb7d3bdbe in ppoll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7f680d4 in gst_poll_wait (set=0x8118308, timeout=5384166547) at
gstpoll.c:1277
#3  0xb7f7d059 in gst_system_clock_id_wait_jitter_unlocked (clock=<value
optimized out>, entry=<value optimized out>, jitter=0x0, restart=1)
    at gstsystemclock.c:619
#4  0xb7f33b21 in gst_clock_id_wait (id=0x813c208, jitter=0x0) at
gstclock.c:493
#5  0xb5da9dfc in rtcp_thread (rtpsession=0x8128098) at gstrtpsession.c:857
#6  0xb7e54def in g_thread_create_proxy (data=0xb5c004c0) at
/build/buildd/glib2.0-2.24.1/glib/gthread.c:1893
#7  0xb7ddb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb7d49a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb5bffb70 (LWP 27925)):
#0  0xb7fe2430 in __kernel_vsyscall ()
#1  0xb7de0015 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb7f8444a in gst_task_func (task=0x811e2a8) at gsttask.c:303
#3  0xb7f85877 in default_func (tdata=0x8131f38, pool=0x805d408) at
gsttaskpool.c:70
#4  0xb7e56d0c in g_thread_pool_thread_proxy (data=0x805d218) at
/build/buildd/glib2.0-2.24.1/glib/gthreadpool.c:315
#5  0xb7e54def in g_thread_create_proxy (data=0x8133e48) at
/build/buildd/glib2.0-2.24.1/glib/gthread.c:1893
#6  0xb7ddb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb7d49a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb65b5b70 (LWP 27924)):
#0  0xb7fe2430 in __kernel_vsyscall ()
#1  0xb7d3bdbe in ppoll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7f680d4 in gst_poll_wait (set=0x8118148, timeout=18446744073709551615)
at gstpoll.c:1277
#3  0xb770d702 in gst_udpsrc_create (psrc=0x811c550, buf=0xb65b51fc) at
gstudpsrc.c:456
#4  0xb78aff76 in gst_push_src_create (bsrc=0x2, offset=18446744073709551615,
length=4096, ret=0xb65b51fc) at gstpushsrc.c:117
#5  0xb789c831 in gst_base_src_get_range (src=<value optimized out>,
offset=18446744073709551615, length=4096, buf=0xb65b51fc) at gstbasesrc.c:2145
#6  0xb789e77f in gst_base_src_loop (pad=0x812f330) at gstbasesrc.c:2402
#7  0xb7f84252 in gst_task_func (task=0x811e220) at gsttask.c:318
#8  0xb7f85877 in default_func (tdata=0x8102fd8, pool=0x805d408) at
gsttaskpool.c:70
#9  0xb7e56d0c in g_thread_pool_thread_proxy (data=0x805d218) at
/build/buildd/glib2.0-2.24.1/glib/gthreadpool.c:315
#10 0xb7e54def in g_thread_create_proxy (data=0x811eb08) at
/build/buildd/glib2.0-2.24.1/glib/gthread.c:1893
#11 0xb7ddb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb7d49a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb6db6b70 (LWP 27923)):
#0  0xb7eee7cc in IA__g_value_init (value=0x8140000, g_type=135397736) at
/build/buildd/glib2.0-2.24.1/gobject/gvalue.c:179
#1  0xb7ee0ba9 in IA__g_signal_emit_valist (instance=0x8123000, signal_id=14,
detail=0, 
    var_args=0xb6db5750 "\t\376\362\267\364\257\374\267\250W۶\367P",
<incomplete sequence \362\267>) at
/build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2978
#2  0xb7ee1256 in IA__g_signal_emit (instance=0x8123000, signal_id=14,
detail=0) at /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3038
#3  0xb7f2fe36 in gst_child_proxy_child_added (object=0x8123000,
child=0x80e8c80) at gstchildproxy.c:457
#4  0xb7f250f7 in gst_bin_add_func (bin=0x8123000, element=0x80e8c80) at
gstbin.c:1157
#5  0xb7f215d1 in gst_bin_add (bin=0x8123000, element=0x80e8c80) at
gstbin.c:1228
#6  0xb5d8880f in create_stream (element=0x8101100, ssrc=1473684292,
pad=0x8137330, session=0x812e9e8) at gstrtpbin.c:1281
#7  new_ssrc_pad_found (element=0x8101100, ssrc=1473684292, pad=0x8137330,
session=0x812e9e8) at gstrtpbin.c:2291
#8  0xb5dab71f in gst_rtp_bin_marshal_VOID__UINT_OBJECT (closure=0x812fbb0,
return_value=0x0, n_param_values=3, param_values=0x8118690, 
    invocation_hint=0xb6db59e0, marshal_data=0xb5d88060) at
gstrtpbin-marshal.c:240
#9  0xb7ecb252 in IA__g_closure_invoke (closure=0x812fbb0, return_value=0x0,
n_param_values=3, param_values=0x8118690, invocation_hint=0xb6db59e0)
    at /build/buildd/glib2.0-2.24.1/gobject/gclosure.c:767
#10 0xb7edf99d in signal_emit_unlocked_R (node=<value optimized out>,
detail=<value optimized out>, instance=0x8101100, emission_return=0x0, 
    instance_and_params=0x8118690) at
/build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3248
#11 0xb7ee0db4 in IA__g_signal_emit_valist (instance=0x8101100, signal_id=69,
detail=0, 
---Type <return> to continue, or q <return> to quit---
    var_args=0xb6db5ba4
"\210x\023\b\350[۶\250\216\362\267ľ\374\267\210x\023\b\210x\023\babx\023\b\354x\023\b")
    at /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2981
#12 0xb7ee1256 in IA__g_signal_emit (instance=0x8101100, signal_id=69,
detail=0) at /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3038
#13 0xb5d93577 in create_demux_pad_for_ssrc (demux=0x8101100, ssrc=<value
optimized out>, timestamp=2113592) at gstrtpssrcdemux.c:219
#14 0xb5d93f79 in gst_rtp_ssrc_demux_chain (pad=0x80f7b30, buf=0x8136678) at
gstrtpssrcdemux.c:528
#15 0xb7f53e5a in gst_pad_chain_data_unchecked (pad=0x80f7b30, is_buffer=<value
optimized out>, data=0x8136678, cache=0xb6db5d98) at gstpad.c:4247
#16 0xb7f548fe in gst_pad_push_data (pad=0x812f010, is_buffer=<value optimized
out>, data=0x8136678, cache=0xb6db5d98) at gstpad.c:4479
#17 0xb7f5ca98 in gst_pad_push (pad=0x812f010, buffer=0x8136678) at
gstpad.c:4704
#18 0xb5daac75 in gst_rtp_session_process_rtp (sess=0x812a038, src=0x812c880,
buffer=0x8136678, user_data=0x8128098) at gstrtpsession.c:1038
#19 0xb5d982ee in source_push_rtp (source=0x812c880, data=0x8136678,
session=0x812a038) at rtpsession.c:1192
#20 0xb5da3b63 in push_packet (src=0x812c880, buffer=0x8136728,
arrival=0xb6db5fb0) at rtpsource.c:844
#21 rtp_source_process_rtp (src=0x812c880, buffer=0x8136728,
arrival=0xb6db5fb0) at rtpsource.c:1116
#22 0xb5d9e2fc in rtp_session_process_rtp (sess=0x812a038, buffer=0x8136728,
current_time=178931486341841, running_time=2207136) at rtpsession.c:1756
#23 0xb5da812e in gst_rtp_session_chain_recv_rtp (pad=0x80f7f18,
buffer=0x8136728) at gstrtpsession.c:1533
#24 0xb7f5cbce in gst_pad_push (pad=0x81020e0, buffer=0x8136728) at
gstpad.c:4684
#25 0xb7f4381d in gst_proxy_pad_do_chain (pad=0x81011e8, buffer=0x8136728) at
gstghostpad.c:171
#26 0xb7f5cbce in gst_pad_push (pad=0x812f268, buffer=0x8136728) at
gstpad.c:4684
#27 0xb789e872 in gst_base_src_loop (pad=0x812f268) at gstbasesrc.c:2516
#28 0xb7f84252 in gst_task_func (task=0x811e198) at gsttask.c:318
#29 0xb7f85877 in default_func (tdata=0x8103130, pool=0x805d408) at
gsttaskpool.c:70
#30 0xb7e56d0c in g_thread_pool_thread_proxy (data=0x805d218) at
/build/buildd/glib2.0-2.24.1/glib/gthreadpool.c:315
#31 0xb7e54def in g_thread_create_proxy (data=0x811ad10) at
/build/buildd/glib2.0-2.24.1/glib/gthread.c:1893
#32 0xb7ddb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#33 0xb7d49a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb75b7b70 (LWP 27922)):
#0  0xb7fe2430 in __kernel_vsyscall ()
#1  0xb7de3736 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7e57a62 in IA__g_usleep (microseconds=50000) at
/build/buildd/glib2.0-2.24.1/glib/gtimer.c:260
#3  0xb7721874 in gst_xvimagesink_event_thread (xvimagesink=0x810ba00) at
xvimagesink.c:1650
#4  0xb7e54def in g_thread_create_proxy (data=0x8116be8) at
/build/buildd/glib2.0-2.24.1/glib/gthread.c:1893
#5  0xb7ddb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb7d49a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7ad0b40 (LWP 27921)):
#0  0xb7fe2430 in __kernel_vsyscall ()
#1  0xb7d3bdbe in ppoll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7f680d4 in gst_poll_wait (set=0x8118048, timeout=20000000000) at
gstpoll.c:1277
#3  0xb783e4bf in gst_rtsp_connection_receive (conn=0x8118e00,
message=0xbfffeb58, timeout=0x80f22b8) at gstrtspconnection.c:2254
#4  0xb78db43f in gst_rtspsrc_connection_receive (src=0x80f2140,
conn=0xbfffd6f0, message=0xbfffeb58, timeout=0x80f22b8) at gstrtspsrc.c:1724
#5  0xb78dbfdd in gst_rtspsrc_try_send (src=0x80f2140, conn=<value optimized
out>, request=0xbfffeb74, response=0xbfffeb58, code=0x0) at gstrtspsrc.c:4343
#6  gst_rtspsrc_send (src=0x80f2140, conn=<value optimized out>,
request=0xbfffeb74, response=0xbfffeb58, code=0x0) at gstrtspsrc.c:4489
#7  0xb78e5f7b in gst_rtspsrc_play (src=<value optimized out>, segment=<value
optimized out>) at gstrtspsrc.c:5935
#8  0xb78e86cd in gst_rtspsrc_change_state (element=0x80f2140,
transition=GST_STATE_CHANGE_PAUSED_TO_PLAYING) at gstrtspsrc.c:6290
#9  0xb7f38db5 in gst_element_change_state (element=0x80f2140,
transition=GST_STATE_CHANGE_PAUSED_TO_PLAYING) at gstelement.c:2718
#10 0xb7f3c858 in gst_element_set_state_func (element=0x80f2140,
state=GST_STATE_PLAYING) at gstelement.c:2674
#11 0xb7f38170 in gst_element_set_state (element=0x80f2140,
state=GST_STATE_PLAYING) at gstelement.c:2575
#12 0xb7f2741f in gst_bin_element_set_state (element=0x8108040,
transition=GST_STATE_CHANGE_PAUSED_TO_PLAYING) at gstbin.c:2193
#13 gst_bin_change_state_func (element=0x8108040,
transition=GST_STATE_CHANGE_PAUSED_TO_PLAYING) at gstbin.c:2489
#14 0xb7f5f06a in gst_pipeline_change_state (element=0x8108040,
transition=GST_STATE_CHANGE_PAUSED_TO_PLAYING) at gstpipeline.c:482
#15 0xb7f38db5 in gst_element_change_state (element=0x8108040,
transition=GST_STATE_CHANGE_PAUSED_TO_PLAYING) at gstelement.c:2718
#16 0xb7f3c858 in gst_element_set_state_func (element=0x8108040,
state=GST_STATE_PLAYING) at gstelement.c:2674
#17 0xb7f38170 in gst_element_set_state (element=0x8108040,
state=GST_STATE_PLAYING) at gstelement.c:2575
#18 0x0804cfe6 in main (argc=11, argv=0xbffff434) at gst-launch.c:1110

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list