[gstreamer-bugs] [Bug 348425] New: deadlock/hang in gst_system_clock_obtain

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Jul 23 09:24:50 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=348425
 GStreamer | gstreamer (core) | Ver: 0.10.9

           Summary: deadlock/hang in gst_system_clock_obtain
           Product: GStreamer
           Version: 0.10.9
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: zaheerabbas at merali.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I got a hang after stopping istanbul with a pipeline of:

oggmux name=mux ! filesink location=/tmp/tmpiw_0uR istximagesrc startx=119
starty=34 endx=710 endy=487 name=videosource ! video/x-raw-rgb,framerate=10/1 !
ffmpegcolorspace ! videoscale method=1 !
video/x-raw-yuv,width=592,height=454,framerate=10/1 ! theoraenc ! queue ! mux.
gconfaudiosrc name=audiosource ! audioconvert ! vorbisenc ! queue ! mux.

Stopping involves:
self._vsource.set_state(gst.STATE_NULL)
self._vsource.set_locked_state(True)
if self._asource:
    self._asource.set_state(gst.STATE_NULL)
    self._asource.set_locked_state(True)

This is hard to reproduce....
Backtrace follows:

(gdb) thread apply all bt

Thread 4 (Thread 1082132816 (LWP 13887)):
#0  0x00002aaaaadf6536 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaafcfa968 in gst_system_clock_obtain ()
   from /usr/lib/libgstreamer-0.10.so.0
#2  0x00002aaaababa044 in g_thread_create_proxy (data=0xa8bf40)
    at gthread.c:553
#3  0x00002aaaaadf30fa in start_thread () from /lib/libpthread.so.0
#4  0x00002aaaab31bf1e in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 1090525520 (LWP 13888)):
#0  0x00002aaaaadf6536 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaafcff730 in gst_task_set_lock ()
   from /usr/lib/libgstreamer-0.10.so.0
#2  0x00002aaaababb979 in g_thread_pool_thread_proxy (
    data=<value optimized out>) at gthreadpool.c:265
#3  0x00002aaaababa044 in g_thread_create_proxy (data=0xa94670)
    at gthread.c:553
#4  0x00002aaaaadf30fa in start_thread () from /lib/libpthread.so.0
#5  0x00002aaaab31bf1e in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 1098918224 (LWP 13889)):
#0  0x00002aaaaadf6536 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaafcff730 in gst_task_set_lock ()
   from /usr/lib/libgstreamer-0.10.so.0
#2  0x00002aaaababb979 in g_thread_pool_thread_proxy (
    data=<value optimized out>) at gthreadpool.c:265
#3  0x00002aaaababa044 in g_thread_create_proxy (data=0xa8e960)
    at gthread.c:553
#4  0x00002aaaaadf30fa in start_thread () from /lib/libpthread.so.0
#5  0x00002aaaab31bf1e in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 46912506482816 (LWP 13885)):
#0  0x00002aaaab314396 in poll () from /lib/libc.so.6
#1  0x00002aaaabaa0f5e in g_main_context_iterate (context=0x6225a0, block=1,
    dispatch=1, self=<value optimized out>) at gmain.c:2977
#2  0x00002aaaabaa13f6 in IA__g_main_loop_run (loop=0x90d660) at gmain.c:2879
#3  0x00002aaaacbc81a2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x00002aaaac8bc86d in init_gtk ()
   from /usr/lib64/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
---Type <return> to continue, or q <return> to quit---
#5  0x00002aaaaac54dba in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#6  0x00002aaaaac5878e in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#7  0x00002aaaaac5910b in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.4.so.1.0
#8  0x00002aaaaac59352 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
#9  0x00002aaaaac72d49 in PyErr_Display () from /usr/lib/libpython2.4.so.1.0
#10 0x00002aaaaac73dad in PyRun_SimpleFileExFlags ()
   from /usr/lib/libpython2.4.so.1.0
#11 0x00002aaaaac79f26 in Py_Main () from /usr/lib/libpython2.4.so.1.0
#12 0x00002aaaab27d134 in __libc_start_main () from /lib/libc.so.6
#13 0x0000000000400719 in _start ()
#0  0x00002aaaab314396 in poll () from /lib/libc.so.6


-- 
Configure bugmail: http://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