[Bug 738285] playbin: Sequential playback of the file list does not work

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 22 06:16:39 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=738285
  GStreamer | gst-plugins-base | git

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #289013|none                        |needs-work
             status|                            |

--- Comment #38 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-10-22 13:16:33 UTC ---
(From update of attachment 289013)
While this looks good, it causes a deadlock in the playbin-complex test.

You can run it with
make elements/playbin-complex.check
in tests/check



Thread 26 (Thread 0x7fffed598700 (LWP 23773)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff69d44cc in g_cond_wait (cond=0x7ffff00122f0,
mutex=0x7ffff00122e0)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread-posix.c:1396
#2  0x00007ffff4b6d65f in gst_queue_loop (pad=<optimized out>) at
gstqueue.c:1299
#3  0x00007ffff6f49e17 in gst_task_func (task=0x7ffff00364d0) at gsttask.c:317
#4  0x00007ffff69b72b8 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthreadpool.c:307
#5  0x00007ffff69b6925 in g_thread_proxy (data=0x7fffe802ed90) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread.c:764
#6  0x00007ffff67310a4 in start_thread (arg=0x7fffed598700) at
pthread_create.c:309
#7  0x00007ffff6466c2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 25 (Thread 0x7fffee59a700 (LWP 23772)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff69d44cc in g_cond_wait (cond=0x7ffff000a528,
mutex=0x7ffff000a520)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread-posix.c:1396
#2  0x00007ffff4b6277f in gst_input_selector_wait_running_time (buf=<optimized
out>, sel=<optimized out>, selpad=<optimized out>)
    at gstinputselector.c:755
#3  gst_selector_pad_chain (pad=0x7ffff000c8c0, parent=<optimized out>,
buf=0x7ffff003e2d0) at gstinputselector.c:1018
#4  0x00007ffff6f1e439 in gst_pad_chain_data_unchecked (pad=0x7ffff000c8c0,
type=<optimized out>, data=<optimized out>)
    at gstpad.c:3836
#5  0x00007ffff6f1edd3 in gst_pad_push_data (pad=0x7fffe80209f0, type=4112,
data=<optimized out>) at gstpad.c:4069
#6  0x00007ffff6f0b694 in gst_proxy_pad_chain_default (pad=<optimized out>,
parent=<optimized out>, buffer=0x7ffff003e2d0)
    at gstghostpad.c:126
#7  0x00007ffff6f1e439 in gst_pad_chain_data_unchecked (pad=0x7fffe80096c0,
type=<optimized out>, data=<optimized out>)
    at gstpad.c:3836
#8  0x00007ffff6f1edd3 in gst_pad_push_data (pad=0x7ffff0006fe0, type=4112,
data=<optimized out>) at gstpad.c:4069
#9  0x00007ffff6f0b694 in gst_proxy_pad_chain_default (pad=<optimized out>,
parent=<optimized out>, buffer=0x7ffff003e2d0)
    at gstghostpad.c:126
#10 0x00007ffff6f1e439 in gst_pad_chain_data_unchecked (pad=0x7fffe4014290,
type=<optimized out>, data=<optimized out>)
    at gstpad.c:3836
#11 0x00007ffff6f1edd3 in gst_pad_push_data (pad=0x6a6130, type=4112,
data=<optimized out>) at gstpad.c:4069
#12 0x00007ffff4b68ba6 in gst_single_queue_push_one (mq=<optimized out>,
object=<optimized out>, sq=<optimized out>)
    at gstmultiqueue.c:1233
#13 gst_multi_queue_loop (pad=<optimized out>) at gstmultiqueue.c:1488
#14 0x00007ffff6f49e17 in gst_task_func (task=0x6c0dd0) at gsttask.c:317
#15 0x00007ffff69b72b8 in g_thread_pool_thread_proxy (data=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthreadpool.c:307
#16 0x00007ffff69b6925 in g_thread_proxy (data=0x7fffd8001c00) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread.c:764
#17 0x00007ffff67310a4 in start_thread (arg=0x7fffee59a700) at
pthread_create.c:309
#18 0x00007ffff6466c2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 24 (Thread 0x7fffedd99700 (LWP 23771)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff69d44cc in g_cond_wait (cond=0x7fffe0005708,
mutex=0x7fffe00056f8)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread-posix.c:1396
#2  0x00007ffff7716873 in _gst_data_queue_wait_non_empty (queue=<optimized
out>) at gstdataqueue.c:552
#3  gst_data_queue_pop (queue=0x7fffe0005750, item=0x7fffedd98e50) at
gstdataqueue.c:594
#4  0x00007ffff4b68260 in gst_multi_queue_loop (pad=<optimized out>) at
gstmultiqueue.c:1368
#5  0x00007ffff6f49e17 in gst_task_func (task=0x6c0cb0) at gsttask.c:317
#6  0x00007ffff69b72b8 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthreadpool.c:307
#7  0x00007ffff69b6925 in g_thread_proxy (data=0x7ffff00035e0) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread.c:764
#8  0x00007ffff67310a4 in start_thread (arg=0x7fffedd99700) at
pthread_create.c:309
#9  0x00007ffff6466c2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 23 (Thread 0x7ffff4b42700 (LWP 23770)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff69d44cc in g_cond_wait (cond=0x6c0f50, mutex=0x6c0f08)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread-posix.c:1396
#2  0x00007ffff6f49d38 in gst_task_func (task=0x6c0ef0) at gsttask.c:302
#3  0x00007ffff69b72b8 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthreadpool.c:307
#4  0x00007ffff69b6925 in g_thread_proxy (data=0x7ffff002c0a0) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread.c:764
#5  0x00007ffff67310a4 in start_thread (arg=0x7ffff4b42700) at
pthread_create.c:309
#6  0x00007ffff6466c2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fffef5d9700 (LWP 23751)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff69d45e7 in g_cond_wait_until (cond=cond at entry=0x625768,
mutex=mutex at entry=0x625760, 
    end_time=end_time at entry=103279749558) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread-posix.c:1443
#2  0x00007ffff6964a69 in g_async_queue_pop_intern_unlocked
(queue=queue at entry=0x625760, wait=wait at entry=1, 
    end_time=end_time at entry=103279749558) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gasyncqueue.c:422
#3  0x00007ffff696508b in g_async_queue_timeout_pop (queue=0x625760,
timeout=timeout at entry=15000000)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gasyncqueue.c:543
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff69b737c in g_thread_pool_wait_for_new_pool () at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthreadpool.c:167
#5  g_thread_pool_thread_proxy (data=<optimized out>) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthreadpool.c:364
#6  0x00007ffff69b6925 in g_thread_proxy (data=0x7fffe8002cf0) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread.c:764
#7  0x00007ffff67310a4 in start_thread (arg=0x7fffef5d9700) at
pthread_create.c:309
#8  0x00007ffff6466c2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffff7fc8700 (LWP 23731)):
#0  0x00007ffff645e0ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff698fee4 in g_main_context_poll (priority=2147483647, n_fds=2,
fds=0x6bdcb0, timeout=-1, context=0x6bdad0)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:4076
#2  g_main_context_iterate (context=0x6bdad0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:3776
#3  0x00007ffff6990272 in g_main_loop_run (loop=0x679100) at
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:3975
#4  0x00007ffff6ef036a in gst_bus_poll (bus=0x7fffe400f3b0, events=<optimized
out>, timeout=<optimized out>) at gstbus.c:1131
#5  0x00000000004066bc in test_raw_compressed_audio_stream_demuxer_manual_sink
(__i__=<optimized out>)
    at elements/playbin-complex.c:1791
#6  0x00007ffff74cbc9d in tcase_run_tfun_nofork (sr=0x66d770, tc=<optimized
out>, tfun=<optimized out>, i=<optimized out>)
    at check_run.c:314
#7  srunner_iterate_tcase_tfuns (sr=0x66d770, tc=<optimized out>) at
check_run.c:181
#8  srunner_run_tcase (sr=<optimized out>, tc=<optimized out>) at
check_run.c:302
#9  srunner_iterate_suites (print_mode=CK_SILENT, sr=<optimized out>) at
check_run.c:150
#10 srunner_run_all (sr=0x66d770, print_mode=<optimized out>) at
check_run.c:561
#11 0x00007ffff74c6111 in gst_check_run_suite (suite=<optimized out>,
name=<optimized out>, fname=<optimized out>)
    at gstcheck.c:824
#12 0x0000000000403128 in main (argc=<optimized out>, argv=<optimized out>) at
elements/playbin-complex.c:2800

-- 
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