[gst-devel] RTSP Segmentation fault on eabi tool chain

laxman_balu dodda laxmanbalu at gmail.com
Thu Jun 26 14:43:08 CEST 2008


Hi,

   I am doing a program on RTSP it works on arm,sparkle and x86 but not on
eabi tool chain .


 It is giving some code after that  segmenatfault .

RTSP request message 0xbed0b8a4
 request line:
   method:  'OPTIONS'
   uri:     'rtsp://172.17.5.197/sample_50kbit.3gp'
   version: '1.0'
 headers:
 body:
RTSP response message 0xbed0b888
 status line:
   code:    '200'
   reason:  'OK'
   version: '1.0'
 headers:
   key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux;
Release/Darwin; state/beta; )'
   key: 'CSeq', value: '0'
   key: 'Public', value: 'DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS,
ANNOUNCE, RECORD'
 body: length 0
RTSP request message 0xbed0b8a4
 request line:
   method:  'DESCRIBE'
   uri:     'rtsp://172.17.5.197/sample_50kbit.3gp'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0xbed0b888
 status line:
   code:    '200'
   reason:  'OK'
   version: '1.0'
 headers:
   key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux;
Release/Darwin; state/beta; )'
   key: 'CSeq', value: '1'
   key: 'Last-Modified', value: 'Thu, 26 Jun 2008 09:31:40 GMT'
   key: 'Cache-Control', value: 'must-revalidate'
   key: 'Content-Length', value: '515'
   key: 'Date', value: 'Thu, 26 Jun 2008 12:22:57 GMT'
   key: 'Expires', value: 'Thu, 26 Jun 2008 12:22:57 GMT'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Base', value: 'rtsp://172.17.5.197/sample_50kbit.3gp/'
 body: length 516
00000000 (0x12a638): 76 3d 30 0d 0a 6f 3d 53 74 72 65 61 6d 69 6e 67
v=0..o=Streaming
00000010 (0x12a648): 53 65 72 76 65 72 20 33 34 32 33 34 37 31 37 37  Server
342347177
00000020 (0x12a658): 36 20 31 32 31 34 34 37 32 37 30 30 30 30 30 20  6
1214472700000
00000030 (0x12a668): 49 4e 20 49 50 34 20 31 37 32 2e 31 37 2e 35 2e  IN IP4
172.17.5.
00000040 (0x12a678): 31 39 37 0d 0a 73 3d 2f 73 61 6d 70 6c 65 5f 35
197..s=/sample_5
00000050 (0x12a688): 30 6b 62 69 74 2e 33 67 70 0d 0a 75 3d 68 74 74
0kbit.3gp..u=htt
00000060 (0x12a698): 70 3a 2f 2f 2f 0d 0a 65 3d 61 64 6d 69 6e 40 0d
p:///..e=admin@.
00000070 (0x12a6a8): 0a 63 3d 49 4e 20 49 50 34 20 30 2e 30 2e 30 2e  .c=IN
IP4 0.0.0.
00000080 (0x12a6b8): 30 0d 0a 62 3d 41 53 3a 35 30 0d 0a 74 3d 30 20
0..b=AS:50..t=0
00000090 (0x12a6c8): 30 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 2a 0d 0a
0..a=control:*..
000000a0 (0x12a6d8): 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30 2d 20 20
a=range:npt=0-
000000b0 (0x12a6e8): 37 30 2e 30 30 30 30 30 0d 0a 6d 3d 76 69 64 65
70.00000..m=vide
000000c0 (0x12a6f8): 6f 20 30 20 52 54 50 2f 41 56 50 20 39 36 0d 0a  o 0
RTP/AVP 96..
000000d0 (0x12a708): 62 3d 41 53 3a 34 31 0d 0a 61 3d 72 74 70 6d 61
b=AS:41..a=rtpma
000000e0 (0x12a718): 70 3a 39 36 20 4d 50 34 56 2d 45 53 2f 39 30 30  p:96
MP4V-ES/900
000000f0 (0x12a728): 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72
00..a=control:tr
00000100 (0x12a738): 61 63 6b 49 44 3d 33 0d 0a 61 3d 63 6c 69 70 72
ackID=3..a=clipr
00000110 (0x12a748): 65 63 74 3a 30 2c 30 2c 31 34 34 2c 31 37 36 0d
ect:0,0,144,176.
00000120 (0x12a758): 0a 61 3d 66 72 61 6d 65 73 69 7a 65 3a 39 36 20
.a=framesize:96
00000130 (0x12a768): 31 37 36 2d 31 34 34 0d 0a 61 3d 66 6d 74 70 3a
176-144..a=fmtp:
00000140 (0x12a778): 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65 76 65 6c  96
profile-level
00000150 (0x12a788): 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d 30 30 30
-id=1;config=000
00000160 (0x12a798): 30 30 31 42 30 30 38 30 30 30 30 30 31 42 35 30
001B008000001B50
00000170 (0x12a7a8): 45 45 30 34 30 43 30 43 46 30 30 30 30 30 31 30
EE040C0CF0000010
00000180 (0x12a7b8): 30 30 30 30 30 30 31 32 30 30 30 38 34 34 30 46
000000120008440F
00000190 (0x12a7c8): 41 32 38 32 43 32 30 39 30 41 32 31 46 0d 0a 6d
A282C2090A21F..m
000001a0 (0x12a7d8): 3d 61 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50  =audio
0 RTP/AVP
000001b0 (0x12a7e8): 20 39 37 0d 0a 62 3d 41 53 3a 38 0d 0a 61 3d 72
97..b=AS:8..a=r
000001c0 (0x12a7f8): 74 70 6d 61 70 3a 39 37 20 41 4d 52 2f 38 30 30
tpmap:97 AMR/800
000001d0 (0x12a808): 30 2f 31 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74
0/1..a=control:t
000001e0 (0x12a818): 72 61 63 6b 49 44 3d 34 0d 0a 61 3d 66 6d 74 70
rackID=4..a=fmtp
000001f0 (0x12a828): 3a 39 37 20 6f 63 74 65 74 2d 61 6c 69 67 6e 3d  :97
octet-align=
00000200 (0x12a838): 31 0d 0a 00
1...
sdp packet 0xbed0b828:
 version:       '0'
 origin:
  username:     'StreamingServer'
  sess_id:      '3423471776'
  sess_version: '1214472700000'
  nettype:      'IN'
  addrtype:     'IP4'
  addr:         '172.17.5.197'
 session_name:  '/sample_50kbit.3gp'
 information:   '(null)'
 uri:           'http:///'
 emails:
  email 'admin@'
 connection:
  nettype:      'IN'
  addrtype:     'IP4'
  address:      '0.0.0.0'
  ttl:          '0'
  addr_number:  '0'
 key:
  type:         '(null)'
  data:         '(null)'
 attributes:
  attribute 'control' : '*'
  attribute 'range' : 'npt=0-  70.00000'
 medias:
  media 0:
   media:       'video'
   port:        '0'
   num_ports:   '-1'
   proto:       'RTP/AVP'
   formats:
    format  '96'
   information: '(null)'
   key:
    type:       '(null)'
    data:       '(null)'
   attributes:
    attribute 'rtpmap' : '96 MP4V-ES/90000'
    attribute 'control' : 'trackID=3'
    attribute 'cliprect' : '0,0,144,176'
    attribute 'framesize' : '96 176-144'
    attribute 'fmtp' : '96
profile-level-id=1;config=000001B008000001B50EE040C0CF0000010000000120008440FA282C2090A21F'
  media 1:
   media:       'audio'
   port:        '0'
   num_ports:   '-1'
   proto:       'RTP/AVP'
   formats:
    format  '97'
   information: '(null)'
   key:
    type:       '(null)'
    data:       '(null)'
   attributes:
    attribute 'rtpmap' : '97 AMR/8000/1'
    attribute 'control' : 'trackID=4'
    attribute 'fmtp' : '97 octet-align=1'
RTSP request message 0xbed0b774
 request line:
   method:  'SETUP'
   uri:     'rtsp://172.17.5.197/sample_50kbit.3gp/trackID=3'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=0-1'
 body:
RTSP response message 0xbed0b758
 status line:
   code:    '200'
   reason:  'OK'
   version: '1.0'
 headers:
   key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux;
Release/Darwin; state/beta; )'
   key: 'CSeq', value: '2'
   key: 'Last-Modified', value: 'Thu, 26 Jun 2008 09:31:40 GMT'
   key: 'Cache-Control', value: 'must-revalidate'
   key: 'Session', value: '3836024156544453565'
   key: 'Date', value: 'Thu, 26 Jun 2008 12:22:57 GMT'
   key: 'Expires', value: 'Thu, 26 Jun 2008 12:22:57 GMT'
   key: 'Transport', value:
'RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=0715EB1E'
 body: length 0
RTSP request message 0xbed0b774
 request line:
   method:  'SETUP'
   uri:     'rtsp://172.17.5.197/sample_50kbit.3gp/trackID=4'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=2-3'
 body:
RTSP response message 0xbed0b758
 status line:
   code:    '200'
   reason:  'OK'
   version: '1.0'
 headers:
   key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux;
Release/Darwin; state/beta; )'
   key: 'CSeq', value: '3'
   key: 'Session', value: '3836024156544453565'
   key: 'Last-Modified', value: 'Thu, 26 Jun 2008 09:31:40 GMT'
   key: 'Cache-Control', value: 'must-revalidate'
   key: 'Date', value: 'Thu, 26 Jun 2008 12:22:57 GMT'
   key: 'Expires', value: 'Thu, 26 Jun 2008 12:22:57 GMT'
   key: 'Transport', value:
'RTP/AVP/TCP;unicast;interleaved=2-3;ssrc=1A7BBF7C'
 body: length 0
RTSP request message 0xbed0b87c
 request line:
   method:  'PLAY'
   uri:     'rtsp://172.17.5.197/sample_50kbit.3gp'
   version: '1.0'
 headers:
   key: 'Range', value: 'npt=0-'
 body:
RTSP response message 0xbed0b860
 status line:
   code:    '200'
   reason:  'OK'
   version: '1.0'
 headers:
   key: 'Server', value: 'DSS/5.5.5 (Build/489.16; Platform/Linux;
Release/Darwin; state/beta; )'
   key: 'CSeq', value: '4'
   key: 'Session', value: '3836024156544453565'
   key: 'Range', value: 'npt=0.00000-70.00000'
   key: 'RTP-Info', value: 'url=rtsp://
172.17.5.197/sample_50kbit.3gp/trackID=3;seq=41785;rtptime=825636996,url=rtsp://172.17.5.197/sample_50kbit.3gp/trackID=4;seq=15839;rtptime=670018149
'
 body: length 0
segmentation fault


-- 

Regards
Laxman Dodda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080626/76510b46/attachment.htm>


More information about the gstreamer-devel mailing list