[gstreamer-bugs] [Bug 612915] streaming stopped for tcp interleaved communication:
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Mar 25 01:58:14 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=612915
GStreamer | gst-rtsp-server | git
--- Comment #6 from sreerenj <bsreerenj at gmail.com> 2010-03-25 08:58:06 UTC ---
I am pasting the gdb output here.
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program:
/root/Source_March10/gst-rtsp-server_March25/examples/.libs/test-mp4 vi
[Thread debugging using libthread_db enabled]
[New Thread 0xb809a6c0 (LWP 17471)]
[Switching to Thread 0xb809a6c0 (LWP 17471)]
Breakpoint 1, main (argc=2, argv=0xbf8bb0b4) at test-mp4.c:32
32 gst_debug_set_default_threshold(GST_LEVEL_DEBUG);
(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
[New Thread 0xb7e99b90 (LWP 17561)]
[New Thread 0xb7498b90 (LWP 17562)]
[New Thread 0xb6a97b90 (LWP 17563)]
[New Thread 0xb6096b90 (LWP 17564)]
[New Thread 0xb5695b90 (LWP 17565)]
[New Thread 0xb4c94b90 (LWP 17566)]
[New Thread 0xb4257b90 (LWP 17567)]
[New Thread 0xb3856b90 (LWP 17568)]
^C
Program received signal SIGINT, Interrupt.
0x00110416 in __kernel_vsyscall ()
(gdb) thread apply all bt
Thread 9 (Thread 0xb3856b90 (LWP 17568)):
#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 0x0020aa84 in gst_poll_wait (set=0xa011af8, timeout=6071588445) at
gstpoll.c:1190
#3 0x0021ea4e in gst_system_clock_id_wait_jitter_unlocked (clock=0xa029000,
entry=0xa08abb8, jitter=0x0, restart=1)
at gstsystemclock.c:607
#4 0x0021f537 in gst_system_clock_id_wait_jitter (clock=0xa029000,
entry=0xa08abb8, jitter=0x0) at gstsystemclock.c:696
#5 0x001d7414 in gst_clock_id_wait (id=0xa08abb8, jitter=0x0) at
gstclock.c:414
#6 0x007ed4b5 in rtcp_thread (rtpsession=0xa028030) at gstrtpsession.c:780
#7 0x0043f1ef in g_thread_create_proxy (data=0xa05b1d0) 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 0xb4257b90 (LWP 17567)):
#0 0x00110416 in __kernel_vsyscall ()
#1 0x0072eba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0015c0df in gst_app_src_create (bsrc=0xa022360, offset=0, size=4096,
buf=0xb4257284) at gstappsrc.c:1033
#3 0x00180de2 in gst_base_src_get_range (src=0xa022360, offset=0, length=4096,
buf=0xb4257284) at gstbasesrc.c:2114
#4 0x00183bab in gst_base_src_loop (pad=0xa01aa60) at gstbasesrc.c:2367
#5 0x0022521b in gst_task_func (task=0xa018ac8) at gsttask.c:271
#6 0x00226cc7 in default_func (tdata=0x9ffb230, pool=0x9eeb408) at
gsttaskpool.c:68
#7 0x00440886 in g_thread_pool_thread_proxy (data=0x9eeb258) at
gthreadpool.c:265
#8 0x0043f1ef in g_thread_create_proxy (data=0xa059760) 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 0xb4c94b90 (LWP 17566)):
#0 0x00110416 in __kernel_vsyscall ()
#1 0x0072eba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0015c0df in gst_app_src_create (bsrc=0xa022100, offset=0, size=4096,
buf=0xb4c94284) at gstappsrc.c:1033
---Type <return> to continue, or q <return> to quit---
#3 0x00180de2 in gst_base_src_get_range (src=0xa022100, offset=0, length=4096,
buf=0xb4c94284) at gstbasesrc.c:2114
#4 0x00183bab in gst_base_src_loop (pad=0xa01a8d0) at gstbasesrc.c:2367
#5 0x0022521b in gst_task_func (task=0xa018a40) at gsttask.c:271
#6 0x00226cc7 in default_func (tdata=0x9ffb2d8, pool=0x9eeb408) at
gsttaskpool.c:68
#7 0x00440886 in g_thread_pool_thread_proxy (data=0x9eeb258) at
gthreadpool.c:265
#8 0x0043f1ef in g_thread_create_proxy (data=0xa037f48) 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 0xb5695b90 (LWP 17565)):
#0 0x00110416 in __kernel_vsyscall ()
#1 0x0072eba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x004d6eac in gst_queue_chain (pad=0x9ffe1a0, buffer=0xa04c0a8) at
gstqueue.c:968
#3 0x001f8197 in gst_pad_chain_data_unchecked (pad=0x9ffe1a0, is_buffer=1,
data=0xa04c0a8) at gstpad.c:4130
#4 0x001f8d11 in gst_pad_push_data (pad=0xa033190, is_buffer=1,
data=0xa04c0a8) at gstpad.c:4359
#5 0x00502f21 in gst_qtdemux_decorate_and_push_buffer (qtdemux=0xa000028,
stream=0xa04fc00, buf=0xa04c0a8, timestamp=184033333333,
duration=33333333, keyframe=0, position=184033333333,
byte_position=7766526) at qtdemux.c:2751
#6 0x005092f0 in gst_qtdemux_loop_state_movie (qtdemux=0xa000028) at
qtdemux.c:2830
#7 0x00513363 in gst_qtdemux_loop (pad=0x9ffe0d8) at qtdemux.c:2881
#8 0x0022521b in gst_task_func (task=0xa0189b8) at gsttask.c:271
#9 0x00226cc7 in default_func (tdata=0x9ffb240, pool=0x9eeb408) at
gsttaskpool.c:68
#10 0x00440886 in g_thread_pool_thread_proxy (data=0x9eeb258) at
gthreadpool.c:265
#11 0x0043f1ef in g_thread_create_proxy (data=0xa0396b8) 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 0xb6096b90 (LWP 17564)):
#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 0x0020aa84 in gst_poll_wait (set=0xa011af8, timeout=265705977) at
gstpoll.c:1190
#3 0x0021ea4e in gst_system_clock_id_wait_jitter_unlocked (clock=0xa029000,
entry=0xa05b8a0, jitter=0xb60955f0, restart=1)
---Type <return> to continue, or q <return> to quit---
#4 0x0021f537 in gst_system_clock_id_wait_jitter (clock=0xa029000,
entry=0xa05b8a0, jitter=0xb60955f0) at gstsystemclock.c:696
#5 0x001d7414 in gst_clock_id_wait (id=0xa05b8a0, jitter=0xb60955f0) at
gstclock.c:414
#6 0x0016c47b in gst_base_sink_wait_clock (sink=0xa01e140, time=<value
optimized out>, jitter=0xb60955f0) at gstbasesink.c:2007
#7 0x00171d15 in gst_base_sink_render_object (basesink=0xa01e140,
pad=0x9ffe718, is_list=0, obj=0xa08b598) at gstbasesink.c:2323
#8 0x00173bc7 in gst_base_sink_queue_object_unlocked (basesink=0xa01e140,
pad=0x9ffe718, is_list=0, obj=0xa08b598, prerollable=1)
at gstbasesink.c:3008
#9 0x00175ccc in gst_base_sink_chain_unlocked (basesink=0xa01e140,
pad=0x9ffe718, is_list=0, obj=0xa08b598) at gstbasesink.c:3382
#10 0x00176234 in gst_base_sink_chain_main (basesink=0xa01e140, pad=0x9ffe718,
is_list=0, obj=0xa08b598) at gstbasesink.c:3420
#11 0x001f8197 in gst_pad_chain_data_unchecked (pad=0x9ffe718, is_buffer=1,
data=0xa08b598) at gstpad.c:4130
#12 0x001f8d11 in gst_pad_push_data (pad=0xa02f3e8, is_buffer=1,
data=0xa08b598) at gstpad.c:4359
#13 0x004e25ca in gst_tee_handle_data (tee=0xa032840, data=0xa08b598,
is_list=0) at gsttee.c:636
#14 0x004e2b92 in gst_tee_chain (pad=0xa02f320, buffer=0xa08b598) at
gsttee.c:789
#15 0x001f8197 in gst_pad_chain_data_unchecked (pad=0xa02f320, is_buffer=1,
data=0xa08b598) at gstpad.c:4130
#16 0x001f8d11 in gst_pad_push_data (pad=0xa00f2b8, is_buffer=1,
data=0xa08b598) at gstpad.c:4359
#17 0x001e5e7d in gst_proxy_pad_do_chain (pad=0xa00f9b0, buffer=0xa08b598) at
gstghostpad.c:160
#18 0x001f8197 in gst_pad_chain_data_unchecked (pad=0xa00f9b0, is_buffer=1,
data=0xa08b598) at gstpad.c:4130
#19 0x001f8d11 in gst_pad_push_data (pad=0xa01ae48, is_buffer=1,
data=0xa08b598) at gstpad.c:4359
#20 0x007eeeb2 in gst_rtp_session_send_rtp (sess=0xa02a040, src=0xa02d010,
data=0xa08b598, user_data=0xa028030) at gstrtpsession.c:992
#21 0x007de311 in source_push_rtp (source=0xa02d010, data=0xa08b598,
session=0xa02a040) at rtpsession.c:948
#22 0x007e7805 in rtp_source_send_rtp (src=0xa02d010, data=0xa08b598,
is_list=0, running_time=181800000000) at rtpsource.c:1207
#23 0x007e1797 in rtp_session_send_rtp (sess=0xa02a040, data=0xa08b598,
is_list=0, current_time=14035716523357,
running_time=181800000000) at rtpsession.c:2012
#24 0x007ec2f7 in gst_rtp_session_chain_send_rtp_common (pad=<value optimized
out>, data=0xa08b598, is_list=0) at gstrtpsession.c:1638
#25 0x001f8197 in gst_pad_chain_data_unchecked (pad=0xa01ad80, is_buffer=1,
data=0xa08b598) at gstpad.c:4130
#26 0x001f8d11 in gst_pad_push_data (pad=0xa00f8d8, is_buffer=1,
data=0xa08b598) at gstpad.c:4359
#27 0x001e5e7d in gst_proxy_pad_do_chain (pad=0xa00f1d0, buffer=0xa08b598) at
gstghostpad.c:160
#28 0x001f8197 in gst_pad_chain_data_unchecked (pad=0xa00f1d0, is_buffer=1,
data=0xa08b598) at gstpad.c:4130
#29 0x001f8d11 in gst_pad_push_data (pad=0xa00f000, is_buffer=1,
data=0xa08b598) at gstpad.c:4359
#30 0x001e5e7d in gst_proxy_pad_do_chain (pad=0xa00f800, buffer=0xa08b598) at
gstghostpad.c:160
#31 0x001f8197 in gst_pad_chain_data_unchecked (pad=0xa00f800, is_buffer=1,
data=0xa08b598) at gstpad.c:4130
#32 0x001f8d11 in gst_pad_push_data (pad=0x9ffe330, is_buffer=1,
data=0xa08b598) at gstpad.c:4359
---Type <return> to continue, or q <return> to quit---
#33 0x001339f9 in gst_basertppayload_push (payload=0xa008010, buffer=0xa08b598)
at gstbasertppayload.c:857
#34 0x007a2c30 in gst_rtp_mp4v_pay_flush (rtpmp4vpay=0xa008010) at
gstrtpmp4vpay.c:326
#35 0x007a2ec7 in gst_rtp_mp4v_pay_handle_buffer (basepayload=0xa008010,
buffer=0xa03f6e8) at gstrtpmp4vpay.c:503
#36 0x00134832 in gst_basertppayload_chain (pad=0x9ffe3f8, buffer=0xa03f6e8) at
gstbasertppayload.c:425
#37 0x001f8197 in gst_pad_chain_data_unchecked (pad=0x9ffe3f8, is_buffer=1,
data=0xa03f6e8) at gstpad.c:4130
#38 0x001f8d11 in gst_pad_push_data (pad=0x9ffe268, is_buffer=1,
data=0xa03f6e8) at gstpad.c:4359
#39 0x004d43bb in gst_queue_loop (pad=0x9ffe268) at gstqueue.c:1083
#40 0x0022521b in gst_task_func (task=0xa018930) at gsttask.c:271
#41 0x00226cc7 in default_func (tdata=0x9ffb248, pool=0x9eeb408) at
gsttaskpool.c:68
#42 0x00440886 in g_thread_pool_thread_proxy (data=0x9eeb258) at
gthreadpool.c:265
#43 0x0043f1ef in g_thread_create_proxy (data=0xa0379c0) at gthread.c:635
#44 0x0072b32f in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#45 0x0066620e in clone () from /lib/libc.so.6
Thread 4 (Thread 0xb6a97b90 (LWP 17563)):
#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 0x0020aa84 in gst_poll_wait (set=0xa011790, timeout=18446744073709551615)
at gstpoll.c:1190
#3 0x007f9fa5 in gst_udpsrc_create (psrc=0xa0162e8, buf=0xb6a97284) at
gstudpsrc.c:446
#4 0x001953c5 in gst_push_src_create (bsrc=0xa0162e8,
offset=18446744073709551615, length=4096, ret=0xb6a97284) at gstpushsrc.c:117
#5 0x00180de2 in gst_base_src_get_range (src=0xa0162e8,
offset=18446744073709551615, length=4096, buf=0xb6a97284) at gstbasesrc.c:2114
#6 0x00183bab in gst_base_src_loop (pad=0x9ffe650) at gstbasesrc.c:2367
#7 0x0022521b in gst_task_func (task=0xa0188a8) at gsttask.c:271
#8 0x00226cc7 in default_func (tdata=0x9ffbcc0, pool=0x9eeb408) at
gsttaskpool.c:68
#9 0x00440886 in g_thread_pool_thread_proxy (data=0x9eeb258) at
gthreadpool.c:265
#10 0x0043f1ef in g_thread_create_proxy (data=0xa018710) 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 0xb7498b90 (LWP 17562)):
#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 0x0020aa84 in gst_poll_wait (set=0xa011758, timeout=18446744073709551615)
at gstpoll.c:1190
#3 0x007f9fa5 in gst_udpsrc_create (psrc=0xa016048, buf=0xb7498284) at
gstudpsrc.c:446
#4 0x001953c5 in gst_push_src_create (bsrc=0xa016048,
offset=18446744073709551615, length=4096, ret=0xb7498284) at gstpushsrc.c:117
#5 0x00180de2 in gst_base_src_get_range (src=0xa016048,
offset=18446744073709551615, length=4096, buf=0xb7498284) at gstbasesrc.c:2114
#6 0x00183bab in gst_base_src_loop (pad=0x9ffe588) at gstbasesrc.c:2367
#7 0x0022521b in gst_task_func (task=0xa018820) at gsttask.c:271
#8 0x00226cc7 in default_func (tdata=0x9ffbc08, pool=0x9eeb408) at
gsttaskpool.c:68
#9 0x00440886 in g_thread_pool_thread_proxy (data=0x9eeb258) at
gthreadpool.c:265
#10 0x0043f1ef in g_thread_create_proxy (data=0xa0180d8) 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 0xb7e99b90 (LWP 17561)):
#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 0x00418212 in g_main_context_iterate (context=0xa007978, block=1,
dispatch=1, self=0xa007a18) at gmain.c:3091
#3 0x004188a2 in IA__g_main_loop_run (loop=0xa007a00) at gmain.c:2986
#4 0x0011f7c2 in do_loop (klass=0x9ff90d8) at rtsp-media.c:237
#5 0x0043f1ef in g_thread_create_proxy (data=0xa007a18) 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 0xb809a6c0 (LWP 17471)):
#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 0x00418212 in g_main_context_iterate (context=0x9ee0de0, block=1,
dispatch=1, self=0x9ede008) at gmain.c:3091
#3 0x004188a2 in IA__g_main_loop_run (loop=0x9edf650) at gmain.c:2986
#4 0x080489de in main (argc=2, argv=0x4b06a0) at test-mp4.c:73
--
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