Am Samstag, den 14.05.2011, 15:51 +0200 schrieb Vitor Sessak:
> On 05/14/2011 03:30 PM, Reinhard Tartler wrote:
> > Am Samstag, den 14.05.2011, 15:24 +0200 schrieb Mans Rullgard:
> >> Reinhard Tartler<[email protected]> wrote:
> >>
> >>> Am Samstag, den 14.05.2011, 14:45 +0200 schrieb Vitor Sessak:
> >>>> Like the FFT patch, not tested on real hardware yet (what can be done
> >>>
> >>>> with "fft-test -d -n 5 -s" and by decoding MP3)...
> >>>
> >>> Unfortunately, this patch breaks the mp3 related fate tests:
>
> Thanks for the testing, can you see if the attached patch (squashed for
> now) works?
Unfortunately, it still segfaults :-(
Core was generated by `/home/siretart/libav/libav/ffmpeg -v 0 -threads 1
-thread_type 3 -acodec mp3flo'.
Program terminated with signal 11, Segmentation fault.
#0 ff_dct32_float_avx () at libavcodec/x86/dct32_sse.asm:194
(gdb) bt full
#0 ff_dct32_float_avx () at libavcodec/x86/dct32_sse.asm:194
No locals.
#1 0x00000000006b90d5 in ff_mpa_synth_filter_float (s=0x321fc60,
samples=0x3227e00, buf=<value optimised out>, buf_size=<value optimised
out>) at libavcodec/mpegaudiodec_float.c:37
synth_buf = 0x32200e0
offset = <value optimised out>
#2 mp_decode_frame (s=0x321fc60, samples=0x3227e00, buf=<value
optimised out>, buf_size=<value optimised out>) at
libavcodec/mpegaudiodec.c:1923
i = <value optimised out>
nb_frames = 36
ch = <value optimised out>
samples_ptr = <value optimised out>
#3 0x00000000006b9c25 in decode_frame (avctx=0x31e4c40, data=0x3227e00,
data_size=0x7fff890dd468, avpkt=<value optimised out>) at
libavcodec/mpegaudiodec.c:1982
buf = 0x31e57a0 "\377\373T", <incomplete sequence \304>
buf_size = 192
s = 0x321fc60
out_size = <value optimised out>
out_samples = 0x3227e00
#4 0x00000000007826d8 in avcodec_decode_audio3 (avctx=0x31e4c40,
samples=<value optimised out>, frame_size_ptr=<value optimised out>,
avpkt=<value optimised out>) at libavcodec/utils.c:720
ret = <value optimised out>
#5 0x0000000000433dfb in output_packet (ist=<value optimised out>,
ist_index=0, ost_table=0x31ea980, nb_ostreams=1, pkt=<value optimised
out>) at ffmpeg.c:1472
data_buf = 0x31e57a0 "\377\373T", <incomplete sequence \304>
decoded_data_buf = 0x0
data_size = 192
decoded_data_size = 0
os = <value optimised out>
ost = <value optimised out>
ret = <value optimised out>
i = <value optimised out>
got_output = 0
picture = {data = {0x2b2524a6e828 "\020#@", 0x7 <Address 0x7 out
of bounds>, 0xb <Address 0xb out of bounds>, 0x2b2524a6e6e0 "\350\302o#%
+"}, linesize = {-427471993, 0, 592330059, 11045}, base = {0xb <Address
0xb out of bounds>, 0x39a152e <Address 0x39a152e out of bounds>, 0x7
<Address 0x7 out of bounds>, 0x7fff890dd3a0 "\377\377\377\377"},
key_frame = 609047168, pict_type = 11045, pts = 47438522834016,
coded_picture_number = 53, display_picture_number = 0, quality =
609086656, age = 11045, reference = 609046888, qscale_table =
0x2b25244d5c60 "", qstride = 24, mbskip_table = 0x2b25244de630 "\037H",
motion_val = {0x7fff890dd200, 0x0}, mb_type = 0x2b25236fc2e8,
motion_subsample_log2 = 0 '\000', opaque = 0x2b2524a6e798, error =
{47438520595680, 4203009, 47438522886144, 4196328}, type = 0,
repeat_pict = 1, qscale_type = 1540, interlaced_frame = 1,
top_field_first = 609101824, pan_scan = 0x400398, palette_has_changed =
594527808, buffer_hints = 11045, dct_coeff = 0x7fff890dd3e0, ref_index =
{0x2b2524a6e798 "\356\"@", 0x7fff890dd400 ""}, reordered_opaque =
47438508311272, hwaccel_picture_private = 0xe6854b87, pkt_pts =
47438506115052, pkt_dts = 0, owner = 0x2b2524a6e798, thread_opaque =
0x1}
buffer_to_free = <value optimised out>
samples_size = 192000
subtitle = {format = 0, start_display_time = 2147483648,
end_display_time = 52309536, num_rects = 0, rects = 0x0, pts =
140735492773248}
subtitle_to_free = 0x0
pkt_pts = <value optimised out>
frame_available = <value optimised out>
avpkt = {pts = 0, dts = 0, data = 0x31e57a0 "\377\373T",
<incomplete sequence \304>, size = 192, stream_index = 0, flags = 1,
side_data = 0x0, side_data_elems = 0, duration = 338688, destruct =
0x510530 <av_destruct_packet>, priv = 0x31e2e20, pos = 0,
convergence_duration = 0}
bps = 4
#6 0x000000000043695c in transcode (nb_output_files=1,
nb_input_files=1, stream_maps=0x0, nb_stream_maps=0,
input_files=0xce9b40, output_files=0xce9820) at ffmpeg.c:2570
ist_index = 0
pkt = {pts = 0, dts = 0, data = 0x31e57a0 "\377\373T",
<incomplete sequence \304>, size = 192, stream_index = 0, flags = 1,
side_data = 0x0, side_data_elems = 0, duration = 338688, destruct =
0x510530 <av_destruct_packet>, priv = 0x31e2e20, pos = 0,
convergence_duration = 0}
file_index = <value optimised out>
ipts_min = <value optimised out>
opts_min = <value optimised out>
ret = <value optimised out>
i = <value optimised out>
j = <value optimised out>
k = <value optimised out>
n = <value optimised out>
nb_istreams = 1
nb_ostreams = <value optimised out>
is = <value optimised out>
os = <value optimised out>
codec = <value optimised out>
icodec = <value optimised out>
ost = <value optimised out>
ost_table = 0x31ea980
ist = 0x31e27c0
ist_table = 0x31ff500
file_table = 0x31fd1a0
error = "\000\000G", '\000' <repeats 13 times>"\200, \336\r\211
\377\177\000\000@\000\000\000\000\000\000\000\001", '\000' <repeats 22
times>"\200, \350\302o#%+\000\000\377\377\377\377\000\000\000\000\210
\063G\000\000\000\000\000\001\374\000\000\000\000\000\000\300߅$%+\000
\000\000\000\000\000\000\000\000\000\300\000\000\000\000\000\000\000\n
\000\000\000\000\000\000\000\340\336\r\211\377\177\000\000\320\336\r\211
\377\177", '\000' <repeats 34 times>"\207, M\222\000\000\000\000\000\360
\336\r\211\377\177\000\000\000\337\r\211\377\177\000\000\000\337\r\211
\377\177\000\000\020\337\r\211\377\177\000\000P\000\000\000\000\000\000
\000\300\021\206$%+\000\000 \337\r\211\377\177\000\000\060\337\r\211\377
\177\000\000\237\256\223\000\000\000\000\000\365\361Z$%+\000\000\340~
\000\000\000\000\000\000\300\021\206$%+\000\000@}!\003\000\000\000\000
\251\vU$%+\000\000\320~\000\000\000\000\000\000"...
want_sdp = <value optimised out>
no_packet = '\000' <repeats 99 times>
no_packet_count = 0
#7 0x000000000043b545 in main (argc=<value optimised out>, argv=<value
optimised out>) at ffmpeg.c:4369
No locals.
(gdb)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel