[Bug 789126] New: [x264enc] x264enc plugin report double free corruption

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 18 02:43:54 UTC 2017


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

            Bug ID: 789126
           Summary: [x264enc]  x264enc plugin report double free
                    corruption
    Classification: Platform
           Product: GStreamer
           Version: 1.12.2
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-ugly
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: lyon.wang at nxp.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When I'm trying to use x264enc to encode a raw file by below command line:
gst-launch-1.0 filesrc location=1920x1080_input.yuv ! videoparse format=2
width=1920 height=1080 framerate=30/1 ! x264enc ! matroskamux ! filesink
location=x264enc_1920x1080.mkv

Though the output encoded file can be played, it will report "*** Error in
`/usr/bin/gst-launch-1.0': double free or corruption (!prev):
0x0000ffffb0037fc0 ***"  in the end.

Seems the backtrace show corruption is in libx264

Thread 1 "gst-launch-1.0" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at
/usr/src/debug/glibc/2.24-r0/git/sysdeps/unix/sysv/linux/raise.c:58
58    }
(gdb) bt
#0  __GI_raise (sig=sig at entry=6) at
/usr/src/debug/glibc/2.24-r0/git/sysdeps/unix/sysv/linux/raise.c:58
#1  0x0000ffffb7bf6da4 in __GI_abort () at
/usr/src/debug/glibc/2.24-r0/git/stdlib/abort.c:89
#2  0x0000ffffb7c2e5c8 in __libc_message (do_abort=do_abort at entry=2,
fmt=fmt at entry=0xffffb7cdf880 "*** Error in `%s': %s: 0x%s ***\n")
    at /usr/src/debug/glibc/2.24-r0/git/sysdeps/posix/libc_fatal.c:175
#3  0x0000ffffb7c34adc in malloc_printerr (action=3, str=0xffffb7cdf938 "double
free or corruption (!prev)", ptr=<optimized out>, ar_ptr=<optimized out>)
    at /usr/src/debug/glibc/2.24-r0/git/malloc/malloc.c:5046
#4  0x0000ffffb7c35378 in _int_free (av=0xffffb0000020, p=0xffffb0037fb0,
have_lock=0) at /usr/src/debug/glibc/2.24-r0/git/malloc/malloc.c:3902
#5  0x0000ffffb75a2c70 in x264_macroblock_thread_free () from
/usr/lib/libx264.so.144

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