[gstreamer-bugs] [Bug 312901] New: Random linking/unlinking doesn't work

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Aug 8 08:26:02 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=312901
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: Random linking/unlinking doesn't work
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: rbultje at ronald.bitfreak.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Attached is a testcase that does random links/unlinks. The goal is to toggle
visualizations of an audio track in runtime, I can't get the testcase much
simpler than this. When playing, the toggle works, and pausing works, also. Now,
the problem comes when doing either together:

(start) - toggle off - play - toggle on:

hangs, with:

(gdb) thread apply all bt

Thread 6 (Thread -1210405968 (LWP 3187)):
#0  0x00159402 in ?? ()
#1  0x00d7a7b6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00674117 in gst_system_clock_async_thread (clock=0x940f178)
    at gstsystemclock.c:235
#3  0x00b68e9a in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#4  0x00d78b89 in start_thread () from /lib/libpthread.so.0
#5  0x00a8608e in clone () from /lib/libc.so.6

Thread 5 (Thread -1222145104 (LWP 3189)):
#0  0x00159402 in ?? ()
#1  0x00d7a7b6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0066f5eb in gst_queue_loop (pad=0x94054b0) at gstqueue.c:737
#3  0x0067789f in gst_task_func (task=0x9472548, tclass=0x9472480)
    at gsttask.c:126
#4  0x00b6ab5a in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
#5  0x00b68e9a in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#6  0x00d78b89 in start_thread () from /lib/libpthread.so.0
#7  0x00a8608e in clone () from /lib/libc.so.6

Thread 4 (Thread -1236829264 (LWP 3190)):
#0  0x00159402 in ?? ()
---Type <return> to continue, or q <return> to quit---
#1  0x00d7a7b6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x006779fb in gst_task_func (task=0x9484028, tclass=0x9472480)
    at gsttask.c:114
#3  0x00b6ab5a in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
#4  0x00b68e9a in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#5  0x00d78b89 in start_thread () from /lib/libpthread.so.0
#6  0x00a8608e in clone () from /lib/libc.so.6

Thread 3 (Thread -1247319120 (LWP 3191)):
#0  0x00159402 in ?? ()
#1  0x00d7d0cb in __write_nocancel () from /lib/libpthread.so.0
#2  0x0057f296 in gst_oss_sink_write (asink=0x940e298, data=0x950e228,
    length=1024) at gstosssink.c:335
#3  0x0056cd6c in audioringbuffer_thread_func (buf=0x9472298)
    at gstaudiosink.c:169
#4  0x00b68e9a in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#5  0x00d78b89 in start_thread () from /lib/libpthread.so.0
#6  0x00a8608e in clone () from /lib/libc.so.6

Thread 2 (Thread -1257808976 (LWP 3192)):
#0  0x00159402 in ?? ()
#1  0x00d7a7b6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0066f5eb in gst_queue_loop (pad=0x9410520) at gstqueue.c:737
---Type <return> to continue, or q <return> to quit---
#3  0x0067789f in gst_task_func (task=0x94bb198, tclass=0x9472480)
    at gsttask.c:126
#4  0x00b6ab5a in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
#5  0x00b68e9a in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#6  0x00d78b89 in start_thread () from /lib/libpthread.so.0
#7  0x00a8608e in clone () from /lib/libc.so.6

Thread 1 (Thread -1208280640 (LWP 3173)):
#0  0x00159402 in ?? ()
#1  0x00a7c11c in poll () from /lib/libc.so.6
#2  0x00b50248 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00b506e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0x080499c6 in main ()

or

(start) - play - pause - toggle off - play - pause - toggle on - play:

ERROR (0x9496330 - 0:00:23.524412000)        basesink( 3126)
gstbasesink.c(518):gst_base_sink_handle_object:<xvimagesink0> received buffer
without a discont

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list