adaptivedemux: Pre-rolling problem after seeks on HLS streams
@rland
Submitted by Roland Jon Link to original bug (#787621)
Description
Created attachment 359702
Reproduce unit test code
gstplayer in pause state, seek to a specific point, will cause the pipeline to hangs.
Attached unit_test will perform a seek to user specified position in PAUSED state,
such as:./gst-play http://10.9.44.116/seek_issure/index.m3u8 90000
The HLS file for reproduction is here:
https://drive.google.com/file/d/0B8t5E5lSOxhHOEo2akNZQW9MX2s/view?usp=sharing
The seek location set to 90000, 100% will hangs, audio seems unable to preroll success, and the video has been preroll completed.
backtrace:
Thread 24 (Thread 0x7fff8ef7f700 (LWP 24629)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7fffd8007270, mutex=0x7fffd8007260) at gthread-posix.c:1395
#2 0x00007fffeef66c9d in gst_queue_loop (pad=0x7fffcc30d900) at gstqueue.c:1505
#3 0x00007ffff792302a in gst_task_func (task=0x7fffcc07f050) at gsttask.c:335
#4 0x00007ffff7924206 in default_func (tdata=0x7fffcc308800, pool=0x61a100) at gsttaskpool.c:69
#5 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#6 0x00007ffff7316146 in g_thread_proxy (data=0x7fffcc3024f0) at gthread.c:784
#7 0x00007ffff70786ba in start_thread (arg=0x7fff8ef7f700) at pthread_create.c:333
#8 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 23 (Thread 0x7fff8fd9a700 (LWP 24628)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7fffcc026ce0, mutex=0x7fffcc026cd8) at gthread-posix.c:1395
#2 0x00007ffff55590c6 in gst_base_sink_wait_preroll (sink=0x7fffcc026bb0) at gstbasesink.c:2267
#3 0x00007ffff55595fb in gst_base_sink_do_preroll (sink=0x7fffcc026bb0, obj=0x7fffd4064740) at gstbasesink.c:2361
#4 0x00007ffff5559f0b in gst_base_sink_do_sync (basesink=0x7fffcc026bb0, obj=0x7fffd4064740, late=0x7fff8fd98c40,
step_end=0x7fff8fd98c44) at gstbasesink.c:2563
#5 0x00007ffff555e570 in gst_base_sink_chain_unlocked (basesink=0x7fffcc026bb0, pad=0x7fffc801bb70, obj=0x7fffd4064740,
is_list=0) at gstbasesink.c:3519
#6 0x00007ffff555f4a6 in gst_base_sink_chain_main (basesink=0x7fffcc026bb0, pad=0x7fffc801bb70, obj=0x7fffd4064740,
is_list=0) at gstbasesink.c:3676
#7 0x00007ffff555f602 in gst_base_sink_chain (pad=0x7fffc801bb70, parent=0x7fffcc026bb0, buf=0x7fffd4064740)
at gstbasesink.c:3705
#8 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffc801bb70, type=4112, data=0x7fffd4064740)
at gstpad.c:4205
#9 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc2d8050, type=4112, data=0x7fffd4064740) at gstpad.c:4457
#10 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc2d8050, buffer=0x7fffd4064740) at gstpad.c:4576
#11 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffcc01aa00, parent=0x7fffcc2d8050, buffer=0x7fffd4064740)
at gstghostpad.c:127
#12 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc01aa00, type=4112, data=0x7fffd4064740)
at gstpad.c:4205
#13 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc30c280, type=4112, data=0x7fffd4064740) at gstpad.c:4457
#14 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc30c280, buffer=0x7fffd4064740) at gstpad.c:4576
#15 0x00007ffff5577588 in gst_base_transform_chain (pad=0x7fffcc30c040, parent=0x7fffcc310fc0, buffer=0x7fffd4064740)
at gstbasetransform.c:2312
#16 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc30c040, type=4112, data=0x7fffd4064740)
at gstpad.c:4205
#17 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc02b4b0, type=4112, data=0x7fffd4064740) at gstpad.c:4457
#18 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc02b4b0, buffer=0x7fffd4064740) at gstpad.c:4576
#19 0x00007ffff5577588 in gst_base_transform_chain (pad=0x7fffcc02b270, parent=0x7fffcc2decf0, buffer=0x7fffd4064740)
at gstbasetransform.c:2312
#20 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc02b270, type=4112, data=0x7fffd4064740)
at gstpad.c:4205
#21 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc02b6f0, type=4112, data=0x7fffd4064740) at gstpad.c:4457
#22 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc02b6f0, buffer=0x7fffd4064740) at gstpad.c:4576
#23 0x00007ffff5577588 in gst_base_transform_chain (pad=0x7fffcc02b930, parent=0x7fffcc303b80, buffer=0x7fffd4064740)
at gstbasetransform.c:2312
#24 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc02b930, type=4112, data=0x7fffd4064740)
at gstpad.c:4205
#25 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc02bb70, type=4112, data=0x7fffd4064740) at gstpad.c:4457
#26 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc02bb70, buffer=0x7fffd4064740) at gstpad.c:4576
#27 0x00007ffff5577588 in gst_base_transform_chain (pad=0x7fffcc02bdb0, parent=0x7fffcc3093c0, buffer=0x7fffd4064740)
at gstbasetransform.c:2312
#28 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc02bdb0, type=4112, data=0x7fffd4064740)
at gstpad.c:4205
#29 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc01a7b0, type=4112, data=0x7fffd4064740) at gstpad.c:4457
#30 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc01a7b0, buffer=0x7fffd4064740) at gstpad.c:4576
#31 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffe8043da0, parent=0x7fffcc2d6020, buffer=0x7fffd4064740)
at gstghostpad.c:127
#32 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe8043da0, type=4112, data=0x7fffd4064740)
at gstpad.c:4205
#33 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc02abb0, type=4112, data=0x7fffd4064740) at gstpad.c:4457
#34 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc02abb0, buffer=0x7fffd4064740) at gstpad.c:4576
#35 0x00007fffeef66289 in gst_queue_push_one (queue=0x7fffd8006ce0) at gstqueue.c:1365
#36 0x00007fffeef670dc in gst_queue_loop (pad=0x7fffcc02abb0) at gstqueue.c:1517
#37 0x00007ffff792302a in gst_task_func (task=0x7fffd800eef0) at gsttask.c:335
#38 0x00007ffff7924206 in default_func (tdata=0x7fffcc308620, pool=0x61a100) at gsttaskpool.c:69
#39 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#40 0x00007ffff7316146 in g_thread_proxy (data=0x7fffcc302630) at gthread.c:784
#41 0x00007ffff70786ba in start_thread (arg=0x7fff8fd9a700) at pthread_create.c:333
#42 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 22 (Thread 0x7fffae6fc700 (LWP 24627)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fffba3e2a8e in frame_worker_thread (arg=0x7fffcc08f7b8) at libavcodec/pthread_frame.c:175
#2 0x00007ffff70786ba in start_thread (arg=0x7fffae6fc700) at pthread_create.c:333
#3 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 21 (Thread 0x7fffaeefd700 (LWP 24626)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fffba3e2a8e in frame_worker_thread (arg=0x7fffcc08f610) at libavcodec/pthread_frame.c:175
#2 0x00007ffff70786ba in start_thread (arg=0x7fffaeefd700) at pthread_create.c:333
#3 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 20 (Thread 0x7fffaf6fe700 (LWP 24625)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fffba3e2a8e in frame_worker_thread (arg=0x7fffcc08f468) at libavcodec/pthread_frame.c:175
#2 0x00007ffff70786ba in start_thread (arg=0x7fffaf6fe700) at pthread_create.c:333
#3 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 19 (Thread 0x7fffafeff700 (LWP 24624)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fffba3e2a8e in frame_worker_thread (arg=0x7fffcc08f2c0) at libavcodec/pthread_frame.c:175
#2 0x00007ffff70786ba in start_thread (arg=0x7fffafeff700) at pthread_create.c:333
#3 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 18 (Thread 0x7fffb0700700 (LWP 24623)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fffba3e2a8e in frame_worker_thread (arg=0x7fffcc08f118) at libavcodec/pthread_frame.c:175
#2 0x00007ffff70786ba in start_thread (arg=0x7fffb0700700) at pthread_create.c:333
#3 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 17 (Thread 0x7fffb0f01700 (LWP 24622)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fffba3e2a8e in frame_worker_thread (arg=0x7fffcc08ef70) at libavcodec/pthread_frame.c:175
#2 0x00007ffff70786ba in start_thread (arg=0x7fffb0f01700) at pthread_create.c:333
#3 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 16 (Thread 0x7fffb1702700 (LWP 24621)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fffba3e2a8e in frame_worker_thread (arg=0x7fffcc08edc8) at libavcodec/pthread_frame.c:175
#2 0x00007ffff70786ba in start_thread (arg=0x7fffb1702700) at pthread_create.c:333
#3 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 15 (Thread 0x7fffb1f03700 (LWP 24620)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fffba3e2a8e in frame_worker_thread (arg=0x7fffcc08ec20) at libavcodec/pthread_frame.c:175
#2 0x00007ffff70786ba in start_thread (arg=0x7fffb1f03700) at pthread_create.c:333
#3 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 14 (Thread 0x7fffbbfff700 (LWP 24619)):
#0 0x00007ffff6da270d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007fffdc0ae861 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2 0x00007fffdc09fe11 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3 0x00007fffdc0a04ae in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4 0x00007fffdc0a0560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5 0x00007fffdc0ae7a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6 0x00007fffc7bca078 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#7 0x00007ffff70786ba in start_thread (arg=0x7fffbbfff700) at pthread_create.c:333
#8 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 13 (Thread 0x7fffc5387700 (LWP 24618)):
#0 0x00007ffff7081c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff73178e7 in g_usleep (microseconds=50000) at gtimer.c:259
#2 0x00007fffc497c7ba in gst_xv_image_sink_event_thread (xvimagesink=0x7fffcc026bb0) at xvimagesink.c:585
#3 0x00007ffff7316146 in g_thread_proxy (data=0x66e370) at gthread.c:784
#4 0x00007ffff70786ba in start_thread (arg=0x7fffc5387700) at pthread_create.c:333
#5 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 11 (Thread 0x7fffdcf11700 (LWP 24616)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7fffc80160f8, mutex=0x7fffc80160e8) at gthread-posix.c:1395
#2 0x00007ffff5587591 in _gst_data_queue_wait_non_empty (queue=0x7fffc8016140) at gstdataqueue.c:554
#3 0x00007ffff5587993 in gst_data_queue_pop (queue=0x7fffc8016140, item=0x7fffdcf10da8) at gstdataqueue.c:596
#4 0x00007fffeef5a621 in gst_multi_queue_loop (pad=0x7fffc801abb0) at gstmultiqueue.c:1766
#5 0x00007ffff792302a in gst_task_func (task=0x7fffd800ea70) at gsttask.c:335
#6 0x00007ffff7924206 in default_func (tdata=0x7fffc8001420, pool=0x61a100) at gsttaskpool.c:69
#7 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#8 0x00007ffff7316146 in g_thread_proxy (data=0x67a280) at gthread.c:784
#9 0x00007ffff70786ba in start_thread (arg=0x7fffdcf11700) at pthread_create.c:333
#10 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 10 (Thread 0x7fffdd953700 (LWP 24615)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7fffd8006f88, mutex=0x7fffd8006f60) at gthread-posix.c:1395
#2 0x00007fffeef6597d in gst_queue_chain_buffer_or_list (pad=0x7fffcc02a970, parent=0x7fffd8006ce0, obj=0x7fffd4064850,
is_list=0) at gstqueue.c:1228
#3 0x00007fffeef6611c in gst_queue_chain (pad=0x7fffcc02a970, parent=0x7fffd8006ce0, buffer=0x7fffd4064850)
at gstqueue.c:1326
#4 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc02a970, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#5 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc01ac50, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#6 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc01ac50, buffer=0x7fffd4064850) at gstpad.c:4576
#7 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffcc2d82c0, parent=0x7fffd800b6c0, buffer=0x7fffd4064850)
at gstghostpad.c:127
#8 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc2d82c0, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#9 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc2d87a0, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#10 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc2d87a0, buffer=0x7fffd4064850) at gstpad.c:4576
#11 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffcc01b0f0, parent=0x7fffcc2d87a0, buffer=0x7fffd4064850)
at gstghostpad.c:127
#12 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc01b0f0, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#13 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc30d000, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#14 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc30d000, buffer=0x7fffd4064850) at gstpad.c:4576
#15 0x00007fff8fda8ba4 in gst_deinterlace_chain (pad=0x7fffcc30cdc0, parent=0x7fffcc320800, buf=0x7fffd4064850)
at gstdeinterlace.c:2095
#16 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc30cdc0, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#17 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc30cb80, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#18 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc30cb80, buffer=0x7fffd4064850) at gstpad.c:4576
#19 0x00007ffff5577588 in gst_base_transform_chain (pad=0x7fffcc30c940, parent=0x7fffcc311dc0, buffer=0x7fffd4064850)
at gstbasetransform.c:2312
#20 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc30c940, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#21 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc01aea0, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#22 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc01aea0, buffer=0x7fffd4064850) at gstpad.c:4576
#23 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffcc2d8530, parent=0x7fffd800b860, buffer=0x7fffd4064850)
at gstghostpad.c:127
#24 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc2d8530, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#25 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc30c700, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#26 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc30c700, buffer=0x7fffd4064850) at gstpad.c:4576
#27 0x00007ffff4671656 in gst_stream_synchronizer_sink_chain (pad=0x7fffcc30c4c0, parent=0x7e9780, buffer=0x7fffd4064850)
at gststreamsynchronizer.c:711
#28 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc30c4c0, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#29 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc01a560, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#30 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc01a560, buffer=0x7fffd4064850) at gstpad.c:4576
#31 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffe8043b30, parent=0x7ffff000e090, buffer=0x7fffd4064850)
at gstghostpad.c:127
#32 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe8043b30, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#33 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc02a2b0, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#34 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc02a2b0, buffer=0x7fffd4064850) at gstpad.c:4576
#35 0x00007fffeef51d08 in gst_selector_pad_chain (pad=0x7fffcc01e030, parent=0x7fffcc01c0a0, buf=0x7fffd4064850)
at gstinputselector.c:1131
#36 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffcc01e030, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#37 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffe80433e0, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#38 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffe80433e0, buffer=0x7fffd4064850) at gstpad.c:4576
#39 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffe8045ce0, parent=0x7fffe80433e0, buffer=0x7fffd4064850)
at gstghostpad.c:127
#40 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe8045ce0, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#41 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffe80480e0, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#42 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffe80480e0, buffer=0x7fffd4064850) at gstpad.c:4576
#43 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffe8044370, parent=0x7fffe80480e0, buffer=0x7fffd4064850)
at gstghostpad.c:127
#44 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe8044370, type=4112, data=0x7fffd4064850)
at gstpad.c:4205
#45 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffcc02a070, type=4112, data=0x7fffd4064850) at gstpad.c:4457
#46 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffcc02a070, buffer=0x7fffd4064850) at gstpad.c:4576
#47 0x00007ffff6808444 in gst_video_decoder_clip_and_push_buf (decoder=0x7fffcc07c7e0, buf=0x7fffd4064850)
at gstvideodecoder.c:3200
#48 0x00007ffff6806832 in gst_video_decoder_finish_frame (decoder=0x7fffcc07c7e0, frame=0x0) at gstvideodecoder.c:3055
#49 0x00007fffb9ff9d8b in gst_ffmpegviddec_video_frame (ffmpegdec=0x7fffcc07c7e0, data=0x7fffcc4df590 "", size=32632,
have_data=0x7fffdd951fc0, frame=0x7fffd46133e0, ret=0x7fffdd951fc4) at gstavviddec.c:1679
#50 0x00007fffb9ffa039 in gst_ffmpegviddec_frame (ffmpegdec=0x7fffcc07c7e0, data=0x7fffcc4df590 "", size=32632,
have_data=0x7fffdd951fc0, frame=0x7fffd46133e0, ret=0x7fffdd951fc4) at gstavviddec.c:1740
#51 0x00007fffb9ffac41 in gst_ffmpegviddec_handle_frame (decoder=0x7fffcc07c7e0, frame=0x7fffd46133e0)
at gstavviddec.c:1853
#52 0x00007ffff6809325 in gst_video_decoder_decode_frame (decoder=0x7fffcc07c7e0, frame=0x7fffd46133e0)
at gstvideodecoder.c:3410
#53 0x00007ffff6801135 in gst_video_decoder_chain_forward (decoder=0x7fffcc07c7e0, buf=0x7fffd46ee6b0, at_eos=0)
at gstvideodecoder.c:2137
#54 0x00007ffff68035d7 in gst_video_decoder_chain (pad=0x7fffc801bdb0, parent=0x7fffcc07c7e0, buf=0x7fffd46ee6b0)
at gstvideodecoder.c:2451
#55 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffc801bdb0, type=4112, data=0x7fffd46ee6b0)
at gstpad.c:4205
#56 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffc801a730, type=4112, data=0x7fffd46ee6b0) at gstpad.c:4457
#57 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffc801a730, buffer=0x7fffd46ee6b0) at gstpad.c:4576
#58 0x00007ffff5577588 in gst_base_transform_chain (pad=0x7fffc801a4f0, parent=0x7fffc80200f0, buffer=0x7fffd46ee6b0)
at gstbasetransform.c:2312
#59 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffc801a4f0, type=4112, data=0x7fffd46ee6b0)
at gstpad.c:4205
#60 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffc801a2b0, type=4112, data=0x7fffd46ee6b0) at gstpad.c:4457
#61 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffc801a2b0, buffer=0x7fffd46ee6b0) at gstpad.c:4576
#62 0x00007ffff554752a in gst_base_parse_push_frame (parse=0x7fffc8018990, frame=0x67a680) at gstbaseparse.c:2521
#63 0x00007ffff55463c3 in gst_base_parse_handle_and_push_frame (parse=0x7fffc8018990, frame=0x67a680)
at gstbaseparse.c:2338
#64 0x00007ffff5547e04 in gst_base_parse_finish_frame (parse=0x7fffc8018990, frame=0x67a680, size=32632)
at gstbaseparse.c:2679
#65 0x00007fffdcf232d0 in gst_h264_parse_handle_frame (parse=0x7fffc8018990, frame=0x67a680, skipsize=0x7fffdd952a3c)
at gsth264parse.c:1275
#66 0x00007ffff55455dc in gst_base_parse_handle_buffer (parse=0x7fffc8018990, buffer=0x7fffd44a9ac0,
skip=0x7fffdd952a3c, flushed=0x7fffdd952a40) at gstbaseparse.c:2146
#67 0x00007ffff554a9e4 in gst_base_parse_chain (pad=0x7fffc801a070, parent=0x7fffc8018990, buffer=0x7fffd470a3a0)
at gstbaseparse.c:3228
#68 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffc801a070, type=4112, data=0x7fffd470a3a0)
at gstpad.c:4205
#69 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffe818bd70, type=4112, data=0x7fffd470a3a0) at gstpad.c:4457
#70 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffe818bd70, buffer=0x7fffd470a3a0) at gstpad.c:4576
#71 0x00007fffeef5a02a in gst_single_queue_push_one (mq=0x7fffd00086f0, sq=0x7fffc8015750, object=0x7fffd470a3a0,
allow_drop=0x7fffdd952d90) at gstmultiqueue.c:1608
#72 0x00007fffeef5baf4 in gst_multi_queue_loop (pad=0x7fffe818bd70) at gstmultiqueue.c:1920
#73 0x00007ffff792302a in gst_task_func (task=0x7fffd800e710) at gsttask.c:335
#74 0x00007ffff7924206 in default_func (tdata=0x7fffc8001400, pool=0x61a100) at gsttaskpool.c:69
#75 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#76 0x00007ffff7316146 in g_thread_proxy (data=0x6769e0) at gthread.c:784
#77 0x00007ffff70786ba in start_thread (arg=0x7fffdd953700) at pthread_create.c:333
#78 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 9 (Thread 0x7fffde7fc700 (LWP 24614)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7fffc8016050, mutex=0x7fffc8016028) at gthread-posix.c:1395
#2 0x00007ffff5587332 in gst_data_queue_push (queue=0x7fffc8016080, item=0x7fffd4001600) at gstdataqueue.c:521
#3 0x00007fffeef5cac1 in gst_multi_queue_chain (pad=0x7fffe818bb30, parent=0x7fffd00086f0, buffer=0x7fffd46be9b0)
at gstmultiqueue.c:2109
#4 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe818bb30, type=4112, data=0x7fffd46be9b0)
at gstpad.c:4205
#5 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffe818b6b0, type=4112, data=0x7fffd46be9b0) at gstpad.c:4457
#6 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffe818b6b0, buffer=0x7fffd46be9b0) at gstpad.c:4576
#7 0x00007fffdddeed1a in gst_ts_demux_push_pending_data (demux=0x7fffd000e000, stream=0x7fffc8012e70,
target_program=0x0) at tsdemux.c:2756
#8 0x00007fffdddef246 in gst_ts_demux_handle_packet (demux=0x7fffd000e000, stream=0x7fffc8012e70,
packet=0x7fffde7fbae0, section=0x0) at tsdemux.c:2828
#9 0x00007fffdddef436 in gst_ts_demux_push (base=0x7fffd000e000, packet=0x7fffde7fbae0, section=0x0) at tsdemux.c:2897
#10 0x00007fffddddf3e0 in mpegts_base_chain (pad=0x7fffe818b230, parent=0x7fffd000e000, buf=0x7fffd44c37c0)
at mpegtsbase.c:1414
#11 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe818b230, type=4112, data=0x7fffd44c37c0)
at gstpad.c:4205
#12 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffe818aff0, type=4112, data=0x7fffd44c37c0) at gstpad.c:4457
#13 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffe818aff0, buffer=0x7fffd44c37c0) at gstpad.c:4576
#14 0x00007fffeef5a02a in gst_single_queue_push_one (mq=0x7fffd0008030, sq=0x7fffd0007b70, object=0x7fffd44c37c0,
allow_drop=0x7fffde7fbd90) at gstmultiqueue.c:1608
#15 0x00007fffeef5baf4 in gst_multi_queue_loop (pad=0x7fffe818aff0) at gstmultiqueue.c:1920
#16 0x00007ffff792302a in gst_task_func (task=0x7fffd800e170) at gsttask.c:335
#17 0x00007ffff7924206 in default_func (tdata=0x7fffd0001d70, pool=0x61a100) at gsttaskpool.c:69
#18 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#19 0x00007ffff7316146 in g_thread_proxy (data=0x611cf0) at gthread.c:784
#20 0x00007ffff70786ba in start_thread (arg=0x7fffde7fc700) at pthread_create.c:333
#21 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 8 (Thread 0x7fffdeffd700 (LWP 24613)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7fffd800ca10, mutex=0x7fffd800c9e8) at gthread-posix.c:1395
#2 0x00007ffff5587332 in gst_data_queue_push (queue=0x7fffd800ca40, item=0x7fffc0009ea0) at gstdataqueue.c:521
#3 0x00007fffeef5cac1 in gst_multi_queue_chain (pad=0x7fffe818adb0, parent=0x7fffd0008030, buffer=0x7fffd4761590)
at gstmultiqueue.c:2109
#4 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe818adb0, type=4112, data=0x7fffd4761590)
at gstpad.c:4205
#5 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7ffff0017b70, type=4112, data=0x7fffd4761590) at gstpad.c:4457
#6 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7ffff0017b70, buffer=0x7fffd4761590) at gstpad.c:4576
#7 0x00007fffec255b77 in gst_adaptive_demux_stream_push_buffer (stream=0x7fffe8188950, buffer=0x7fffd4761590)
at gstadaptivedemux.c:2354
#8 0x00007fffec46ee39 in gst_hls_demux_handle_buffer (demux=0x7fffe81821c0, stream=0x7fffe8188950,
buffer=0x7fffd4761590, at_eos=0) at gsthlsdemux.c:893
#9 0x00007fffec46f71b in gst_hls_demux_data_received (demux=0x7fffe81821c0, stream=0x7fffe8188950,
buffer=0x7fffd4621830) at gsthlsdemux.c:1004
#10 0x00007fffec25674e in _src_chain (pad=0x7fffe818ab70, parent=0x7fffe81821c0, buffer=0x7fffd4621830)
at gstadaptivedemux.c:2499
#11 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe818ab70, type=4112, data=0x7fffd4621830)
at gstpad.c:4205
#12 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffe8042a20, type=4112, data=0x7fffd4621830) at gstpad.c:4457
#13 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffe8042a20, buffer=0x7fffd4621830) at gstpad.c:4576
#14 0x00007ffff78c89a9 in gst_proxy_pad_chain_default (pad=0x7fffe8044a60, parent=0x7fffe8042a20, buffer=0x7fffd4621830)
at gstghostpad.c:127
#15 0x00007ffff78e6a6b in gst_pad_chain_data_unchecked (pad=0x7fffe8044a60, type=4112, data=0x7fffd4621830)
at gstpad.c:4205
#16 0x00007ffff78e7672 in gst_pad_push_data (pad=0x7fffe818a6f0, type=4112, data=0x7fffd4621830) at gstpad.c:4457
#17 0x00007ffff78e7dc6 in gst_pad_push (pad=0x7fffe818a6f0, buffer=0x7fffd4621830) at gstpad.c:4576
#18 0x00007fffeef66289 in gst_queue_push_one (queue=0x7fffd80060e0) at gstqueue.c:1365
#19 0x00007fffeef670dc in gst_queue_loop (pad=0x7fffe818a6f0) at gstqueue.c:1517
#20 0x00007ffff792302a in gst_task_func (task=0x7fffd800e3b0) at gsttask.c:335
#21 0x00007ffff7924206 in default_func (tdata=0x7fffd40041a0, pool=0x61a100) at gsttaskpool.c:69
#22 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#23 0x00007ffff7316146 in g_thread_proxy (data=0x7fffe817eb20) at gthread.c:784
#24 0x00007ffff70786ba in start_thread (arg=0x7fffdeffd700) at pthread_create.c:333
#25 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 7 (Thread 0x7fffdf7fe700 (LWP 24612)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7fffe8188a78, mutex=0x7fffe8188a70) at gthread-posix.c:1395
#2 0x00007fffec259272 in gst_adaptive_demux_stream_download_uri (demux=0x7fffe81821c0, stream=0x7fffe8188950,
uri=0x7fffd000b600 "http://10.9.44.116/issures/tencent_3/8.ts", start=0, end=-1, http_status=0x7fffdf7fdca0)
at gstadaptivedemux.c:3056
#3 0x00007fffec259e80 in gst_adaptive_demux_stream_download_fragment (stream=0x7fffe8188950) at gstadaptivedemux.c:3274
#4 0x00007fffec25bd82 in gst_adaptive_demux_stream_download_loop (stream=0x7fffe8188950) at gstadaptivedemux.c:3588
#5 0x00007ffff792302a in gst_task_func (task=0x7ffff002f950) at gsttask.c:335
#6 0x00007ffff7924206 in default_func (tdata=0x7ffff0002550, pool=0x61a100) at gsttaskpool.c:69
#7 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#8 0x00007ffff7316146 in g_thread_proxy (data=0x7fffe817ea30) at gthread.c:784
#9 0x00007ffff70786ba in start_thread (arg=0x7fffdf7fe700) at pthread_create.c:333
#10 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 6 (Thread 0x7fffdffff700 (LWP 24611)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7fffd800e530, mutex=0x7fffd800e4e8) at gthread-posix.c:1395
#2 0x00007ffff7922f53 in gst_task_func (task=0x7fffd800e4d0) at gsttask.c:320
#3 0x00007ffff7924206 in default_func (tdata=0x7fffd4004180, pool=0x61a100) at gsttaskpool.c:69
#4 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#5 0x00007ffff7316146 in g_thread_proxy (data=0x7fffe817e8a0) at gthread.c:784
#6 0x00007ffff70786ba in start_thread (arg=0x7fffdffff700) at pthread_create.c:333
#7 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 5 (Thread 0x7fffed094700 (LWP 24610)):
#0 0x00007ffff6da270d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff72f8db1 in g_poll (fds=0x7fffe40010c0, nfds=1, timeout=-1) at gpoll.c:124
#2 0x00007ffff72e6508 in g_main_context_poll (context=0x7fffe801a310, timeout=-1, priority=2147483647,
fds=0x7fffe40010c0, n_fds=1) at gmain.c:4359
#3 0x00007ffff72e5e87 in g_main_context_iterate (context=0x7fffe801a310, block=1, dispatch=1, self=0x7fffe8002990)
at gmain.c:4055
#4 0x00007ffff72e62ec in g_main_loop_run (loop=0x7fffe801a2a0) at gmain.c:4256
#5 0x00007fffef81ef11 in gdbus_shared_thread_func (user_data=0x7fffe801a2e0) at gdbusprivate.c:247
#6 0x00007ffff7316146 in g_thread_proxy (data=0x7fffe8002990) at gthread.c:784
#7 0x00007ffff70786ba in start_thread (arg=0x7fffed094700) at pthread_create.c:333
#8 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 4 (Thread 0x7fffed895700 (LWP 24609)):
#0 0x00007ffff6da270d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff72f8db1 in g_poll (fds=0x7fffe00008c0, nfds=1, timeout=-1) at gpoll.c:124
#2 0x00007ffff72e6508 in g_main_context_poll (context=0x7fffe8019b80, timeout=-1, priority=2147483647,
fds=0x7fffe00008c0, n_fds=1) at gmain.c:4359
#3 0x00007ffff72e5e87 in g_main_context_iterate (context=0x7fffe8019b80, block=1, dispatch=1, self=0x7fffe8002940)
at gmain.c:4055
#4 0x00007ffff72e5f8a in g_main_context_iteration (context=0x7fffe8019b80, may_block=1) at gmain.c:4121
#5 0x00007ffff72e7c43 in glib_worker_main (data=0x0) at gmain.c:5914
#6 0x00007ffff7316146 in g_thread_proxy (data=0x7fffe8002940) at gthread.c:784
#7 0x00007ffff70786ba in start_thread (arg=0x7fffed895700) at pthread_create.c:333
#8 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 3 (Thread 0x7fffee096700 (LWP 24608)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff733dfdf in g_cond_wait (cond=0x7ffff002f1d0, mutex=0x7ffff002f188) at gthread-posix.c:1395
#2 0x00007ffff7922f53 in gst_task_func (task=0x7ffff002f170) at gsttask.c:320
#3 0x00007ffff7924206 in default_func (tdata=0x7ffff0029d80, pool=0x61a100) at gsttaskpool.c:69
#4 0x00007ffff7316743 in g_thread_pool_thread_proxy (data=0x61cf60) at gthreadpool.c:307
#5 0x00007ffff7316146 in g_thread_proxy (data=0x7ffff000c590) at gthread.c:784
#6 0x00007ffff70786ba in start_thread (arg=0x7fffee096700) at pthread_create.c:333
#7 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 2 (Thread 0x7ffff5094700 (LWP 24607)):
#0 0x00007ffff6da270d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff72f8db1 in g_poll (fds=0x7ffff0014b70, nfds=2, timeout=283928) at gpoll.c:124
#2 0x00007ffff72e6508 in g_main_context_poll (context=0x7efe60, timeout=283928, priority=2147483647,
fds=0x7ffff0014b70, n_fds=2) at gmain.c:4359
#3 0x00007ffff72e5e87 in g_main_context_iterate (context=0x7efe60, block=1, dispatch=1, self=0x666cf0) at gmain.c:4055
#4 0x00007ffff72e62ec in g_main_loop_run (loop=0x62bf70) at gmain.c:4256
#5 0x00007ffff7bc6a2c in gst_player_main (data=0x7f0000) at gstplayer.c:2963
#6 0x00007ffff7316146 in g_thread_proxy (data=0x666cf0) at gthread.c:784
#7 0x00007ffff70786ba in start_thread (arg=0x7ffff5094700) at pthread_create.c:333
#8 0x00007ffff6dae3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 1 (Thread 0x7ffff7fbc740 (LWP 24603)):
#0 0x00007ffff6da270d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff72f8db1 in g_poll (fds=0x7efe40, nfds=2, timeout=47053) at gpoll.c:124
#2 0x00007ffff72e6508 in g_main_context_poll (context=0x60ab30, timeout=47053, priority=2147483647, fds=0x7efe40,
n_fds=2) at gmain.c:4359
#3 0x00007ffff72e5e87 in g_main_context_iterate (context=0x60ab30, block=1, dispatch=1, self=0x7ffff0002f50)
at gmain.c:4055
#4 0x00007ffff72e62ec in g_main_loop_run (loop=0x61c200) at gmain.c:4256
#5 0x0000000000401524 in main (argc=3, argv=0x7fffffffcbc8) at gst-play.c:197
---
If set to other locations, such as 100000, it's ok.
Attachment 359702, "Reproduce unit test code":
unit_test_seek_hangs.tar.bz2
Version: 1.12.2