[Bug 705018] New: flacenc segfault when trying to encode from alac decoded file

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 28 04:15:21 PDT 2013


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

           Summary: flacenc segfault when trying to encode from alac
                    decoded file
    Classification: Platform
           Product: GStreamer
           Version: 1.0.8
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: knuckles at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=250293)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=250293)
core dump after segfault

I've been trying to debug https://bugs.launchpad.net/soundconverter/+bug/913204
, and discovered that flacenc sometimes segfaults when the input for the encode
comes from an alac-encoded source.

Initially I thought that this happened with every alac file (it does from my
personal collection), but when searching for samples online most worked. I
finally found one who doesn't:
http://thesixteendigital.com.s3.amazonaws.com/testfiles/Hallelujah%20lossless.m4a
from
http://www.thesixteendigital.com/testfiles/

So I can "play" this file with
gst-launch-1.0 filesrc location="Hallelujah lossless.m4a" name=src ! decodebin
name=decoder ! audiorate ! audioconvert ! audioresample ! vorbisenc ! decodebin
! pulsesink
but when I try to play it with
gst-launch-1.0 filesrc location="Hallelujah lossless.m4a" name=src ! decodebin
name=decoder ! audiorate ! audioconvert ! audioresample ! flacenc ! decodebin !
pulsesink
(replacing vorbisenc with flacenv)

I immediately get
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

(gst-launch-1.0:17477): GStreamer-CRITICAL **: gst_structure_get: assertion
`GST_IS_STRUCTURE (structure)' failed

(gst-launch-1.0:17477): GStreamer-CRITICAL **: gst_structure_get_name:
assertion `structure != NULL' failed
Caught SIGSEGV accessing address 0x8
Spinning.  Please run 'gdb gst-launch- 1.0 17477' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.

I've tested this on Ubuntu 13.04 and 13.10 snapshot, with gstreamer versions
0.10.36, 1.0.6 and 1.0.8 and always get the same problem. Attached is a core
file from one of my runs.

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