gdb .libs/test-mp4 
GNU gdb Fedora (6.8-1.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) break main
Breakpoint 1 at 0x80488c0: file test-mp4.c, line 26.
(gdb) run video.mp4
Starting program: /root/Broadcast/gst-rtsp-server/examples/.libs/test-mp4 video.mp4
[Thread debugging using libthread_db enabled]
[New Thread 0xb7fb26c0 (LWP 8455)]
[Switching to Thread 0xb7fb26c0 (LWP 8455)]

Breakpoint 1, main (argc=7261564, argv=0x59e34a) at test-mp4.c:26
26      {
(gdb) n
main (argc=7261564, argv=0x59e34a) at test-mp4.c:33
33        gst_init (&argc, &argv);
(gdb) n
26      {
(gdb) n
33        gst_init (&argc, &argv);
(gdb) n
35        if (argc < 2) {
(gdb) n
40        loop = g_main_loop_new (NULL, FALSE);
(gdb) n
43        server = gst_rtsp_server_new ();
(gdb) n
47        mapping = gst_rtsp_server_get_media_mapping (server);
(gdb) n
49	  str = g_strdup_printf (
(gdb) n
47	  mapping = gst_rtsp_server_get_media_mapping (server);
(gdb) n
49	  str = g_strdup_printf (
(gdb) n
59	  factory = gst_rtsp_media_factory_new ();
(gdb) n
60	  gst_rtsp_media_factory_set_launch (factory, str);
(gdb) n
59	  factory = gst_rtsp_media_factory_new ();
(gdb) n
60	  gst_rtsp_media_factory_set_launch (factory, str);
(gdb) n
61	  g_free (str);
(gdb) n
64	  gst_rtsp_media_mapping_add_factory (mapping, "/test", factory);
(gdb) n
67	  g_object_unref (mapping);
(gdb) n
70	  gst_rtsp_server_attach (server, NULL);
(gdb) n
73	  g_main_loop_run (loop);
(gdb) n
RTSP request message 0x8a481f8
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://10.0.0.245:8554/test'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Accept', value: 'application/sdp'
   key: 'Bandwidth', value: '1000000'
   key: 'Accept-Language', value: 'en-US'
   key: 'User-Agent', value: 'QTS (qtver=6.5.1;os=Windows NT 5.2)'
 body:
[New Thread 0xb7db0b90 (LWP 8476)]
[New Thread 0xb73afb90 (LWP 8477)]
[New Thread 0xb69aeb90 (LWP 8478)]
[New Thread 0xb5fadb90 (LWP 8479)]
[New Thread 0xb55acb90 (LWP 8480)]
[New Thread 0xb4babb90 (LWP 8481)]
[New Thread 0xb417db90 (LWP 8482)]
RTSP response message 0xbf8d5630
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Base', value: 'rtsp://10.0.0.245:8554/test/'
   key: 'Server', value: 'GStreamer RTSP server'
 body: length 380
00000000 (0x8a94f28): 76 3d 30 0d 0a 6f 3d 2d 20 31 31 38 38 33 34 30  v=0..o=- 1188340
00000010 (0x8a94f38): 36 35 36 31 38 30 38 38 33 20 31 20 49 4e 20 49  656180883 1 IN I
00000020 (0x8a94f48): 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73 3d  P4 127.0.0.1..s=
00000030 (0x8a94f58): 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d 65 64  Session streamed
00000040 (0x8a94f68): 20 77 69 74 68 20 47 53 74 72 65 61 6d 65 72 0d   with GStreamer.
00000050 (0x8a94f78): 0a 69 3d 72 74 73 70 2d 73 65 72 76 65 72 0d 0a  .i=rtsp-server..
00000060 (0x8a94f88): 65 3d 4e 4f 4e 45 0d 0a 74 3d 30 20 30 0d 0a 61  e=NONE..t=0 0..a
00000070 (0x8a94f98): 3d 74 6f 6f 6c 3a 47 53 74 72 65 61 6d 65 72 0d  =tool:GStreamer.
00000080 (0x8a94fa8): 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 61 73  .a=type:broadcas
00000090 (0x8a94fb8): 74 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 2a 0d 0a  t..a=control:*..
000000a0 (0x8a94fc8): 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30 2e 30 30  a=range:npt=0.00
000000b0 (0x8a94fd8): 30 30 30 30 2d 31 38 39 2e 38 36 36 36 36 37 0d  0000-189.866667.
000000c0 (0x8a94fe8): 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50 2f 41  .m=video 0 RTP/A
000000d0 (0x8a94ff8): 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50 34 20  VP 96..c=IN IP4 
000000e0 (0x8a95008): 31 32 37 2e 30 2e 30 2e 31 0d 0a 61 3d 72 74 70  127.0.0.1..a=rtp
000000f0 (0x8a95018): 6d 61 70 3a 39 36 20 4d 50 34 56 2d 45 53 2f 39  map:96 MP4V-ES/9
00000100 (0x8a95028): 30 30 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a  0000..a=control:
00000110 (0x8a95038): 73 74 72 65 61 6d 3d 30 0d 0a 61 3d 66 6d 74 70  stream=0..a=fmtp
00000120 (0x8a95048): 3a 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65 76 65  :96 profile-leve
00000130 (0x8a95058): 6c 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d 30 30  l-id=1;config=00
00000140 (0x8a95068): 30 30 30 31 62 30 30 31 30 30 30 30 30 31 62 35  0001b001000001b5
00000150 (0x8a95078): 38 39 31 33 30 30 30 30 30 31 30 30 30 30 30 30  8913000001000000
00000160 (0x8a95088): 30 31 32 30 30 30 63 34 38 64 38 38 30 30 66 35  012000c48d8800f5
00000170 (0x8a95098): 31 34 30 34 33 63 31 34 36 33 0d 0a              14043c1463..    
RTSP request message 0x8a481f8
 request line:
   method: 'SETUP'
   uri:    'rtsp://10.0.0.245:8554/test/stream=0'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Transport', value: 'RTP/AVP/TCP;unicast'
   key: 'User-Agent', value: 'QTS (qtver=6.5.1;os=Windows NT 5.2)'
   key: 'Accept-Language', value: 'en-US'
 body:
RTSP response message 0xbf8d5614
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=0-1;mode="PLAY"'
   key: 'Server', value: 'GStreamer RTSP server'
   key: 'Session', value: 'gflpfrcbnsigxmib'
 body: length 0
RTSP request message 0x8a481f8
 request line:
   method: 'PLAY'
   uri:    'rtsp://10.0.0.245:8554/test'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Range', value: 'npt=0.000000-189.866667'
   key: 'Session', value: 'gflpfrcbnsigxmib'
   key: 'User-Agent', value: 'QTS (qtver=6.5.1;os=Windows NT 5.2)'
 body:
RTSP response message 0xbf8d55f8
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'RTP-Info', value: 'url=rtsp://10.0.0.245:8554/test/stream=0;seq=23033;rtptime=1766952604'
   key: 'Range', value: 'npt=1.000000-189.866667'
   key: 'Server', value: 'GStreamer RTSP server'
   key: 'Session', value: 'gflpfrcbnsigxmib'
 body: length 0
[New Thread 0xb3775b90 (LWP 8483)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5fadb90 (LWP 8479)]
0x00141846 in gst_rtsp_watch_write_data (watch=0x8a471a8, data=0x8ab0228 "$", size=1404, id=0x0) at gstrtspconnection.c:3386
3386	  if (watch->messages->length == 0) {
(gdb) 

(gdb) thread apply all bt

Thread 9 (Thread 0xb3775b90 (LWP 8483)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x0065bc94 in ppoll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>, 
    sigmask=<value optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:58
#2  0x002059f4 in gst_poll_wait (set=0x8a63848, timeout=2944849338) at gstpoll.c:1190
#3  0x002199ce in gst_system_clock_id_wait_jitter_unlocked (clock=0x8a7a000, entry=0x8a94e78, jitter=0x0, restart=1)
    at gstsystemclock.c:609
#4  0x0021a4b7 in gst_system_clock_id_wait_jitter (clock=0x8a7a000, entry=0x8a94e78, jitter=0x0) at gstsystemclock.c:698
#5  0x001d3014 in gst_clock_id_wait (id=0x8a94e78, jitter=0x0) at gstclock.c:416
#6  0x007ebcb5 in rtcp_thread (rtpsession=0x8a79100) at gstrtpsession.c:779
#7  0x004391ef in g_thread_create_proxy (data=0x8a97670) at gthread.c:635
#8  0x0072b32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0066620e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb417db90 (LWP 8482)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x0072eba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0015923a in gst_app_src_create (bsrc=0x8a72410, offset=0, size=4096, buf=0xb417d2b4) at gstappsrc.c:951
#3  0x0017cf12 in gst_base_src_get_range (src=0x8a72410, offset=0, length=4096, buf=0xb417d2b4) at gstbasesrc.c:2042
#4  0x0017fd2b in gst_base_src_loop (pad=0x8a68268) at gstbasesrc.c:2295
#5  0x0021ffa3 in gst_task_func (task=0x8a652c8) at gsttask.c:238
#6  0x00221937 in default_func (tdata=0x8a4ab08, pool=0x8953408) at gsttaskpool.c:70
#7  0x0043a886 in g_thread_pool_thread_proxy (data=0x8953258) at gthreadpool.c:265
#8  0x004391ef in g_thread_create_proxy (data=0x8a89f98) at gthread.c:635
#9  0x0072b32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x0066620e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb4babb90 (LWP 8481)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x0072eba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0015923a in gst_app_src_create (bsrc=0x8a721c0, offset=0, size=4096, buf=0xb4bab2b4) at gstappsrc.c:951
---Type <return> to continue, or q <return> to quit---
#3  0x0017cf12 in gst_base_src_get_range (src=0x8a721c0, offset=0, length=4096, buf=0xb4bab2b4) at gstbasesrc.c:2042
#4  0x0017fd2b in gst_base_src_loop (pad=0x8a680d8) at gstbasesrc.c:2295
#5  0x0021ffa3 in gst_task_func (task=0x8a65240) at gsttask.c:238
#6  0x00221937 in default_func (tdata=0x8953058, pool=0x8953408) at gsttaskpool.c:70
#7  0x0043a886 in g_thread_pool_thread_proxy (data=0x8953258) at gthreadpool.c:265
#8  0x004391ef in g_thread_create_proxy (data=0x8a84d58) at gthread.c:635
#9  0x0072b32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x0066620e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb55acb90 (LWP 8480)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x0072eba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x004d0de4 in gst_queue_chain (pad=0x8a4d190, buffer=0x8a93468) at gstqueue.c:968
#3  0x001f3197 in gst_pad_chain_data_unchecked (pad=0x8a4d190, is_buffer=1, data=0x8a93468) at gstpad.c:4122
#4  0x001f3d11 in gst_pad_push_data (pad=0x8a82998, is_buffer=1, data=0x8a93468) at gstpad.c:4351
#5  0x004fa911 in gst_qtdemux_decorate_and_push_buffer (qtdemux=0x8a50008, stream=0x8a98000, buf=0x8a93468, timestamp=19133333333, 
    duration=33333333, keyframe=0, position=19133333333, byte_position=1420293) at qtdemux.c:2714
#6  0x00500ac0 in gst_qtdemux_loop_state_movie (qtdemux=0x8a50008) at qtdemux.c:2793
#7  0x0050a813 in gst_qtdemux_loop (pad=0x8a4d0c8) at qtdemux.c:2844
#8  0x0021ffa3 in gst_task_func (task=0x8a651b8) at gsttask.c:238
#9  0x00221937 in default_func (tdata=0x8a4ab48, pool=0x8953408) at gsttaskpool.c:70
#10 0x0043a886 in g_thread_pool_thread_proxy (data=0x8953258) at gthreadpool.c:265
#11 0x004391ef in g_thread_create_proxy (data=0x8a84dc8) at gthread.c:635
#12 0x0072b32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#13 0x0066620e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb5fadb90 (LWP 8479)):
#0  0x00141846 in gst_rtsp_watch_write_data (watch=0x8a471a8, data=0x8ab0228 "$", size=1404, id=0x0) at gstrtspconnection.c:3386
#1  0x00141a5a in gst_rtsp_watch_send_message (watch=0x8a471a8, message=0xb5fac368, id=0x0) at gstrtspconnection.c:3461
#2  0x00117dfa in do_send_data (buffer=0x8a954f8, channel=<value optimized out>, client=0x894bef0) at rtsp-client.c:313
#3  0x0011a6f8 in handle_new_buffer (sink=0x8a76068, user_data=0x8a57e80) at rtsp-media.c:881
#4  0x0015bcb1 in gst_app_sink_render_common (psink=0x8a76068, data=0x8a954f8, is_list=0) at gstappsink.c:775
---Type <return> to continue, or q <return> to quit---

#5  0x0016ecf0 in gst_base_sink_render_object (basesink=0x8a76068, pad=0x8a681a0, is_list=0, obj=0x8a954f8) at gstbasesink.c:2732
#6  0x001703f7 in gst_base_sink_queue_object_unlocked (basesink=0x8a76068, pad=0x8a681a0, is_list=0, obj=0x8a954f8, prerollable=1)
    at gstbasesink.c:2981
#7  0x001724fc in gst_base_sink_chain_unlocked (basesink=0x8a76068, pad=0x8a681a0, is_list=0, obj=0x8a954f8) at gstbasesink.c:3355
#8  0x00172a64 in gst_base_sink_chain_main (basesink=0x8a76068, pad=0x8a681a0, is_list=0, obj=0x8a954f8) at gstbasesink.c:3393
#9  0x001f3197 in gst_pad_chain_data_unchecked (pad=0x8a681a0, is_buffer=1, data=0x8a954f8) at gstpad.c:4122
#10 0x001f3d11 in gst_pad_push_data (pad=0x8a7ecc0, is_buffer=1, data=0x8a954f8) at gstpad.c:4351
#11 0x004da9ba in gst_tee_handle_data (tee=0x8a82050, data=0x8a954f8, is_list=0) at gsttee.c:636
#12 0x004daf82 in gst_tee_chain (pad=0x8a7eb30, buffer=0x8a954f8) at gsttee.c:789
#13 0x001f3197 in gst_pad_chain_data_unchecked (pad=0x8a7eb30, is_buffer=1, data=0x8a954f8) at gstpad.c:4122
#14 0x001f3d11 in gst_pad_push_data (pad=0x8a5f350, is_buffer=1, data=0x8a954f8) at gstpad.c:4351
#15 0x001e179d in gst_proxy_pad_do_chain (pad=0x8a5f9e8, buffer=0x8a954f8) at gstghostpad.c:160
#16 0x001f3197 in gst_pad_chain_data_unchecked (pad=0x8a5f9e8, is_buffer=1, data=0x8a954f8) at gstpad.c:4122
#17 0x001f3d11 in gst_pad_push_data (pad=0x8a68650, is_buffer=1, data=0x8a954f8) at gstpad.c:4351
#18 0x007ed692 in gst_rtp_session_send_rtp (sess=0x8a7b060, src=0x8a4c228, data=0x8a954f8, user_data=0x8a79100) at gstrtpsession.c:990
#19 0x007dced1 in source_push_rtp (source=0x8a4c228, data=0x8a954f8, session=0x8a7b060) at rtpsession.c:938
#20 0x007e5ebd in rtp_source_send_rtp (src=0x8a4c228, data=0x8a954f8, is_list=0, ntpnstime=3473585099321034666) at rtpsource.c:1192
#21 0x007e02e7 in rtp_session_send_rtp (sess=0x8a7b060, data=0x8a954f8, is_list=0, current_time=27857265253705, 
    ntpnstime=3473585099321034666) at rtpsession.c:2000
#22 0x007eab00 in gst_rtp_session_chain_send_rtp_common (pad=<value optimized out>, data=0x8a954f8, is_list=0) at gstrtpsession.c:1642
#23 0x001f3197 in gst_pad_chain_data_unchecked (pad=0x8a68588, is_buffer=1, data=0x8a954f8) at gstpad.c:4122
#24 0x001f3d11 in gst_pad_push_data (pad=0x8a5f910, is_buffer=1, data=0x8a954f8) at gstpad.c:4351
#25 0x001e179d in gst_proxy_pad_do_chain (pad=0x8a5f268, buffer=0x8a954f8) at gstghostpad.c:160
#26 0x001f3197 in gst_pad_chain_data_unchecked (pad=0x8a5f268, is_buffer=1, data=0x8a954f8) at gstpad.c:4122
#27 0x001f3d11 in gst_pad_push_data (pad=0x8a5f098, is_buffer=1, data=0x8a954f8) at gstpad.c:4351
#28 0x001e179d in gst_proxy_pad_do_chain (pad=0x8a5f838, buffer=0x8a954f8) at gstghostpad.c:160
#29 0x001f3197 in gst_pad_chain_data_unchecked (pad=0x8a5f838, is_buffer=1, data=0x8a954f8) at gstpad.c:4122
#30 0x001f3d11 in gst_pad_push_data (pad=0x8a4d320, is_buffer=1, data=0x8a954f8) at gstpad.c:4351
#31 0x001319f9 in gst_basertppayload_push (payload=0x8a580e0, buffer=0x8a954f8) at gstbasertppayload.c:856
#32 0x007a2980 in gst_rtp_mp4v_pay_flush (rtpmp4vpay=0x8a580e0) at gstrtpmp4vpay.c:330
#33 0x007a2c17 in gst_rtp_mp4v_pay_handle_buffer (basepayload=0x8a580e0, buffer=0x8aac9f8) at gstrtpmp4vpay.c:507
#34 0x00132832 in gst_basertppayload_chain (pad=0x8a4d3e8, buffer=0x8aac9f8) at gstbasertppayload.c:425
---Type <return> to continue, or q <return> to quit---

#35 0x001f3197 in gst_pad_chain_data_unchecked (pad=0x8a4d3e8, is_buffer=1, data=0x8aac9f8) at gstpad.c:4122
#36 0x001f3d11 in gst_pad_push_data (pad=0x8a4d258, is_buffer=1, data=0x8aac9f8) at gstpad.c:4351
#37 0x004ce2fb in gst_queue_loop (pad=0x8a4d258) at gstqueue.c:1083
#38 0x0021ffa3 in gst_task_func (task=0x8a65130) at gsttask.c:238
#39 0x00221937 in default_func (tdata=0x8a4ab18, pool=0x8953408) at gsttaskpool.c:70
#40 0x0043a886 in g_thread_pool_thread_proxy (data=0x8953258) at gthreadpool.c:265
#41 0x004391ef in g_thread_create_proxy (data=0x8a848a0) at gthread.c:635
#42 0x0072b32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#43 0x0066620e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb69aeb90 (LWP 8478)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x0065bc94 in ppoll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>, 
    sigmask=<value optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:58
#2  0x002059f4 in gst_poll_wait (set=0x8a634e0, timeout=18446744073709551615) at gstpoll.c:1190
#3  0x0055e195 in gst_udpsrc_create (psrc=0x8a66078, buf=0xb69ae2b4) at gstudpsrc.c:447
#4  0x00190f15 in gst_push_src_create (bsrc=0x8a66078, offset=18446744073709551615, length=4096, ret=0xb69ae2b4) at gstpushsrc.c:117
#5  0x0017cf12 in gst_base_src_get_range (src=0x8a66078, offset=18446744073709551615, length=4096, buf=0xb69ae2b4) at gstbasesrc.c:2042
#6  0x0017fd2b in gst_base_src_loop (pad=0x8a4d578) at gstbasesrc.c:2295
#7  0x0021ffa3 in gst_task_func (task=0x8a65020) at gsttask.c:238
#8  0x00221937 in default_func (tdata=0x8a4b428, pool=0x8953408) at gsttaskpool.c:70
#9  0x0043a886 in g_thread_pool_thread_proxy (data=0x8953258) at gthreadpool.c:265
#10 0x004391ef in g_thread_create_proxy (data=0x8a64e58) at gthread.c:635
#11 0x0072b32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x0066620e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb73afb90 (LWP 8477)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x0065bc94 in ppoll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>, 
    sigmask=<value optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:58
#2  0x002059f4 in gst_poll_wait (set=0x8a63518, timeout=18446744073709551615) at gstpoll.c:1190
#3  0x0055e195 in gst_udpsrc_create (psrc=0x8a66300, buf=0xb73af2b4) at gstudpsrc.c:447
---Type <return> to continue, or q <return> to quit---

#4  0x00190f15 in gst_push_src_create (bsrc=0x8a66300, offset=18446744073709551615, length=4096, ret=0xb73af2b4) at gstpushsrc.c:117
#5  0x0017cf12 in gst_base_src_get_range (src=0x8a66300, offset=18446744073709551615, length=4096, buf=0xb73af2b4) at gstbasesrc.c:2042
#6  0x0017fd2b in gst_base_src_loop (pad=0x8a4d640) at gstbasesrc.c:2295
#7  0x0021ffa3 in gst_task_func (task=0x8a650a8) at gsttask.c:238
#8  0x00221937 in default_func (tdata=0x8a4b548, pool=0x8953408) at gsttaskpool.c:70
#9  0x0043a886 in g_thread_pool_thread_proxy (data=0x8953258) at gthreadpool.c:265
#10 0x004391ef in g_thread_create_proxy (data=0x8a64688) at gthread.c:635
#11 0x0072b32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x0066620e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb7db0b90 (LWP 8476)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x0065ba57 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00412212 in g_main_context_iterate (context=0x8a48b98, block=1, dispatch=1, self=0x8a48c38) at gmain.c:3091
#3  0x004128a2 in IA__g_main_loop_run (loop=0x8a48c20) at gmain.c:2986
#4  0x0011e152 in do_loop (klass=0x8a57f68) at rtsp-media.c:215
#5  0x004391ef in g_thread_create_proxy (data=0x8a48c38) at gthread.c:635
#6  0x0072b32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x0066620e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7fb26c0 (LWP 8455)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x0065ba57 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00412212 in g_main_context_iterate (context=0x8948de0, block=1, dispatch=1, self=0x8946008) at gmain.c:3091
#3  0x004128a2 in IA__g_main_loop_run (loop=0x8947650) at gmain.c:2986
#4  0x08048982 in main (argc=1936028719, argv=0xb20074) at test-mp4.c:73
0x00141846	3386	  if (watch->messages->length == 0) {
(gdb) 


