After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339935 - [adder] dead-locks when adding sink pads in PAUSED state
[adder] dead-locks when adding sink pads in PAUSED state
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.4
Other Linux
: Normal major
: 0.10.8
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-27 16:06 UTC by Christian Prochnow
Modified: 2006-05-30 11:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Prochnow 2006-04-27 16:06:04 UTC
when adding a sink pad to the adder element of a pipeline that is in the PAUSED state, gstreamer deadlocks.

backtrace:

Thread 5 (Thread 1082132832 (LWP 27391))

  • #0 __lll_mutex_lock_wait
    from /lib/tls/libpthread.so.0
  • #1 ??
  • #2 pthread_mutex_lock
    from /lib/tls/libpthread.so.0
  • #3 g_thread_use_default_impl
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
  • #5 ??
  • #6 __malloc_initialize_hook
    from /lib/tls/libc.so.6
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 g_object_ref
    from /usr/lib/libgobject-2.0.so.0
  • #13 gst_object_ref
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 gst_collect_pads_add_pad
    from /usr/lib/libgstbase-0.10.so.0
  • #15 gst_adder_get_type
    from /usr/lib64/gstreamer-0.10/libgstadder.so
  • #16 gst_element_get_request_pad
    from /usr/lib/libgstreamer-0.10.so.0
  • #17 gst::Element::requestPad
    at /home/voltage/src/c_treamer/src/gst_element.cpp line 71
  • #18 StreamPipeline::add
    at /home/voltage/src/c_treamer/src/streampipeline.cpp line 175
  • #19 GStreamerPlayer::onTimer
    at /home/voltage/src/c_treamer/src/gstreamerplayer.cpp line 137
  • #20 GStreamerPlayer::timeoutCallback
    at /home/voltage/src/c_treamer/src/gstreamerplayer.cpp line 333
  • #21 g_main_context_wakeup
    from /usr/lib/libglib-2.0.so.0
  • #22 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #23 g_main_context_acquire
    from /usr/lib/libglib-2.0.so.0
  • #24 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #25 gst::MainLoop::run
    at /home/voltage/src/c_treamer/src/gst_mainloop.cpp line 37
  • #26 PlayerMainLoop::main
    at /home/voltage/src/c_treamer/src/gstreamerplayer.cpp line 39
  • #27 Thread::thread_entry
    at /home/voltage/src/c_treamer/src/thread.cpp line 42
  • #28 start_thread
    from /lib/tls/libpthread.so.0
  • #29 clone
    from /lib/tls/libc.so.6
  • #30 ??

Comment 1 Wim Taymans 2006-05-30 11:45:54 UTC
        * tests/check/elements/adder.c: (test_event_message_received),
        (test_play_twice_message_received), (GST_START_TEST),
        (adder_suite):
        Added check to show that #339935 is fixed with ongoing
        adder and collectpads fixes.