[Bug 651057] Sometimes when I start pipeline gstreamer crashes
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu May 26 00:09:07 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=651057
GStreamer | don't know | 0.10.34
--- Comment #7 from beemaster <xxxiter at rambler.ru> 2011-05-26 07:09:02 UTC ---
I will try it later. One more output from gdb after hanging (i stopped hanging
with "Ctrl+C"):
(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 28082)]
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:57:13 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:57:13 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 35 v=0..o=-
1073005
00000010 (0x8119520): 30 33 33 30 30 33 36 30 30 30 30 20 31 20 49 4e
03300360000 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: '107300503300360000'
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 28083)]
[New Thread 0xb63ffb70 (LWP 28084)]
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=33452-33453'
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:57:13 GMT'
key: 'Transport', value:
'multicast;destination=227.0.0.4;port=5000-5001;ttl=16'
key: 'Session', value: '48'
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:udpsrc2: timeout = 5000000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink0: ttl = 16
Конвейер работает и не требует состояния PREROLL...
Установка конвейера в состояние PLAYING...
Установка конвейера в состояние NULL...
RTSP request message 0xbfffeba4
request line:
method: 'TEARDOWN'
uri: 'rtsp://192.168.0.105:7070/'
version: '1.0'
headers:
body:
RTSP response message 0xbfffeb88
status line:
code: '400'
reason: 'Bad Request'
version: '1.0'
headers:
key: 'Date', value: 'Fri, Jan 02 2004 00:57:13 GMT'
key: 'Allow', value: 'OPTIONS'
key: 'Allow', value: 'DESCRIBE'
key: 'Allow', value: 'SETUP'
key: 'Allow', value: 'PLAY'
key: 'Allow', value: 'TEARDOWN'
body: length 0
[Thread 0xb75b7b70 (LWP 28082) exited]
Освобождение конвейера...
[Thread 0xb63ffb70 (LWP 28084) exited]
[Thread 0xb6db6b70 (LWP 28083) exited]
thread apply all bt
^C
Program received signal SIGINT, Interrupt.
0xb7fe2430 in __kernel_vsyscall ()
(gdb) thread apply all bt
Thread 1 (Thread 0xb7ad0b40 (LWP 28081)):
#0 0xb7fe2430 in __kernel_vsyscall ()
#1 0xb7de2edb in write () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7e34406 in write_string (fd=2,
string=0x8115e80 "\n(gst-launch-0.10:28081): GStreamer-CRITICAL **:
gst_bin_remove: assertion `GST_IS_ELEMENT (element)' failed\n")
at /build/buildd/glib2.0-2.24.1/glib/gmessages.c:132
#3 0xb7e347ce in IA__g_log_default_handler (log_domain=0xb7fa7c80 "GStreamer",
log_level=<value optimized out>,
message=0x8115e40 "gst_bin_remove: assertion `GST_IS_ELEMENT (element)'
failed", unused_data=0x0) at /build/buildd/glib2.0-2.24.1/glib/gmessages.c:1002
#4 0xb7f1cd42 in debug_log_handler (log_domain=0xb7fa7c80 "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL,
message=0x8115e40 "gst_bin_remove: assertion `GST_IS_ELEMENT (element)'
failed", user_data=0x0) at gst.c:166
#5 0xb7e34bea in IA__g_logv (log_domain=<value optimized out>,
log_level=G_LOG_LEVEL_CRITICAL, format=0xb7e79dd5 "%s: assertion `%s' failed",
args1=0xbfffec3c
"C\233\372\267\b\204\372\267\030\334\005\b\300\063ݷ\364\257\374\267\364\257\374\267@!\017\b\270\354\377\277\237\023\362\267\200|\372\267C\233\372\267\b\204\372\267\270i\006\b\340i\006\b\001")
at /build/buildd/glib2.0-2.24.1/glib/gmessages.c:519
#6 0xb7e35056 in IA__g_log (log_domain=0xb7fa7c80 "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=0xb7e79dd5 "%s: assertion `%s' failed")
at /build/buildd/glib2.0-2.24.1/glib/gmessages.c:569
#7 0xb7e352bb in IA__g_return_if_fail_warning (log_domain=0xb7fa7c80
"GStreamer", pretty_function=0xb7fa9b43 "gst_bin_remove",
expression=0xb7fa8408 "GST_IS_ELEMENT (element)") at
/build/buildd/glib2.0-2.24.1/glib/gmessages.c:584
#8 0xb7f2139f in gst_bin_remove (bin=0x80f2140, element=0x8123000) at
gstbin.c:1517
#9 0xb7f24306 in gst_bin_dispose (object=0x80f2140) at gstbin.c:575
#10 0xb7ecd32b in IA__g_object_unref (_object=0x80f2140) at
/build/buildd/glib2.0-2.24.1/gobject/gobject.c:2453
#11 0xb7f1d81f in gst_object_unref (object=0x80f2140) at gstobject.c:338
#12 0xb7f2484c in gst_bin_remove_func (bin=0x8108040, element=0x80f2140) at
gstbin.c:1469
#13 0xb7f21460 in gst_bin_remove (bin=0x8108040, element=0x80f2140) at
gstbin.c:1527
#14 0xb7f24306 in gst_bin_dispose (object=0x8108040) at gstbin.c:575
#15 0xb7f5dd99 in gst_pipeline_dispose (object=0x8108040) at gstpipeline.c:250
#16 0xb7ecd32b in IA__g_object_unref (_object=0x8108040) at
/build/buildd/glib2.0-2.24.1/gobject/gobject.c:2453
#17 0xb7f1d81f in gst_object_unref (object=0x8108040) at gstobject.c:338
#18 0x0804cd2a in main (argc=11, argv=0xbffff434) at gst-launch.c:1173
--
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