[gstreamer-bugs] [Bug 360197] New: ogg muxer locks up

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Oct 6 08:27:39 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=360197

  GStreamer | gst-plugins-base | Ver: 0.10.10

           Summary: ogg muxer locks up
           Product: GStreamer
           Version: 0.10.10
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thomas at apestaart.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


this happens in flumotion, I'm not sure if it is on shutdown, or because one of
the two encoded streams has stopped producing buffers.

locked in a mutex

(gdb) bt
#0  0x007f9402 in ?? ()
#1  0x44a02a5e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0x449ff2ff in _L_mutex_lock_71 () from /lib/libpthread.so.0
#3  0x449ff0de in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x442651c0 in g_static_rec_mutex_lock () from /usr/lib/libglib-2.0.so.0
#5  0x455b89b2 in gst_pad_stop_task (pad=0x8c438d8) at gstpad.c:4197
#6  0x453fdf4f in gst_base_src_deactivate (basesrc=Variable "basesrc" is not
available.
) at gstbasesrc.c:1831
#7  0x455c0524 in gst_pad_activate_push (pad=0x8c438d8, active=0)
    at gstpad.c:860
#8  0x455c0ae6 in gst_pad_set_active (pad=0x8c438d8, active=0) at gstpad.c:654
#9  0x455a966b in activate_pads (pad=0x8c438d8, ret=0xbffa62c8,
    active=0xbffa6328) at gstelement.c:2261
#10 0x455b52b7 in gst_iterator_fold (it=0x8c6cf20,
    func=0x455a9640 <activate_pads>, ret=0xbffa62c8, user_data=0xbffa6328)
    at gstiterator.c:503
#11 0x455a90e2 in iterator_activate_fold_with_resync (iter=0x8c6cf20,
    func=0x455a9640 <activate_pads>, user_data=0xbffa6328) at gstelement.c:2293
#12 0x455a917e in gst_element_pads_activate (element=0x8c4d010, active=0)
    at gstelement.c:2328
#13 0x455a9471 in gst_element_change_state_func (element=0x8c4d010,
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2413
#14 0x453fff5f in gst_base_src_change_state (element=0x8c4d010,
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbasesrc.c:1973
---Type <return> to continue, or q <return> to quit---
#15 0x455a5cfa in gst_element_change_state (element=0x8c4d010,
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2182
#16 0x455a5de2 in gst_element_change_state (element=0x8c4d010,
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstelement.c:2215
#17 0x455a8d26 in gst_element_set_state_func (element=0x8c4d010,
    state=GST_STATE_READY) at gstelement.c:2144
#18 0x455a4e83 in gst_element_set_state (element=0x8c4d010,
    state=GST_STATE_READY) at gstelement.c:2054
#19 0x00280bbd in pygst_exceptions_register_classes ()
   from /usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so
#20 0x4566dcfd in PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0
#21 0x456a8e2b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#22 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#23 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#24 0x4565b5be in PyClassMethod_New () from /usr/lib/libpython2.4.so.1.0
#25 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#26 0x456a6c48 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#27 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#28 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#29 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#30 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#31 0x4565b4ea in PyClassMethod_New () from /usr/lib/libpython2.4.so.1.0
#32 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
---Type <return> to continue, or q <return> to quit---
#33 0x456a2ebc in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.4.so.1.0
#34 0x4564410c in PyObject_CallObject () from /usr/lib/libpython2.4.so.1.0
#35 0x00e206c0 in initgobject ()
   from /usr/lib/python2.4/site-packages/gtk-2.0/gobject.so
#36 0x4426fc2d in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
#37 0x4424715d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0x4424a3ef in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#39 0x4424a799 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#40 0x00e2a8bc in initgobject ()
   from /usr/lib/python2.4/site-packages/gtk-2.0/gobject.so
#41 0x456a8b82 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#42 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#43 0x456a7b0b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#44 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#45 0x4565b5be in PyClassMethod_New () from /usr/lib/libpython2.4.so.1.0
#46 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#47 0x456a6c48 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#48 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#49 0x456a7b0b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#50 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#51 0x456a7b0b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#52 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
---Type <return> to continue, or q <return> to quit---
#53 0x456a97e3 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
#54 0x456c6548 in Py_CompileString () from /usr/lib/libpython2.4.so.1.0
#55 0x456c7c58 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.4.so.1.0
#56 0x456c833a in PyRun_AnyFileExFlags () from /usr/lib/libpython2.4.so.1.0
#57 0x456ced65 in Py_Main () from /usr/lib/libpython2.4.so.1.0
#58 0x080485b2 in main ()
(gdb) thread apply all bt

Thread 8 (Thread -1214489696 (LWP 24199)):
#0  0x007f9402 in ?? ()
#1  0x44a022fe in sem_wait at GLIBC_2.0 () from /lib/libpthread.so.0
#2  0x456cc9cb in PyThread_acquire_lock () from /usr/lib/libpython2.4.so.1.0
#3  0x456d092e in initthread () from /usr/lib/libpython2.4.so.1.0
#4  0x4566dd2d in PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0
#5  0x456a8e2b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#6  0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#7  0x456a7b0b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#8  0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#9  0x456a7b0b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#10 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#11 0x4565b5be in PyClassMethod_New () from /usr/lib/libpython2.4.so.1.0
#12 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#13 0x456a6c48 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#14 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#15 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#16 0x4565b4ea in PyClassMethod_New () from /usr/lib/libpython2.4.so.1.0
#17 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#18 0x45649b78 in PyClass_IsSubclass () from /usr/lib/libpython2.4.so.1.0
#19 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#20 0x456a2ebc in PyEval_CallObjectWithKeywords ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libpython2.4.so.1.0
#21 0x456d0d24 in initthread () from /usr/lib/libpython2.4.so.1.0
#22 0x449fd433 in start_thread () from /lib/libpthread.so.0
#23 0x44173a1e in clone () from /lib/libc.so.6

Thread 7 (Thread -1226581088 (LWP 24208)):
#0  0x007f9402 in ?? ()
#1  0x4416a440 in poll () from /lib/libc.so.6
#2  0x00a1dfbf in gst_fdset_wait (set=0x8c6ac00, timeout=-1) at gstfdset.c:523
#3  0x00a21cd9 in gst_multi_fd_sink_thread (sink=0x8c56000)
    at gstmultifdsink.c:2054
#4  0x442649ff in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5  0x449fd433 in start_thread () from /lib/libpthread.so.0
#6  0x44173a1e in clone () from /lib/libc.so.6

Thread 6 (Thread -1237070944 (LWP 24209)):
#0  0x007f9402 in ?? ()
#1  0x44a004d6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x005107cf in gst_queue_loop (pad=0x8c51060) at gstqueue.c:854
#3  0x455d43e6 in gst_task_func (task=0x8c6b800, tclass=0x8c6b520)
    at gsttask.c:192
#4  0x442663d8 in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#5  0x442649ff in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x449fd433 in start_thread () from /lib/libpthread.so.0
#7  0x44173a1e in clone () from /lib/libc.so.6

Thread 5 (Thread -1247560800 (LWP 24210)):
#0  0x007f9402 in ?? ()
#1  0x44a004d6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x45405df7 in gst_collect_pads_chain (pad=0x8c51420, buffer=0x8ca45b0)
    at gstcollectpads.c:1089
#3  0x455bc609 in gst_pad_chain_unchecked (pad=0x8c51420, buffer=0x8ca45b0)
    at gstpad.c:3344
#4  0x455bccfb in gst_pad_push (pad=0x8c43bd8, buffer=0x8ca45b0)
    at gstpad.c:3510
#5  0x00510e0e in gst_queue_loop (pad=0x8c43bd8) at gstqueue.c:779
#6  0x455d43e6 in gst_task_func (task=0x8c6b850, tclass=0x8c6b520)
    at gsttask.c:192
#7  0x442663d8 in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#8  0x442649ff in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#9  0x449fd433 in start_thread () from /lib/libpthread.so.0
#10 0x44173a1e in clone () from /lib/libc.so.6

Thread 4 (Thread -1258050656 (LWP 24211)):
#0  0x007f9402 in ?? ()
#1  0x44a004d6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x455d4511 in gst_task_func (task=0x8c6b8a0, tclass=0x8c6b520)
    at gsttask.c:180
#3  0x442663d8 in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#4  0x442649ff in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5  0x449fd433 in start_thread () from /lib/libpthread.so.0
#6  0x44173a1e in clone () from /lib/libc.so.6

Thread 3 (Thread -1268540512 (LWP 24212)):
#0  0x007f9402 in ?? ()
#1  0x44a004d6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x005132cf in gst_queue_chain (pad=0x8c43b18, buffer=0x8c9d598)
    at gstqueue.c:698
#3  0x455bc609 in gst_pad_chain_unchecked (pad=0x8c43b18, buffer=0x8c9d598)
    at gstpad.c:3344
#4  0x455bccfb in gst_pad_push (pad=0x8c43a58, buffer=0x8c9d598)
    at gstpad.c:3510
#5  0x00f1ddea in gst_gdp_depay_chain (pad=0x8c43998, buffer=0x8c6fca0)
    at gstgdpdepay.c:315
#6  0x455bc609 in gst_pad_chain_unchecked (pad=0x8c43998, buffer=0x8c6fca0)
    at gstpad.c:3344
#7  0x455bccfb in gst_pad_push (pad=0x8c438d8, buffer=0x8c6fca0)
    at gstpad.c:3510
#8  0x453fee66 in gst_base_src_loop (pad=0x8c438d8) at gstbasesrc.c:1529
---Type <return> to continue, or q <return> to quit---
#9  0x455d43e6 in gst_task_func (task=0x8c6b8f0, tclass=0x8c6b520)
    at gsttask.c:192
#10 0x442663d8 in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#11 0x442649ff in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#12 0x449fd433 in start_thread () from /lib/libpthread.so.0
#13 0x44173a1e in clone () from /lib/libc.so.6

Thread 2 (Thread -1289520224 (LWP 24216)):
#0  0x007f9402 in ?? ()
#1  0x44a004d6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x455cf678 in gst_system_clock_async_thread (clock=0x8c97808)
    at gstsystemclock.c:257
#3  0x442649ff in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#4  0x449fd433 in start_thread () from /lib/libpthread.so.0
#5  0x44173a1e in clone () from /lib/libc.so.6

Thread 1 (Thread -1208363328 (LWP 24174)):
#0  0x007f9402 in ?? ()
#1  0x44a02a5e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0x449ff2ff in _L_mutex_lock_71 () from /lib/libpthread.so.0
#3  0x449ff0de in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x442651c0 in g_static_rec_mutex_lock () from /usr/lib/libglib-2.0.so.0
#5  0x455b89b2 in gst_pad_stop_task (pad=0x8c438d8) at gstpad.c:4197
---Type <return> to continue, or q <return> to quit---
#6  0x453fdf4f in gst_base_src_deactivate (basesrc=Variable "basesrc" is not
available.
) at gstbasesrc.c:1831
#7  0x455c0524 in gst_pad_activate_push (pad=0x8c438d8, active=0)
    at gstpad.c:860
#8  0x455c0ae6 in gst_pad_set_active (pad=0x8c438d8, active=0) at gstpad.c:654
#9  0x455a966b in activate_pads (pad=0x8c438d8, ret=0xbffa62c8,
    active=0xbffa6328) at gstelement.c:2261
#10 0x455b52b7 in gst_iterator_fold (it=0x8c6cf20,
    func=0x455a9640 <activate_pads>, ret=0xbffa62c8, user_data=0xbffa6328)
    at gstiterator.c:503
#11 0x455a90e2 in iterator_activate_fold_with_resync (iter=0x8c6cf20,
    func=0x455a9640 <activate_pads>, user_data=0xbffa6328) at gstelement.c:2293
#12 0x455a917e in gst_element_pads_activate (element=0x8c4d010, active=0)
    at gstelement.c:2328
#13 0x455a9471 in gst_element_change_state_func (element=0x8c4d010,
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2413
#14 0x453fff5f in gst_base_src_change_state (element=0x8c4d010,
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbasesrc.c:1973
#15 0x455a5cfa in gst_element_change_state (element=0x8c4d010,
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2182
#16 0x455a5de2 in gst_element_change_state (element=0x8c4d010,
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstelement.c:2215
#17 0x455a8d26 in gst_element_set_state_func (element=0x8c4d010,
    state=GST_STATE_READY) at gstelement.c:2144
---Type <return> to continue, or q <return> to quit---
#18 0x455a4e83 in gst_element_set_state (element=0x8c4d010,
    state=GST_STATE_READY) at gstelement.c:2054
#19 0x00280bbd in pygst_exceptions_register_classes ()
   from /usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so
#20 0x4566dcfd in PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0
#21 0x456a8e2b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#22 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#23 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#24 0x4565b5be in PyClassMethod_New () from /usr/lib/libpython2.4.so.1.0
#25 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#26 0x456a6c48 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#27 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#28 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#29 0x456a88cc in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#30 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#31 0x4565b4ea in PyClassMethod_New () from /usr/lib/libpython2.4.so.1.0
#32 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#33 0x456a2ebc in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.4.so.1.0
#34 0x4564410c in PyObject_CallObject () from /usr/lib/libpython2.4.so.1.0
#35 0x00e206c0 in initgobject ()
   from /usr/lib/python2.4/site-packages/gtk-2.0/gobject.so
#36 0x4426fc2d in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#37 0x4424715d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0x4424a3ef in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#39 0x4424a799 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#40 0x00e2a8bc in initgobject ()
   from /usr/lib/python2.4/site-packages/gtk-2.0/gobject.so
#41 0x456a8b82 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#42 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#43 0x456a7b0b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#44 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#45 0x4565b5be in PyClassMethod_New () from /usr/lib/libpython2.4.so.1.0
#46 0x45643587 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#47 0x456a6c48 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#48 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#49 0x456a7b0b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#50 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#51 0x456a7b0b in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#52 0x456a9758 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#53 0x456a97e3 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
#54 0x456c6548 in Py_CompileString () from /usr/lib/libpython2.4.so.1.0
#55 0x456c7c58 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.4.so.1.0
#56 0x456c833a in PyRun_AnyFileExFlags () from /usr/lib/libpython2.4.so.1.0
#57 0x456ced65 in Py_Main () from /usr/lib/libpython2.4.so.1.0
#58 0x080485b2 in main ()
(gdb)


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list