[Bug 710215] New: segfault in gst-launch pipeline with audioiirfilter

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 15 23:07:00 CEST 2013


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

           Summary: segfault in gst-launch pipeline with audioiirfilter
    Classification: Platform
           Product: GStreamer
           Version: 1.0.10
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: djcb at djcbsoftware.nl
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


(segfault in gst-launch pipeline with audioiirfilter)

Playing with gst-launch, I found the following:

  $ gst-launch-1.0 filesrc location=test.mp3 ! decodebin ! audioconvert !
audioiirfilter  ! autoaudiosink

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Caught SIGSEGV accessing address (nil)
#0  0x0000003e524eb84d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003e558480f4 in g_main_context_poll (priority=2147483647, n_fds=2, 
#2  g_main_context_iterate (context=0xa17890, block=block at entry=1, 
#3  0x0000003e5584855a in g_main_loop_run (loop=0xa17990) at gmain.c:3895
#4  0x00007f22e75bd8c4 in gst_bus_poll (bus=bus at entry=0x9c8550, 
#5  0x0000000000404280 in event_loop (pipeline=0x8ca020, 
#6  0x00000000004034cc in main (argc=11, argv=0x7fff8166e028)
Spinning.  Please run 'gdb gst-launch- 1.0 30393' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
^C

Then, using gdb, this seems to be the guilty thread:

Thread 2 (Thread 0x7f4c3ffff700 (LWP 3817)):
---Type <return> to continue, or q <return> to quit---
#0  0x0000003e5300e80d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003e5586d728 in g_usleep (microseconds=microseconds at entry=1000000) at
gtimer.c:261
#2  0x00000000004050fa in fault_spin () at gst-launch.c:149
#3  fault_handler_sigaction (signum=<optimized out>, si=0x7f4c3fffd8b0,
misc=<optimized out>) at gst-launch.c:129
#4  <signal handler called>
#5  process (x0=<optimized out>, ctx=<optimized out>, filter=<optimized out>)
at audiofxbaseiirfilter.c:299
#6  process_32 (filter=0x920400, data=0x7f4c38002700, num_samples=<optimized
out>) at audiofxbaseiirfilter.c:350
#7  0x00007f4c52faabcd in gst_audio_fx_base_iir_filter_transform_ip
(base=0x920400, buf=0x7f4c4400b810)
    at audiofxbaseiirfilter.c:381
#8  0x00007f4c53f364e0 in gst_base_transform_handle_buffer
(trans=trans at entry=0x920400, 
    inbuf=inbuf at entry=0x7f4c4400b810, outbuf=outbuf at entry=0x7f4c3fffdee8) at
gstbasetransform.c:2064
#9  0x00007f4c53f36c21 in gst_base_transform_chain (pad=<optimized out>,
parent=0x920400, buffer=0x7f4c4400b810)
    at gstbasetransform.c:2176
#10 0x00007f4c5ad26eea in gst_pad_chain_data_unchecked (data=0x7f4c4400b810,
type=4112, pad=0x90abe0)
    at gstpad.c:3655
#11 gst_pad_push_data (pad=0x90a9b0, type=type at entry=4112, data=<optimized
out>) at gstpad.c:3872
#12 0x00007f4c5ad2d9d6 in gst_pad_push (pad=<optimized out>, buffer=<optimized
out>) at gstpad.c:3975
#13 0x00007f4c53f36e2b in gst_base_transform_chain (pad=<optimized out>,
parent=0x91c000, buffer=<optimized out>)
    at gstbasetransform.c:2212
#14 0x00007f4c5ad26eea in gst_pad_chain_data_unchecked (data=0x7f4c4400b700,
type=4112, pad=0x90a780)
    at gstpad.c:3655
#15 gst_pad_push_data (pad=pad at entry=0x7f4c400257b0, type=type at entry=4112,
data=<optimized out>, 
    data at entry=0x7f4c4400b700) at gstpad.c:3872
#16 0x00007f4c5ad2d9d6 in gst_pad_push (pad=pad at entry=0x7f4c400257b0,
buffer=buffer at entry=0x7f4c4400b700)
    at gstpad.c:3975
#17 0x00007f4c5ad19d8b in gst_proxy_pad_chain_default (pad=<optimized out>,
parent=<optimized out>, 
    buffer=0x7f4c4400b700) at gstghostpad.c:128
#18 0x00007f4c5ad26eea in gst_pad_chain_data_unchecked (data=0x7f4c4400b700,
type=4112, pad=0x919d50)
    at gstpad.c:3655
#19 gst_pad_push_data (pad=0x7f4c4401e720, type=type at entry=4112,
data=<optimized out>) at gstpad.c:3872
#20 0x00007f4c5ad2d9d6 in gst_pad_push (pad=<optimized out>, buffer=<optimized
out>) at gstpad.c:3975
#21 0x00007f4c5386599c in gst_audio_decoder_push_forward
(dec=dec at entry=0x7f4c380173e0, buf=0x7f4c4400b700)
    at gstaudiodecoder.c:827
#22 0x00007f4c53865c5e in gst_audio_decoder_output
(dec=dec at entry=0x7f4c380173e0, buf=<optimized out>, 
    buf at entry=0x7f4c4400b700) at gstaudiodecoder.c:903
---Type <return> to continue, or q <return> to quit---
#23 0x00007f4c5386a0c2 in gst_audio_decoder_finish_frame (dec=0x7f4c380173e0,
buf=0x7f4c4400b700, 
    frames=<optimized out>) at gstaudiodecoder.c:1126
#24 0x00007f4c4c5b4e25 in gst_mad_handle_frame (dec=0x7f4c380173e0, buffer=0x0)
at gstmad.c:478
#25 0x00007f4c53867423 in gst_audio_decoder_push_buffers
(dec=dec at entry=0x7f4c380173e0, force=force at entry=0)
    at gstaudiodecoder.c:1271
#26 0x00007f4c538677fb in gst_audio_decoder_chain_forward
(dec=dec at entry=0x7f4c380173e0, buffer=0x0, 
    buffer at entry=0x7f4c4400b5f0) at gstaudiodecoder.c:1374
#27 0x00007f4c538688d6 in gst_audio_decoder_chain (pad=<optimized out>,
parent=0x7f4c380173e0, 
    buffer=0x7f4c4400b5f0) at gstaudiodecoder.c:1635
#28 0x00007f4c5ad26eea in gst_pad_chain_data_unchecked (data=0x7f4c4400b5f0,
type=4112, pad=0x7f4c4401e4f0)
    at gstpad.c:3655
#29 gst_pad_push_data (pad=0x90bd60, type=type at entry=4112, data=<optimized
out>, data at entry=0x7f4c4400b5f0)
    at gstpad.c:3872
#30 0x00007f4c5ad2d9d6 in gst_pad_push (pad=<optimized out>,
buffer=buffer at entry=0x7f4c4400b5f0) at gstpad.c:3975
#31 0x00007f4c53f19fbf in gst_base_parse_push_frame
(parse=parse at entry=0x7f4c4400c8f0, 
    frame=frame at entry=0x777a80) at gstbaseparse.c:2146
#32 0x00007f4c53f1d7d3 in gst_base_parse_handle_and_push_frame (frame=0x777a80,
parse=0x7f4c4400c8f0)
    at gstbaseparse.c:1968
#33 gst_base_parse_finish_frame (parse=parse at entry=0x7f4c4400c8f0,
frame=frame at entry=0x777a80, 
    size=size at entry=626) at gstbaseparse.c:2272
#34 0x00007f4c4c7c85d2 in gst_mpeg_audio_parse_handle_frame
(parse=0x7f4c4400c8f0, frame=<optimized out>, 
    skipsize=<optimized out>) at gstmpegaudioparse.c:768
#35 0x00007f4c53f179a6 in gst_base_parse_handle_buffer
(parse=parse at entry=0x7f4c4400c8f0, 
    buffer=<optimized out>, skip=skip at entry=0x7f4c3fffed84,
flushed=flushed at entry=0x7f4c3fffed80)
    at gstbaseparse.c:1828
#36 0x00007f4c53f17f12 in gst_base_parse_scan_frame
(parse=parse at entry=0x7f4c4400c8f0, klass=0x7f4c4400c000)
    at gstbaseparse.c:2901
#37 0x00007f4c53f1bbf1 in gst_base_parse_loop (pad=<optimized out>) at
gstbaseparse.c:2970
#38 0x00007f4c5ad539d9 in gst_task_func (task=0x94dea0) at gsttask.c:316
#39 0x0000003e5586cb46 in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:309
#40 0x0000003e5586c185 in g_thread_proxy (data=0x7f4c40057f70) at gthread.c:798
#41 0x0000003e53007c53 in start_thread (arg=0x7f4c3ffff700) at
pthread_create.c:308
#42 0x0000003e524f5e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

I'm using gstreamer v1.0.10 on Fedora 19.

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