[Bug 707040] New: Segfault in avenc_g722

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Aug 29 04:27:38 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=707040
  GStreamer | gst-libav | git

           Summary: Segfault in avenc_g722
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-libav
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: wigert at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=253488)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=253488)
Mentioned code

My application is built like this pipeline:
filesrc | decodebin | avenc_g722 | rtpg722pay | udpsink

After playing a file, it goes to GST_STATE_READY, changes location of filesrc
and then plays again.

The first play works fine, and but the second results in segfault.

Stacktrace:

Thread [5] 8758 [core: 0] (Suspended : Signal : SIGSEGV:Segmentation fault)    
    gst_ffmpeg_audioinfo_to_context() at gstavcodecmap.c:2,507 0x7ffff3ec6d25   
    gst_ffmpegaudenc_set_format() at gstavaudenc.c:272 0x7ffff3ecb092    
    gst_audio_encoder_sink_setcaps() at gstaudioencoder.c:1,282 0x7ffff53eed8e  
    gst_audio_encoder_chain() at gstaudioencoder.c:1,055 0x7ffff5408589    
    gst_pad_chain_data_unchecked() at gstpad.c:3,711 0x7ffff75f65e0    
    gst_pad_push_data() at gstpad.c:3,941 0x7ffff75f65e0    
    gst_pad_push() at gstpad.c:4,044 0x7ffff75fd0c6    
    gst_proxy_pad_chain_default() at gstghostpad.c:128 0x7ffff75e712b    
    gst_pad_chain_data_unchecked() at gstpad.c:3,711 0x7ffff75f65e0    
    gst_pad_push_data() at gstpad.c:3,941 0x7ffff75f65e0    
    <...more frames...>    


This worked fine in 1.0.9.

Code to my program is attached. To run use the following commands:
setup ip port bind-port payload payload-as-string
play file
play file

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