[MPlayer-users] [BUG] mp3lib/dct64_sse.c

luigi curzi tremst at gmail.com
Tue Jul 12 12:13:01 CEST 2011


last svn revision of mplayer crashes immediately with this error when i
try to play an mp3 file:

MPlayer interrupted by signal 11 in module: decode_audio
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in
DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We
can't and won't help unless you provide this information when reporting
a possible bug.

system informations:
debian testing/unstable

uname -a
Linux pozzaibe 2.6.39.1.20110709 #3 SMP PREEMPT Sat Jul 9 13:39:56 CEST
2011 i686 GNU/Linux

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1/lto-wrapper
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.1-1'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-multiarch
--with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib/i386-linux-gnu --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --enable-targets=all --with-arch-32=i586
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc
version 4.6.1 (Debian 4.6.1-1)

ld -v
GNU ld (GNU Binutils for Debian) 2.21.52.20110606

as --version
GNU assembler (GNU Binutils for Debian) 2.21.52.20110606
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `i486-linux-gnu'.

cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping        : 5
cpu MHz         : 2812.387
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs
bts cid xtpr bogomips        : 5624.77 clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping        : 5
cpu MHz         : 2812.387
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs
bts cid xtpr bogomips        : 5624.71 clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

debug informations:
(gdb) run
Starting program: /usr/bin/mplayer -v 101-Sms_Alla_Madonna.mp3
[Thread debugging using libthread_db enabled]
Warning unknown option skin at line 49
MPlayer SVN-r33877-4.6.1 (C) 2000-2011 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping:
5) extended cpuid-level: 4
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/luigi/.mplayer/codecs.conf'
Reading /home/luigi/.mplayer/codecs.conf: Can't open
'/home/luigi/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open
'/etc/mplayer/codecs.conf': No such file or directory Using built-in
default codecs.conf. init_freetype Using MMX (with tiny bit MMX2)
Optimized OnScreenDisplay get_path('fonts') ->
'/home/luigi/.mplayer/fonts' Configuration: --prefix=/usr
--confdir=/etc/mplayer --enable-xvmc --enable-menu --disable-arts
--language=en,it --enable-debug --enable-mga --enable-3dfx
--enable-tdfxfb --disable-gui CommandLine: '-v'
'101-Sms_Alla_Madonna.mp3' Using nanosleep() timing
get_path('input.conf') -> '/home/luigi/.mplayer/input.conf' Can't open
input config file /home/luigi/.mplayer/input.conf: No such file or
directory Parsing input config file /etc/mplayer/input.conf Input
config file /etc/mplayer/input.conf parsed: 92 binds Setting up LIRC
support... mplayer: could not connect to socket mplayer: No such file
or directory Failed to open LIRC support. You will not be able to use
your remote control. get_path('101-Sms_Alla_Madonna.mp3.conf') ->
'/home/luigi/.mplayer/101-Sms_Alla_Madonna.mp3.conf'

Playing 101-Sms_Alla_Madonna.mp3.
get_path('sub/') -> '/home/luigi/.mplayer/sub/'
[file] File size is 4772594 bytes
STREAM: [file] 101-Sms_Alla_Madonna.mp3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:1677721  eof:0  
Cache fill:  0.00% (0 bytes)   

LAVF_check: MPEG audio layer 2/3
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 101-Sms_Alla_Madonna.mp3 ext: .mp3
Trying demuxer 17 based on filename extension
==> Found audio stream: 0
demux_audio: seeking from 0x48D2F2 to start pos 0x2800
demux_audio: audio data 0x2800 - 0x48D272  
Audio only file format detected.
Clip info:
 Title: Sms Alla Madonna
 Artist: Dargen D'Amico
 Album: Di Vizi Di Forma Virt�
 Year: 2008
 Comment: 
 Track: 1
 Genre: Hip-Hop
Load subtitles in ./
get_path('sub/') -> '/home/luigi/.mplayer/sub/'
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
MPEG 1.0 layer III, 192 kbit/s, 44100 Hz joint-stereo
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I,
II, III)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy [dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.23
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under development
Building audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le... [dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...

Program received signal SIGSEGV, Segmentation fault.
0x0829dd80 in dct64_sse (out0=0x90903ea, out1=0x90901c8, c=0x9093700)
at mp3lib/dct64_sse.c:34 34                  __asm__(

(gdb) bt
#0  0x0829dd80 in dct64_sse (out0=0x90903ea, out1=0x90901c8,
c=0x9093700) at mp3lib/dct64_sse.c:34 
#1  0xb74ee16c in synth_1to1_sse_asm () from /usr/lib/libmpg123.so.0 
#2  0xb74c34be in synth_1to1_sse () from /usr/lib/libmpg123.so.0 
#3  0xb74c21a0 in synth_stereo_wrap () from /usr/lib/libmpg123.so.0 
#4  0xb74dd028 in do_layer3 () from /usr/lib/libmpg123.so.0 
#5  0xb74be8df in decode_the_frame () from /usr/lib/libmpg123.so.0 
#6  0xb74beead in mpg123_decode () from /usr/lib/libmpg123.so.0 
#7  0x082948fd in decode_a_bit (sh=0x906ede0, buf=0x907dd70 "",
count=65536) at libmpcodecs/ad_mpg123.c:324 
#8  0x08294f26 in decode_audio (sh=0x906ede0, buf=0x907dd70 "",
minlen=65536, maxlen=73728) at libmpcodecs/ad_mpg123.c:542 
#9  0x08182381 in filter_n_bytes (sh_audio=0x906ede0, minlen=65536) at
libmpcodecs/dec_audio.c:392 
#10 mp_decode_audio (sh_audio=0x906ede0, minlen=65536) at
libmpcodecs/dec_audio.c:474 
#11 0x080f1ca6 in fill_audio_out_buffers (argc=3, argv=0xbffff244) at
mplayer.c:2163 
#12 main (argc=3, argv=0xbffff244) at mplayer.c:3747 

(gdb) disass $pc-32 $pc+32 A syntax error in expression, near `$pc+32'. 

(gdb) info all-registers
eax            0xbfffc96c       -1073755796 ecx
0xbfffc9dc       -1073755684 edx            0x0      0
ebx            0x90901c8        151585224
esp            0xbfffc96c       0xbfffc96c
ebp            0x49096d94       0x49096d94
esi            0x90903ea        151585770
edi            0x9093700        151598848
eip            0x829dd80        0x829dd80 <dct64_sse+80>
eflags         0x10213  [ CF AF IF RF ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
st0            -0       (raw 0x80000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            -0       (raw 0x80000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            -0       (raw 0x80000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x120    288
ftag           0xffff   65535
fiseg          0x73     115
fioff          0xb74dbb2e       -1219642578
foseg          0x7b     123
fooff          0x9094884        151603332
fop            0x1c9    457
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 =
{0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 =
{0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} ---Type
<return> to continue, or q <return> to quit--- xmm2           {v4_float
= {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0
<repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000} xmm3           {v4_float = {0x0,
0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x68, 0xf2, 0x7,
0x3f, 0x5b, 0xf4, 0x3, 0x3f, 0x8b, 0x66, 0x1, 0x3f, 0x85, 0x27, 0x0,
0x3f}, v8_int16 = {0xf268, 0x3f07, 0xf45b, 0x3f03, 0x668b, 0x3f01,
0x2785, 0x3f00}, v4_int32 = {0x3f07f268, 0x3f03f45b, 0x3f01668b,
0x3f002785}, v2_int64 = { 0x3f03f45b3f07f268, 0x3f0027853f01668b},
uint128 = 0x3f0027853f01668b3f03f45b3f07f268} xmm4           {v4_float
= {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0
<repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000} xmm5           {v4_float = {0x0,
0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16
times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32
times>= {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
times>0x00000000000000000000000000000000} xmm6           {v4_float =
times>{0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0
times><repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
times>0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
times>0x0}, uint128 = 0x00000000000000000000000000000000}
times>xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
times>{0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0,
times>0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0,
times>0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
mxcsr          0x1fa0   [ PE IM DM ZM OM UM PM ]
mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

-- 
Luigi Curzi

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Io sono 
lo sbaglio, il momento di confusione, l'inopportuno

		Non sono niente.
	      Non sarò mai niente.
	Non posso volere d'essere niente.
A parte questo, ho in me tutti i sogni del mondo.
					(F. Pessoa)



More information about the MPlayer-users mailing list