[Bug 790007] New: decodebin2: Attempting to take a freed mutex

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 7 08:53:39 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=790007

            Bug ID: 790007
           Summary: decodebin2: Attempting to take a freed mutex
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bilboed at bilboed.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This is a race, but sometimes we end up trying to use a mutex which was already
freed.

Running command:
/mnt/scratch0/clusterfuzz/slave-bot/builds/clusterfuzz-builds_gstreamer_679d89211639450175bee2d209c1aefe68250fd9/revisions/gst-discoverer
-timeout=25 -rss_limit_mb=2048 -runs=100
/bb5f62e3925e1dd946f79d0faa3a47128fuzz-1-gstreamer_gst-discoverer
    INFO: Seed: 2327548772
    INFO: Loaded 1 modules   (75961 guards): 75961 [0x13dee68, 0x142914c),
   
/mnt/scratch0/clusterfuzz/slave-bot/builds/clusterfuzz-builds_gstreamer_679d89211639450175bee2d209c1aefe68250fd9/revisions/gst-discoverer:
Running 1 inputs 100 time(s) each.
    Running: /bb5f62e3925e1dd946f79d0faa3a47128fuzz-1-gstreamer_gst-discoverer
    GLib (gthread-posix.c): Unexpected error from C library during
'pthread_mutex_lock': Invalid argument.  Aborting.
    AddressSanitizer:DEADLYSIGNAL
    =================================================================
    ==1==ERROR: AddressSanitizer: ABRT on unknown address 0x000000000001 (pc
0x7f58a29c0428 bp 0x7f589d076d70 sp 0x7f589d076c28 T10)
    SCARINESS: 10 (signal)
    #0 0x7f58a29c0427 in gsignal
/build/glibc-9tT8Do/glibc-2.23/sysdeps/unix/sysv/linux/raise.c:54
    #1 0x7f58a29c2029 in abort /build/glibc-9tT8Do/glibc-2.23/stdlib/abort.c:89
    #2 0xadb7e0 in g_thread_abort /work/glib-2.54.2/glib/gthread-posix.c:78:3
    #3 0xadb6c3 in g_mutex_lock /work/glib-2.54.2/glib/gthread-posix.c:215:5
    #4 0x5fdedf in gst_decode_chain_free_internal
/src/gst-plugins-base/gst/playback/gstdecodebin2.c:3400:5
    #5 0x5fe659 in gst_decode_group_free_internal
/src/gst-plugins-base/gst/playback/gstdecodebin2.c:3560:5
    #6 0x60af61 in gst_decode_chain_free_hidden_groups
/src/gst-plugins-base/gst/playback/gstdecodebin2.c:3656:5
    #7 0xa9b187 in g_thread_proxy /work/glib-2.54.2/glib/gthread.c:784:20
    #8 0x7f58a2f716b9 in start_thread
    #9 0x7f58a2a9182c in clone
/build/glibc-9tT8Do/glibc-2.23/sysdeps/unix/sysv/linux/x86_64/clone.S:109


That thread is started by gst_decode_chain_start_free_hidden_groups_thread()

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