[Bug 659836] New: Transcoding crash with new git master FAAC

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 22 08:46:22 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=659836
  GStreamer | gst-plugins-bad | unspecified

           Summary: Transcoding crash with new git master FAAC
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: Uraeus at linuxrising.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Transmageddon segfaults when trying to transcode the gravity.mpg clip from
gstreamer.freedesktop.org/media/large (works when testing with some other
files).
This happens with ffenc_aac, so only triggers with new FAAC plugin (ported to
new baseclass).

Will also upload a GST_DEBUG log, but gdb backtrace below:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xae1feb70 (LWP 8903)]
0x0057b931 in faacEncEncode () from /usr/lib/libfaac.so.0
(gdb) thread apply all bt

Thread 14 (Thread 0xae1feb70 (LWP 8903)):
#0  0x0057b931 in faacEncEncode () from /usr/lib/libfaac.so.0
#1  0x0053b1b7 in gst_faac_handle_frame (enc=0xaffc8178, in_buf=0xb015d6d8)
    at gstfaac.c:659
#2  0x0046a207 in gst_audio_encoder_push_buffers (enc=0xaffc8178, force=0)
    at gstaudioencoder.c:714
#3  0x0046c142 in gst_audio_encoder_chain (pad=0xb130cf08, 
    buffer=<optimized out>) at gstaudioencoder.c:907
#4  0x4b4212d8 in gst_pad_push (pad=0xaffc5190, buffer=0xb015d730)
    at gstpad.c:4712
#5  0x4b4ec8a2 in gst_base_transform_chain (pad=0xaffc5708, buffer=0xb015d380)
    at gstbasetransform.c:2559
#6  0x4b4212d8 in gst_pad_push (pad=0xb1001000, buffer=0xb015d380)
    at gstpad.c:4712
#7  0x4b4ec8a2 in gst_base_transform_chain (pad=0xaffc50c8, buffer=0xb015d380)
    at gstbasetransform.c:2559
#8  0x4b4212d8 in gst_pad_push (pad=0xaffc5640, buffer=0xb015d380)
    at gstpad.c:4712
#9  0x4b4ec8a2 in gst_base_transform_chain (pad=0xaffc5578, buffer=0xb015d380)
    at gstbasetransform.c:2559
#10 0x4b4212d8 in gst_pad_push (pad=0xaffc54b0, buffer=0xb015d380)
    at gstpad.c:4712
#11 0x008866e0 in gst_audio_rate_chain (pad=0xaffc53e8, buf=0xb015d380)
    at gstaudiorate.c:756
#12 0x4b4212d8 in gst_pad_push (pad=0xb10010c8, buffer=0xb015d380)
    at gstpad.c:4712
#13 0x0049c710 in gst_stream_splitter_chain (pad=0xaffb8588, buf=0xb015d380)
    at gststreamsplitter.c:128
#14 0x4b4212d8 in gst_pad_push (pad=0xaffb8718, buffer=0xb015d380)
    at gstpad.c:4712
#15 0x0033de92 in gst_queue_push_one (queue=0xb1310438) at gstqueue.c:1155
#16 gst_queue_loop (pad=0xaffb8718) at gstqueue.c:1263
#17 0x4b44c3a2 in gst_task_func (task=0xb13140e8) at gsttask.c:318
#18 0x4b44d669 in default_func (tdata=0x9e0d160, pool=0x99b9008)
    at gsttaskpool.c:70
#19 0x44d87b07 in ?? () from /lib/libglib-2.0.so.0
#20 0x44d85535 in ?? () from /lib/libglib-2.0.so.0
#21 0x44c70a2e in start_thread () from /lib/libpthread.so.0
#22 0x44bb634e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xae9ffb70 (LWP 8902)):
#0  0x00662416 in __kernel_vsyscall ()
#1  0x44c7414c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0033d536 in gst_queue_loop (pad=0xaffb8268) at gstqueue.c:1251
#3  0x4b44c3a2 in gst_task_func (task=0xb1314060) at gsttask.c:318
#4  0x4b44d669 in default_func (tdata=0xb1302b48, pool=0x99b9008)
    at gsttaskpool.c:70
#5  0x44d87b07 in ?? () from /lib/libglib-2.0.so.0
#6  0x44d85535 in ?? () from /lib/libglib-2.0.so.0
#7  0x44c70a2e in start_thread () from /lib/libpthread.so.0
#8  0x44bb634e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xafdd4b70 (LWP 8901)):
#0  0x00662416 in __kernel_vsyscall ()
#1  0x44c7414c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0033d536 in gst_queue_loop (pad=0xb010abe8) at gstqueue.c:1251
#3  0x4b44c3a2 in gst_task_func (task=0xb0113718) at gsttask.c:318
#4  0x4b44d669 in default_func (tdata=0xaea0ad10, pool=0x99b9008)
    at gsttaskpool.c:70
#5  0x44d87b07 in ?? () from /lib/libglib-2.0.so.0
#6  0x44d85535 in ?? () from /lib/libglib-2.0.so.0
#7  0x44c70a2e in start_thread () from /lib/libpthread.so.0
#8  0x44bb634e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb0afeb70 (LWP 8900)):
#0  0x00662416 in __kernel_vsyscall ()
#1  0x44c7414c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0033d536 in gst_queue_loop (pad=0xb010ad78) at gstqueue.c:1251
#3  0x4b44c3a2 in gst_task_func (task=0xb0113690) at gsttask.c:318
#4  0x4b44d669 in default_func (tdata=0xaea0ae08, pool=0x99b9008)
    at gsttaskpool.c:70
#5  0x44d87b07 in ?? () from /lib/libglib-2.0.so.0
#6  0x44d85535 in ?? () from /lib/libglib-2.0.so.0
#7  0x44c70a2e in start_thread () from /lib/libpthread.so.0
#8  0x44bb634e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb1cffb70 (LWP 8899)):
#0  0x00373143 in ?? () from /usr/lib/libmad.so.0
#1  0x003740a9 in ?? () from /usr/lib/libmad.so.0
#2  0x00374d2b in mad_synth_frame () from /usr/lib/libmad.so.0
#3  0x0036ae51 in gst_mad_chain (pad=0xaff06cc0, buffer=0xb013e378)
    at gstmad.c:1693
#4  0x4b4212d8 in gst_pad_push (pad=0xaff068d8, buffer=0xb013e378)
    at gstpad.c:4712
#5  0x4b4c5683 in gst_base_parse_push_frame (parse=0xb1d0d5a0, frame=
    0xb1d0db38) at gstbaseparse.c:1934
#6  0x4b4c6c36 in gst_base_parse_handle_and_push_frame (parse=0xb1d0d5a0, 
    klass=0x18e98d0, frame=0xb1d0db38) at gstbaseparse.c:1711
#7  0x4b4c7a90 in gst_base_parse_chain (pad=0xaff06810, buffer=0xb0133c18)
    at gstbaseparse.c:2359
#8  0x4b4212d8 in gst_pad_push (pad=0xb010f718, buffer=0xb0133c18)
    at gstpad.c:4712
#9  0x00339dca in gst_single_queue_push_one (object=0xb0133c18, sq=0xb1d04e78, 
    mq=0xb0110f00) at gstmultiqueue.c:1083
#10 gst_multi_queue_loop (pad=0xb010f718) at gstmultiqueue.c:1314
#11 0x4b44c3a2 in gst_task_func (task=0xb1314748) at gsttask.c:318
#12 0x4b44d669 in default_func (tdata=0x9e64810, pool=0x99b9008)
    at gsttaskpool.c:70
#13 0x44d87b07 in ?? () from /lib/libglib-2.0.so.0
#14 0x44d85535 in ?? () from /lib/libglib-2.0.so.0
#15 0x44c70a2e in start_thread () from /lib/libpthread.so.0
#16 0x44bb634e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xaf5d3b70 (LWP 8898)):
#0  0x44b4e809 in _int_malloc () from /lib/libc.so.6
#1  0x44b4fa92 in _int_realloc () from /lib/libc.so.6
#2  0x44b5124c in realloc () from /lib/libc.so.6
#3  0x44d63cc4 in ?? () from /lib/libglib-2.0.so.0
#4  0x44d645ba in g_realloc () from /lib/libglib-2.0.so.0
#5  0x44d2f075 in ?? () from /lib/libglib-2.0.so.0
#6  0x44d2f4e0 in g_array_append_vals () from /lib/libglib-2.0.so.0
#7  0x4b43e2b0 in gst_structure_set_field (structure=<optimized out>, field=
    0xaf5d1c18) at gststructure.c:811
#8  0x4b43feb0 in gst_structure_id_set_value_internal (value=0xaf5d1c6c, field=
   3607, structure=0xb100e398) at gststructure.c:435
#9  gst_structure_id_set_value (structure=0xb100e398, field=3607, value=
    0xaf5d1c6c) at gststructure.c:457
#10 0x4b440910 in gst_structure_intersect_field1 (id=3607, val1=0xaec4eb34, 
    data=0xaf5d1d08) at gststructure.c:2979
#11 0x4b440e42 in gst_structure_foreach (structure=0xb0e070c8, func=
    0x4b440880 <gst_structure_intersect_field1>, user_data=0xaf5d1d08)
    at gststructure.c:1097
#12 0x4b443a42 in gst_structure_intersect (struct1=0xb0e070c8, struct2=
    0xaff82090) at gststructure.c:3027
#13 0x4b3f3ee4 in gst_caps_intersect_first (caps2=0x9f03a60, caps1=0xb13043c0)
    at gstcaps.c:1380
#14 gst_caps_intersect_full (caps1=0xb13043c0, caps2=0x9f03a60, mode=
    GST_CAPS_INTERSECT_FIRST) at gstcaps.c:1411
#15 0x4b4e9978 in gst_base_transform_getcaps (pad=0x9e03990)
    at gstbasetransform.c:710
#16 0x4b417869 in gst_pad_get_caps_unlocked (pad=0x9e03990) at gstpad.c:2232
#17 0x4b41b48b in gst_pad_get_caps_reffed (pad=0x9e03990) at gstpad.c:2316
#18 0x4b41b702 in gst_pad_peer_get_caps_reffed (pad=0xaea06718)
    at gstpad.c:2383
#19 0x4b4e97b4 in gst_base_transform_getcaps (pad=0xaea06650)
    at gstbasetransform.c:683
#20 0x4b417869 in gst_pad_get_caps_unlocked (pad=0xaea06650) at gstpad.c:2232
#21 0x4b41b48b in gst_pad_get_caps_reffed (pad=0xaea06650) at gstpad.c:2316
#22 0x4b41b702 in gst_pad_peer_get_caps_reffed (pad=0xb130ce40)
    at gstpad.c:2383
#23 0x0049c2c6 in gst_stream_splitter_sink_getcaps (pad=0x9e03e40)
    at gststreamsplitter.c:272
#24 0x4b417869 in gst_pad_get_caps_unlocked (pad=0x9e03e40) at gstpad.c:2232
#25 0x4b41b48b in gst_pad_get_caps_reffed (pad=0x9e03e40) at gstpad.c:2316
#26 0x4b41bb4c in gst_pad_accept_caps (pad=0x9e03e40, caps=0xb010eba0)
    at gstpad.c:2618
#27 0x4b41bd6a in gst_pad_peer_accept_caps (pad=0xb010abe8, caps=0xb010eba0)
    at gstpad.c:2674
#28 0x0033ff60 in gst_queue_acceptcaps (pad=0xb010ab20, caps=0xb010eba0)
    at gstqueue.c:480
#29 0x4b41bae9 in gst_pad_accept_caps (pad=0xb010ab20, caps=0xb010eba0)
    at gstpad.c:2606
#30 0x4b408c2e in gst_proxy_pad_acceptcaps_default (pad=0xaea61018, caps=
    0xb010eba0) at gstghostpad.c:443
#31 0x4b41bae9 in gst_pad_accept_caps (pad=0xaea61018, caps=0xb010eba0)
    at gstpad.c:2606
#32 0x4b4e6a53 in gst_base_transform_find_transform (trans=0x9ef1d70, 
    pad=<optimized out>, caps=0xb010cc20) at gstbasetransform.c:1016
#33 0x4b4e8fdb in gst_base_transform_buffer_alloc (pad=0xaea061a0, offset=0, 
    size=126720, caps=0xb010cc20, buf=0xaf5d24cc) at gstbasetransform.c:1937
#34 0x4b41ca28 in gst_pad_buffer_alloc_unchecked (buf=0xaf5d24cc, caps=
    0xb010cc20, size=126720, offset=0, pad=0xaea061a0) at gstpad.c:3020
#35 gst_pad_alloc_buffer_full (pad=0xb010ae40, offset=0, size=126720, caps=
    0xb010cc20, buf=0xaf5d24cc, setcaps=0) at gstpad.c:3097
#36 0x4b4ebecd in gst_base_transform_prepare_output_buffer (out_buf=
    0xaf5d24cc, in_buf=0xaea57e28, trans=0x9f981b0) at gstbasetransform.c:1473
#37 gst_base_transform_handle_buffer (trans=0x9f981b0, inbuf=0xaea57e28, 
    outbuf=0xaf5d24cc) at gstbasetransform.c:2366
#38 0x4b4ec7c2 in gst_base_transform_chain (pad=0xb010f268, buffer=0xaea57e28)
    at gstbasetransform.c:2522
#39 0x4b41d566 in gst_pad_chain_data_unchecked (pad=0xb010f268, 
    is_buffer=<optimized out>, data=0xaea57e28, cache=0xaf5d2648)
    at gstpad.c:4271
#40 0x4b41de66 in gst_pad_push_data (pad=0xb010f588, is_buffer=1, data=
    0xaea57e28, cache=<optimized out>) at gstpad.c:4506
#41 0x4b421000 in gst_pad_push (pad=0xb010f588, buffer=0xaea57e28)
    at gstpad.c:4732
#42 0x005e198a in gst_deinterlace_chain (pad=0xaea06330, buf=0xaea57e28)
    at gstdeinterlace.c:2012
#43 0x4b41d566 in gst_pad_chain_data_unchecked (pad=0xaea06330, 
    is_buffer=<optimized out>, data=0xaea57e28, cache=0xaf5d28a8)
    at gstpad.c:4271
#44 0x4b41de66 in gst_pad_push_data (pad=0xb130ee70, is_buffer=1, data=
   0xaea57e28, cache=<optimized out>) at gstpad.c:4506
#45 0x4b421000 in gst_pad_push (pad=0xb130ee70, buffer=0xaea57e28)
    at gstpad.c:4732
#46 0x4b4091d5 in gst_proxy_pad_chain_default (pad=0xb1303900, buffer=
    0xaea57e28) at gstghostpad.c:272
#47 0x4b41d566 in gst_pad_chain_data_unchecked (pad=0xb1303900, 
    is_buffer=<optimized out>, data=0xaea57e28, cache=0xaf5d2a48)
    at gstpad.c:4271
#48 0x4b41de66 in gst_pad_push_data (pad=0xb01116e8, is_buffer=1, data=
    0xaea57e28, cache=<optimized out>) at gstpad.c:4506
#49 0x4b421000 in gst_pad_push (pad=0xb01116e8, buffer=0xaea57e28)
    at gstpad.c:4732
#50 0x4b4091d5 in gst_proxy_pad_chain_default (pad=0xb0111ec0, buffer=
    0xaea57e28) at gstghostpad.c:272
#51 0x4b41d566 in gst_pad_chain_data_unchecked (pad=0xb0111ec0, 
    is_buffer=<optimized out>, data=0xaea57e28, cache=0xaf5d2be8)
    at gstpad.c:4271
#52 0x4b41de66 in gst_pad_push_data (pad=0xb130c8c8, is_buffer=1, data=
    0xaea57e28, cache=<optimized out>) at gstpad.c:4506
#53 0x4b421000 in gst_pad_push (pad=0xb130c8c8, buffer=0xaea57e28)
    at gstpad.c:4732
#54 0x0052d562 in handle_slice (info=0xaec0a240, mpeg2dec=<optimized out>)
    at gstmpeg2dec.c:947
#55 gst_mpeg2dec_chain (pad=0xb130c800, buf=0xaea58370) at gstmpeg2dec.c:1136
#56 0x4b41d566 in gst_pad_chain_data_unchecked (pad=0xb130c800, 
    is_buffer=<optimized out>, data=0xaea58370, cache=0xaf5d2eb8)
    at gstpad.c:4271
#57 0x4b41de66 in gst_pad_push_data (pad=0x9e03800, is_buffer=1, data=
    0xaea58370, cache=<optimized out>) at gstpad.c:4506
#58 0x4b421000 in gst_pad_push (pad=0x9e03800, buffer=0xaea58370)
    at gstpad.c:4732
#59 0x4b4c5683 in gst_base_parse_push_frame (parse=0xb0115a48, frame=
    0xb0115de8) at gstbaseparse.c:1934
#60 0x4b4c6c36 in gst_base_parse_handle_and_push_frame (parse=0xb0115a48, 
    klass=0x1fd228a, frame=0xb0115de8) at gstbaseparse.c:1711
#61 0x4b4c7a90 in gst_base_parse_chain (pad=0xb010aa58, buffer=0xaea58000)
    at gstbaseparse.c:2359
#62 0x4b4212d8 in gst_pad_push (pad=0xb010a990, buffer=0xaea58000)
    at gstpad.c:4712
#63 0x00339dca in gst_single_queue_push_one (object=0xaea58000, sq=0xb1d03758, 
    mq=0xb0110f00) at gstmultiqueue.c:1083
#64 gst_multi_queue_loop (pad=0xb010a990) at gstmultiqueue.c:1314
#65 0x4b44c3a2 in gst_task_func (task=0xb13146c0) at gsttask.c:318
#66 0x4b44d669 in default_func (tdata=0x9e58c88, pool=0x99b9008)
    at gsttaskpool.c:70
#67 0x44d87b07 in ?? () from /lib/libglib-2.0.so.0
#68 0x44d85535 in ?? () from /lib/libglib-2.0.so.0
#69 0x44c70a2e in start_thread () from /lib/libpthread.so.0
#70 0x44bb634e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb2608b70 (LWP 8893)):
#0  0x00662416 in __kernel_vsyscall ()
#1  0x44c7414c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4b4f8ce0 in gst_data_queue_push (queue=0xaff01808, item=0xb01696e0)
    at gstdataqueue.c:436
#3  0x00338c6a in gst_multi_queue_chain (pad=0xaff06bf8, buffer=0xb01571b8)
    at gstmultiqueue.c:1390
#4  0x4b4212d8 in gst_pad_push (pad=0xaff06b30, buffer=0xb01571b8)
    at gstpad.c:4712
#5  0x00d66107 in gst_flups_demux_send_data (buf=0xb01571b8, stream=
    0xb1d01440, demux=0x9f96c00) at gstmpegdemux.c:566
#6  gst_flups_demux_data_cb (filter=0x9f96ca0, first=1, buffer=0xb0157160, 
    demux=0x9f96c00) at gstmpegdemux.c:2090
#7  0x00d80227 in gst_pes_filter_data_push (filter=0x9f96ca0, first=1, buffer=
    0xb0157160) at gstpesfilter.c:542
#8  0x00d810af in gst_pes_filter_parse (filter=<optimized out>)
    at gstpesfilter.c:475
#9  0x00d6dbf4 in gst_flups_demux_chain (pad=0xb010f4c0, buffer=0xb0145a80)
    at gstmpegdemux.c:2889
#10 0x00d70161 in gst_flups_demux_pull_block (size=32768, offset=327680, demux=
    0x9f96c00, pad=0xb010f4c0) at gstmpegdemux.c:2602
#11 gst_flups_demux_loop (pad=0xb010f4c0) at gstmpegdemux.c:2632
#12 0x4b44c3a2 in gst_task_func (task=0x9f5e980) at gsttask.c:318
#13 0x4b44d669 in default_func (tdata=0xaec02810, pool=0x99b9008)
    at gsttaskpool.c:70
#14 0x44d87b07 in ?? () from /lib/libglib-2.0.so.0
#15 0x44d85535 in ?? () from /lib/libglib-2.0.so.0
#16 0x44c70a2e in start_thread () from /lib/libpthread.so.0
#17 0x44bb634e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb76df6c0 (LWP 8880)):
#0  0x00662416 in __kernel_vsyscall ()
#1  0x44babc3e in poll () from /lib/libc.so.6
#2  0x44d6caac in g_poll () from /lib/libglib-2.0.so.0
#3  0x44d5dc36 in ?? () from /lib/libglib-2.0.so.0
#4  0x44d5e457 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x47f02f0f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x01165cee in ?? ()
   from /usr/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.so
#7  0x46f17dce in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#8  0x46f198a2 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#9  0x46f19a14 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#10 0x46f3377d in ?? () from /usr/lib/libpython2.7.so.1.0
#11 0x46f3474e in PyRun_FileExFlags () from /usr/lib/libpython2.7.so.1.0
#12 0x46f3533a in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.7.so.1.0
#13 0x46f3600c in PyRun_AnyFileExFlags () from /usr/lib/libpython2.7.so.1.0
#14 0x46f47484 in Py_Main () from /usr/lib/libpython2.7.so.1.0
#15 0x08048508 in main ()

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