[Bug 687643] New: jpegenc crashed with certain input

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 5 05:50:19 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=687643
  GStreamer | gst-plugins-good | 0.10.36

           Summary: jpegenc crashed with certain input
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: wdouglass at redzone.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=228109)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=228109)
Jpeg that produces the issue.

I've created a .yuv dump of a jpeg using this pipeline:

gst-launch filesrc location=Foot\ Tat\ Han\ Solo.jpg ! jpegdec ! colorspace !
video/x-raw-yuv,format='(fourcc)'UYVY,width=768,height=1024,framerate='(fraction)'0/1
! filesink location=sample.yuv

Then, tried to re-encode it with this pipeline:

gst-launch filesrc location=sample.yuv !
video/x-raw-yuv,format='(fourcc)'UYVY,width=768,height=1024,framerate='(fraction)'0/1
! jpegenc ! filesink location=sample.jpeg

When i try this, jpegenc crashes (SIGSEGV). The backtrace from GDB is as
follows:

#0  gst_jpegenc_chain (pad=<optimized out>, buf=0x7fffec002040) at
gstjpegenc.c:626
#1  0x00007ffff7b50182 in gst_pad_chain_data_unchecked (cache=0x7ffff43d7bf0,
data=0x7fffec002040, is_buffer=1, pad=0x7ec180) at gstpad.c:4271
#2  gst_pad_push_data (pad=<optimized out>, is_buffer=1, data=0x7fffec002040,
cache=<optimized out>) at gstpad.c:4506
#3  0x00007ffff7b53ac6 in gst_pad_push (pad=0x7ec780, buffer=0x7fffec002040) at
gstpad.c:4730
#4  0x00007ffff4cf29ef in gst_base_transform_chain (pad=<optimized out>,
buffer=<optimized out>) at gstbasetransform.c:2674
#5  0x00007ffff7b50182 in gst_pad_chain_data_unchecked (cache=0x7ffff43d7d30,
data=0x7fffec002040, is_buffer=1, pad=0x7ec600) at gstpad.c:4271
#6  gst_pad_push_data (pad=<optimized out>, is_buffer=1, data=0x7fffec002040,
cache=<optimized out>) at gstpad.c:4506
#7  0x00007ffff7b53ac6 in gst_pad_push (pad=0x7ec000, buffer=0x7fffec002040) at
gstpad.c:4730
#8  0x00007ffff4cea43c in gst_base_src_loop (pad=0x7ec000) at gstbasesrc.c:2559
#9  0x00007ffff7b7ab24 in gst_task_func (task=0x7fd090) at gsttask.c:327
#10 0x00007ffff7415742 in g_thread_pool_thread_proxy (data=<optimized out>) at
/tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gthreadpool.c:309
#11 0x00007ffff7414f45 in g_thread_proxy (data=0x6136d0) at
/tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gthread.c:801
#12 0x00007ffff7192b50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#13 0x00007ffff6edd70d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

I'm using the debian testing (wheezy) packages. Thanks for looking into this;
i've attached a jpeg that produces this issue, but i've been able to produce it
with several different jpegs (from different sources/encoders)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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