[gstreamer-bugs] [Bug 314076] New: Playbin segfault when switching from READY to PAUSED state

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sun Aug 21 05:22:23 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=314076
 GStreamer | gst-plugins | Ver: 0.8.x

           Summary: Playbin segfault when switching from READY to PAUSED
                    state
           Product: GStreamer
           Version: 0.8.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: High
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: raphael at slinckx.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Steps to reproduce:
1. Modify the media filename in the test case
2. Compile using:
gcc $(pkg-config --libs --cflags gstreamer-0.8 ) gst-test.c -o gst-test
3. Run gst-test

I manage to crash it at attempt 3 most of he time, other people report 10 or 2à
attempts, while thomasvs didn't got any crash.

I think it's a race condition, given these random reproducability problems.

Stack trace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 24145)]
0xb7b49ef8 in IA__g_hash_table_destroy (hash_table=0x80ef858) at ghash.c:179
179         g_hash_nodes_destroy (hash_table->nodes[i],
(gdb) where
#0  0xb7b49ef8 in IA__g_hash_table_destroy (hash_table=0x80ef858)
    at ghash.c:179
#1  0xb783ab13 in gst_multifdsink_close (this=0x80ef560)
    at gstmultifdsink.c:1709
#2  0xb783acd4 in gst_multifdsink_change_state (element=0x80ef560)
    at gstmultifdsink.c:1742
#3  0xb7e65976 in gst_element_set_state_func (element=0x80ef560,
    state=GST_STATE_NULL) at gstelement.c:2872
#4  0xb7e6565c in gst_element_set_state (element=0x80ef560,
    state=GST_STATE_NULL) at gstelement.c:2815
#5  0xb7e53d25 in set_kid_state_func (bin=0x806eba8, child=0x80ef560,
    user_data=0xbf980ab0) at gstbin.c:841
#6  0xb7e53bd7 in gst_bin_foreach (bin=0x806eba8,
    func=0xb7e53c2f <set_kid_state_func>, data=0xbf980ab0) at gstbin.c:805
#7  0xb7e540dd in gst_bin_change_state (element=0x806eba8) at gstbin.c:903
#8  0xb7e65976 in gst_element_set_state_func (element=0x806eba8,
    state=GST_STATE_NULL) at gstelement.c:2872
#9  0xb7e54365 in gst_bin_set_state (element=0x806eba8, state=GST_STATE_NULL)
    at gstbin.c:950
#10 0xb7e6565c in gst_element_set_state (element=0x806eba8,
    state=GST_STATE_NULL) at gstelement.c:2815
#11 0xb788f02f in gst_play_bin_change_state (element=0x80e0d38)
    at gstplaybin.c:878
#12 0xb7e65976 in gst_element_set_state_func (element=0x80e0d38,
    state=GST_STATE_READY) at gstelement.c:2872
#13 0xb7e6565c in gst_element_set_state (element=0x80e0d38,
    state=GST_STATE_READY) at gstelement.c:2815
#14 0x08048c04 in tick ()
#15 0xb7b5ca5a in g_timeout_dispatch (source=0x8292e20,
    callback=0x8048b94 <tick>, user_data=0x8286c68) at gmain.c:3293
#16 0xb7b59c43 in g_main_dispatch (context=0x806c958) at gmain.c:1934
#17 0xb7b5aefd in IA__g_main_context_dispatch (context=0x806c958)
    at gmain.c:2484
#18 0xb7b5b3a8 in g_main_context_iterate (context=0x806c958, block=1,
    dispatch=1, self=0x804f5b0) at gmain.c:2565
#19 0xb7b5bb04 in IA__g_main_loop_run (loop=0x8285a30) at gmain.c:2769
#20 0xb7e4ec4f in gst_main () at gst.c:864
#21 0x08048e6b in main ()

Other information:
Valgrind's output: http://pastebin.ca/raw/20422

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