Andy Furniss wrote:
I compiled with -O0 but the backtraces are different - maybe there is
some randomness.
Remembered to attach them this time :-)
mplayer: vl/vl_vlc.h:172: vl_vlc_get_vlclbf: Assertion `tbl->length' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6c03a10 (LWP 26420)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt full
#0 0xffffe424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb6dc115a in raise () from /lib/libc.so.6
No symbol table info available.
#2 0xb6dc2787 in abort () from /lib/libc.so.6
No symbol table info available.
#3 0xb6dba69e in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#4 0xb5eafd61 in vl_vlc_get_vlclbf (vlc=0x9e921c8, tbl=0xb5f3d720,
num_bits=11) at vl/vl_vlc.h:172
__PRETTY_FUNCTION__ = "vl_vlc_get_vlclbf"
#5 0xb5eaf79d in decode_slice (bs=0x9e9216c, code=2) at
vl/vl_mpeg12_bitstream.c:829
inc = 0
mb = {base = {codec = PIPE_VIDEO_CODEC_MPEG12}, x = 92, y = 1,
macroblock_type = 10 '\n', macroblock_modes = {bits = {frame_motion_type = 2,
field_motion_type = 0, dct_type = 0}, value = 2}, motion_vertical_field_select
= 0 '\0', PMV = {{{0, 17}, {0, 0}}, {{0, 17}, {0, 0}}}, coded_block_pattern =
40,
blocks = 0xbfb0b624, num_skipped_macroblocks = 0}
dct_blocks = {0, 0, 0, 5, 0, 5, -5, 0 <repeats 57 times>, 5, 0 <repeats
319 times>}
dct_scale = 5
x = 92
__PRETTY_FUNCTION__ = "decode_slice"
#6 0xb5eaf1bc in vl_mpg12_bs_decode (bs=0x9e9216c, n=1, len=92477,
lens=0xbfb0ba00, buffer=0xbfb0ba20) at vl/vl_mpeg12_bitstream.c:982
code = 2
__PRETTY_FUNCTION__ = "vl_mpg12_bs_decode"
#7 0xb5eace48 in vl_mpeg12_decode_bitstream (decoder=0x9e91420,
target=0x9faa850, picture=0xbfb0ba68, n=1, total_len=92477, lens=0xbfb0ba00,
data=0xbfb0ba20) at vl/vl_mpeg12_decoder.c:702
dec = (struct vl_mpeg12_decoder *) 0x9e91420
buf = (struct vl_mpeg12_buffer *) 0x9e92114
i = 3
__PRETTY_FUNCTION__ = "vl_mpeg12_decode_bitstream"
#8 0xb5e40658 in vlVdpDecoderRender (decoder=9, target=17,
picture_info=0x8ae32f4, bitstream_buffer_count=1, bitstream_buffers=0x9fada58)
at decode.c:382
data = 0xbfb0ba20
sizes = 0xbfb0ba00
total_size = 92477
vldecoder = (vlVdpDecoder *) 0x9e621a8
vlsurf = (vlVdpSurface *) 0x9f53888
ret = VDP_STATUS_OK
dec = (struct pipe_video_decoder *) 0x9e91420
i = 1
desc = {base = {profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN}, mpeg12 =
{base = {profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN}, ref_forward = 0x9ef4fa0,
ref_backward = 0x0, picture_coding_type = 2, picture_structure = 3,
frame_pred_frame_dct = 1, q_scale_type = 1, alternate_scan = 0,
intra_vlc_format = 1,
concealment_motion_vectors = 0, intra_dc_precision = 2, f_code = {{5, 5},
{4, 3}}, top_field_first = 1, full_pel_forward_vector = 0,
full_pel_backward_vector = 0, num_slices = 35,
intra_matrix = 0x8ae330f
"\b\b\n\v\r\016\017\021\b\b\v\f\016\017\021\023\n\v\r\016\017\021\021\023\v\v\r\016\017\021\023\024\v\r\016\017\020\022\024\030\r\016\017\020\022\024\030\035\r\016\017\021\023\027\034#\016\017\022\023\027\034#*\b\t\t\n\n\v\v\f\t\t\n\n\v\v\f\f\t\n\n\v\v\f\f\r\n\n\v\v\f\f\r\016\n\v\v\f\r\r\016\016\v\v\f\f\r\016\016\017\v\f\f\r\016\016\017\020\f\f\r\016\016\017\020\021",
non_intra_matrix = 0x8ae334f
"\b\t\t\n\n\v\v\f\t\t\n\n\v\v\f\f\t\n\n\v\v\f\f\r\n\n\v\v\f\f\r\016\n\v\v\f\r\r\016\016\v\v\f\f\r\016\016\017\v\f\f\r\016\016\017\020\f\f\r\016\016\017\020\021"},
mpeg4 = {base = {
profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN}, ref_forward = 0x9ef4fa0,
ref_backward = 0x0, trd = {2, 3}, trb = {1, 1}, vop_time_increment_resolution =
0, vop_coding_type = 0 '\0', vop_fcode_forward = 0 '\0', vop_fcode_backward = 1
'\001', resync_marker_disable = 0 '\0', interlaced = 0 '\0', quant_type = 0
'\0',
quarter_sample = 0 '\0', short_video_header = 0 '\0', rounding_control = 0
'\0', alternate_vertical_scan_flag = 0 '\0', top_field_first = 2 '\002',
intra_matrix = 0x5 <Address 0x5 out of bounds>, non_intra_matrix = 0x5 <Address
0x5 out of bounds>}, vc1 = {base = {profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN},
ref_forward = 0x9ef4fa0, ref_backward = 0x0, slice_count = 2, picture_type
= 3 '\003', frame_coding_mode = 0 '\0', postprocflag = 0 '\0', pulldown = 0
'\0', interlace = 1 '\001', tfcntrflag = 0 '\0', finterpflag = 0 '\0', psf = 0
'\0', dquant = 1 '\001', panscan_flag = 0 '\0', refdist_flag = 0 '\0',
quantizer = 0 '\0', extended_mv = 0 '\0', extended_dmv = 0 '\0', overlap =
0 '\0', vstransform = 0 '\0', loopfilter = 1 '\001', fastuvmc = 0 '\0',
range_mapy_flag = 0 '\0', range_mapy = 0 '\0', range_mapuv_flag = 0 '\0',
range_mapuv = 0 '\0', multires = 0 '\0', syncmarker = 0 '\0', rangered = 2
'\002',
maxbframes = 0 '\0', deblockEnable = 0 '\0', pquant = 0 '\0'}}
#9 0x080f9855 in draw_slice (image=0xbfb0bb5c, stride=0xbfb0bb4c, w=720,
h=576, x=0, y=0) at libvo/vo_vdpau.c:995
vdp_st = <value optimized out>
rndr = (struct vdpau_render_state *) 0x8ae32e0
max_refs = 2
#10 0x08216c16 in draw_slice (s=0x9e60380, src=0x9fb98c0, offset=0xbfb0bbcc,
y=0, type=3, height=576) at libmpcodecs/vd_ffmpeg.c:471
sh = (sh_video_t *) 0x9d3a8c0
source = {0x8ae32e0 "\021", 0x0, 0x0, 0x0}
strides = {0, 0, 0, 0}
#11 0x085be638 in ff_draw_horiz_band (s=0x9e70a70, y=0, h=576) at
libavcodec/mpegvideo.c:2377
src = (AVFrame *) 0x9fb98c0
offset = {0, 0, 0, 0}
field_pic = 0
#12 0x08694b6a in ff_vdpau_mpeg_picture_complete (s=0x9e70a70, buf=0xb60c2008
"", buf_size=92477, slice_count=35) at libavcodec/vdpau.c:246
last = <value optimized out>
i = <value optimized out>
__PRETTY_FUNCTION__ = "ff_vdpau_mpeg_picture_complete"
#13 0x08592ff1 in decode_chunks (avctx=0x9e60380, picture=0x9e60270,
data_size=0xbfb0bed4, buf=0xb60c2008 "", buf_size=92477) at
libavcodec/mpeg12.c:2309
i = <value optimized out>
start_code = 879125286
s = (Mpeg1Context *) 0x9e70a70
s2 = <value optimized out>
buf_ptr = (const uint8_t *) 0xb60d8945 ""
buf_end = (const uint8_t *) 0xb60d8945 ""
ret = <value optimized out>
input_size = 1092
last_code = 257
#14 0x085934a3 in mpeg_decode_frame (avctx=0x9e60380, data=0x9e60270,
data_size=0xbfb0bed4, avpkt=0xbfb0be78) at libavcodec/mpeg12.c:2279
buf = (const uint8_t *) 0xb60c2008 ""
buf_size = 92477
s = (Mpeg1Context *) 0x9e70a70
picture = (AVFrame *) 0x6
#15 0x086705fe in avcodec_decode_video2 (avctx=0x9e60380, picture=0x9e60270,
got_picture_ptr=0xbfb0bed4, avpkt=0xbfb0be78) at libavcodec/utils.c:819
ret = -1
#16 0x08215e94 in decode (sh=0x9d3a8c0, data=0xb60c2008, len=92477, flags=0) at
libmpcodecs/vd_ffmpeg.c:800
got_picture = 0
ret = <value optimized out>
---Type <return> to continue, or q <return> to quit---
ctx = (vd_ffmpeg_ctx *) 0x9e601a0
pic = (AVFrame *) 0x9e60270
avctx = (AVCodecContext *) 0x9e60380
mpi = (mp_image_t *) 0x0
dr1 = <value optimized out>
pkt = {pts = -9223372036854775808, dts = -9223372036854775808, data =
0xb60c2008 "", size = 92477, stream_index = 0, flags = 1, side_data = 0x0,
side_data_elems = 0, duration = 0, destruct = 0, priv = 0xc0040000, pos = -1,
convergence_duration = 0}
fvstats = (FILE *) 0x0
all_len = 0
frame_number = 0
all_frametime = 0
#17 0x08144a5a in decode_video (sh_video=0x9d3a8c0, start=0xb60c2008 "",
in_size=92477, drop_frame=0, pts=0.039999999105930328, full_frame=0xbfb0bfac)
at libmpcodecs/dec_video.c:393
mpi = <value optimized out>
t = 3919833177
t2 = <value optimized out>
delay = <value optimized out>
got_picture = <value optimized out>
#18 0x080cb743 in update_video (blit_frame=0xbfb0d114) at mplayer.c:2437
in_size = 92477
start = (unsigned char *) 0xb60c2008 ""
decoded_frame = (void *) 0x0
drop_frame = 0
full_frame = 1
sh_video = (sh_video_t * const) 0x9d3a8c0
frame_time = 0
#19 0x080cf96c in main (argc=8, argv=0xbfb0d1e4) at mplayer.c:3721
frame_time = 0.039999999105930328
frame_time_remaining = <value optimized out>
blit_frame = 0
aq_sleep_time = 0.0265208278
opt_exit = <value optimized out>
profile_config_loaded = <value optimized out>
i = 0
last_heartbeat = 0
mplayer: vl/vl_vlc.h:135: vl_vlc_eatbits: Assertion `vlc->valid_bits >=
num_bits' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6bbca10 (LWP 26390)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt full
#0 0xffffe424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb6d7a15a in raise () from /lib/libc.so.6
No symbol table info available.
#2 0xb6d7b787 in abort () from /lib/libc.so.6
No symbol table info available.
#3 0xb6d7369e in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#4 0xb6669733 in vl_vlc_eatbits (vlc=0x9c9a094, num_bits=2) at vl/vl_vlc.h:135
__PRETTY_FUNCTION__ = "vl_vlc_eatbits"
#5 0xb6668d2d in vl_vlc_get_vlclbf (vlc=0x9c9a094, tbl=0xb66f9460,
num_bits=10) at vl/vl_vlc.h:171
__PRETTY_FUNCTION__ = "vl_vlc_get_vlclbf"
#6 0xb6669487 in decode_dct (bs=0x9c9a038, mb=0xbfaaba04, scale=80) at
vl/vl_mpeg12_bitstream.c:750
cc = 2
size = 0
intra = true
table = (const struct dct_coeff *) 0xb67f9c60
entry = (const struct dct_coeff *) 0xb67f9c60
i = 0
cbp = 32
blk = 5
dst = (short int *) 0xbfaab984
blk2cc = {0, 0, 0, 0, 1, 2}
blk2dcsize = {0xb66f8c60, 0xb66f8c60, 0xb66f8c60, 0xb66f8c60,
0xb66f9460, 0xb66f9460}
#7 0xb6668c72 in decode_slice (bs=0x9c9a038, code=8) at
vl/vl_mpeg12_bitstream.c:928
inc = 1
mb = {base = {codec = PIPE_VIDEO_CODEC_MPEG12}, x = 37, y = 7,
macroblock_type = 16 '\020', macroblock_modes = {bits = {frame_motion_type = 0,
field_motion_type = 0, dct_type = 0}, value = 0}, motion_vertical_field_select
= 0 '\0', PMV = {{{0, 0}, {0, 0}}, {{0, 0}, {0, 0}}}, coded_block_pattern = 63,
blocks = 0xbfaab704, num_skipped_macroblocks = 0}
dct_blocks = {-224, 0 <repeats 63 times>, -224, 0 <repeats 63 times>,
-224, 0 <repeats 63 times>, -224, 0 <repeats 191 times>}
dct_scale = 80
x = 37
__PRETTY_FUNCTION__ = "decode_slice"
#8 0xb66681bc in vl_mpg12_bs_decode (bs=0x9c9a038, n=1, len=2012,
lens=0xbfaabae0, buffer=0xbfaabb00) at vl/vl_mpeg12_bitstream.c:982
code = 8
__PRETTY_FUNCTION__ = "vl_mpg12_bs_decode"
#9 0xb6665e48 in vl_mpeg12_decode_bitstream (decoder=0x9c99828,
target=0x9d77470, picture=0xbfaabb48, n=1, total_len=2012, lens=0xbfaabae0,
data=0xbfaabb00) at vl/vl_mpeg12_decoder.c:702
dec = (struct vl_mpeg12_decoder *) 0x9c99828
buf = (struct vl_mpeg12_buffer *) 0x9c99fe0
i = 3
__PRETTY_FUNCTION__ = "vl_mpeg12_decode_bitstream"
#10 0xb65f9658 in vlVdpDecoderRender (decoder=9, target=17,
picture_info=0x8ae32f4, bitstream_buffer_count=1, bitstream_buffers=0x9d7a5d8)
at decode.c:382
data = 0xbfaabb00
sizes = 0xbfaabae0
total_size = 2012
vldecoder = (vlVdpDecoder *) 0x9b16b60
vlsurf = (vlVdpSurface *) 0x9cf8c18
ret = VDP_STATUS_OK
dec = (struct pipe_video_decoder *) 0x9c99828
i = 1
desc = {base = {profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN}, mpeg12 =
{base = {profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN}, ref_forward = 0x0,
ref_backward = 0x0, picture_coding_type = 1, picture_structure = 3,
frame_pred_frame_dct = 0, q_scale_type = 1, alternate_scan = 1,
intra_vlc_format = 1,
concealment_motion_vectors = 0, intra_dc_precision = 1, f_code = {{14, 14},
{14, 14}}, top_field_first = 0, full_pel_forward_vector = 0,
full_pel_backward_vector = 0, num_slices = 8,
intra_matrix = 0x8ae330f
"\b\020\023\026\032\033\035\"\020\020\026\030\033\035\"%\023\026\032\033\035\"\"&\026\026\032\033\035\"%(\026\032\033\035
#(0\032\033\035 #(0:\032\033\035\"&.8E\033\035#&.8ES", '\020' <repeats 64
times>, non_intra_matrix = 0x8ae334f '\020' <repeats 64 times>}, mpeg4 = {base
= {
profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN}, ref_forward = 0x0, ref_backward
= 0x0, trd = {1, 3}, trb = {0, 1}, vop_time_increment_resolution = 1,
vop_coding_type = 0 '\0', vop_fcode_forward = 0 '\0', vop_fcode_backward = 1
'\001', resync_marker_disable = 0 '\0', interlaced = 0 '\0', quant_type = 0
'\0',
quarter_sample = 0 '\0', short_video_header = 0 '\0', rounding_control = 0
'\0', alternate_vertical_scan_flag = 0 '\0', top_field_first = 1 '\001',
intra_matrix = 0xe <Address 0xe out of bounds>, non_intra_matrix = 0xe <Address
0xe out of bounds>}, vc1 = {base = {profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN},
ref_forward = 0x0, ref_backward = 0x0, slice_count = 1, picture_type = 3
'\003', frame_coding_mode = 0 '\0', postprocflag = 0 '\0', pulldown = 0 '\0',
interlace = 0 '\0', tfcntrflag = 0 '\0', finterpflag = 0 '\0', psf = 0 '\0',
dquant = 1 '\001', panscan_flag = 0 '\0', refdist_flag = 0 '\0',
quantizer = 0 '\0', extended_mv = 1 '\001', extended_dmv = 0 '\0', overlap
= 0 '\0', vstransform = 0 '\0', loopfilter = 1 '\001', fastuvmc = 0 '\0',
range_mapy_flag = 0 '\0', range_mapy = 0 '\0', range_mapuv_flag = 0 '\0',
range_mapuv = 0 '\0', multires = 0 '\0', syncmarker = 0 '\0', rangered = 1
'\001',
maxbframes = 0 '\0', deblockEnable = 0 '\0', pquant = 0 '\0'}}
#11 0x080f9855 in draw_slice (image=0xbfaabc3c, stride=0xbfaabc2c, w=720,
h=576, x=0, y=0) at libvo/vo_vdpau.c:995
vdp_st = <value optimized out>
rndr = (struct vdpau_render_state *) 0x8ae32e0
max_refs = 2
#12 0x08216c16 in draw_slice (s=0x9c52590, src=0x9d86460, offset=0xbfaabcac,
y=0, type=3, height=576) at libmpcodecs/vd_ffmpeg.c:471
sh = (sh_video_t *) 0x9b168c0
source = {0x8ae32e0 "\021", 0x0, 0x0, 0x0}
strides = {0, 0, 0, 0}
#13 0x085be638 in ff_draw_horiz_band (s=0x9c62c40, y=0, h=576) at
libavcodec/mpegvideo.c:2377
src = (AVFrame *) 0x9d86460
offset = {0, 0, 0, 0}
field_pic = 0
#14 0x08694b6a in ff_vdpau_mpeg_picture_complete (s=0x9c62c40, buf=0xb687b008
"", buf_size=2012, slice_count=8) at libavcodec/vdpau.c:246
last = <value optimized out>
i = <value optimized out>
__PRETTY_FUNCTION__ = "ff_vdpau_mpeg_picture_complete"
#15 0x08592ff1 in decode_chunks (avctx=0x9c52590, picture=0x9c52470,
data_size=0xbfaabfb4, buf=0xb687b008 "", buf_size=2012) at
libavcodec/mpeg12.c:2309
i = <value optimized out>
start_code = 2739309848
s = (Mpeg1Context *) 0x9c62c40
s2 = <value optimized out>
buf_ptr = (const uint8_t *) 0xb687b7e4 ""
buf_end = (const uint8_t *) 0xb687b7e4 ""
---Type <return> to continue, or q <return> to quit---
ret = <value optimized out>
input_size = 206
last_code = 257
#16 0x085934a3 in mpeg_decode_frame (avctx=0x9c52590, data=0x9c52470,
data_size=0xbfaabfb4, avpkt=0xbfaabf58) at libavcodec/mpeg12.c:2279
buf = (const uint8_t *) 0xb687b008 ""
buf_size = 2012
s = (Mpeg1Context *) 0x9c62c40
picture = (AVFrame *) 0x6
#17 0x086705fe in avcodec_decode_video2 (avctx=0x9c52590, picture=0x9c52470,
got_picture_ptr=0xbfaabfb4, avpkt=0xbfaabf58) at libavcodec/utils.c:819
ret = -1
#18 0x08215e94 in decode (sh=0x9b168c0, data=0xb687b008, len=2012, flags=0) at
libmpcodecs/vd_ffmpeg.c:800
got_picture = 0
ret = <value optimized out>
ctx = (vd_ffmpeg_ctx *) 0x9c52388
pic = (AVFrame *) 0x9c52470
avctx = (AVCodecContext *) 0x9c52590
mpi = (mp_image_t *) 0x0
dr1 = <value optimized out>
pkt = {pts = -9223372036854775808, dts = -9223372036854775808, data =
0xb687b008 "", size = 2012, stream_index = 0, flags = 1, side_data = 0x0,
side_data_elems = 0, duration = 0, destruct = 0, priv = 0xc0040000, pos = -1,
convergence_duration = 0}
fvstats = (FILE *) 0x0
all_len = 0
frame_number = 0
all_frametime = 0
#19 0x08144a5a in decode_video (sh_video=0x9b168c0, start=0xb687b008 "",
in_size=2012, drop_frame=0, pts=0.039999999105930328, full_frame=0xbfaac08c) at
libmpcodecs/dec_video.c:393
mpi = <value optimized out>
t = 3292923818
t2 = <value optimized out>
delay = <value optimized out>
got_picture = <value optimized out>
#20 0x080cb743 in update_video (blit_frame=0xbfaad1f4) at mplayer.c:2437
in_size = 2012
start = (unsigned char *) 0xb687b008 ""
decoded_frame = (void *) 0x0
drop_frame = 0
full_frame = 1
sh_video = (sh_video_t * const) 0x9b168c0
frame_time = 0
#21 0x080cf96c in main (argc=6, argv=0xbfaad2c4) at mplayer.c:3721
frame_time = -0.052356623074413931
frame_time_remaining = <value optimized out>
blit_frame = 0
aq_sleep_time = 0
opt_exit = <value optimized out>
profile_config_loaded = <value optimized out>
i = 0
last_heartbeat = 0
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev