[MPlayer-advusers] CVS mplayer and segmentation fault with liba52
lynx.abraxas at freenet.de
lynx.abraxas at freenet.de
Wed May 17 23:41:50 CEST 2006
I'm sorry. The full trace wasn't ment to go through. I got the message to stop
it too late. I didn't have gdb installed at that time.
Attached is the gdb output as told in the docs.
Lynx
-------------- next part --------------
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17879)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-060517-22:56-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/lynx/.mplayer/codecs.conf'
Reading /home/lynx/.mplayer/codecs.conf: Can't open '/home/lynx/.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.
CommandLine: '-v' '-fs' 'dvd://'
init_freetype
get_path('font/font.desc') -> '/home/lynx/.mplayer/font/font.desc'
font: can't open file: /home/lynx/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/lynx/.mplayer/input.conf'
Parsing input config file /home/lynx/.mplayer/input.conf
Input config file /home/lynx/.mplayer/input.conf parsed: 54 binds
get_path('.conf') -> '/home/lynx/.mplayer/.conf'
Playing dvd://.
get_path('sub/') -> '/home/lynx/.mplayer/sub/'
URL: dvd://
Reading disc structure, please wait...
There are 5 titles on this DVD.
There are 48 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (mono) language: de aid: 129
[open] audio stream: 2 audio format: ac3 (stereo) language: it aid: 130
[open] audio stream: 3 audio format: ac3 (stereo) language: fr aid: 131
[open] audio stream: 4 audio format: ac3 (mono) language: es aid: 132
[open] number of audio channels on disk: 5.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: fr
[open] subtitle ( sid ): 2 language: pt
[open] subtitle ( sid ): 3 language: da
[open] subtitle ( sid ): 4 language: fi
[open] subtitle ( sid ): 5 language: sv
[open] subtitle ( sid ): 6 language: no
[open] subtitle ( sid ): 7 language: de
[open] subtitle ( sid ): 8 language: nl
[open] subtitle ( sid ): 9 language: cs
[open] subtitle ( sid ): 10 language: pl
[open] subtitle ( sid ): 11 language: tr
[open] subtitle ( sid ): 12 language: hu
[open] subtitle ( sid ): 13 language: bg
[open] subtitle ( sid ): 14 language: de
[open] subtitle ( sid ): 15 language: it
[open] subtitle ( sid ): 16 language: fr
[open] subtitle ( sid ): 17 language: es
[open] number of subtitles on disk: 18
DVD start cell: 0 pack: 0x0-0x28071
DVD start=0 end=2998902
STREAM: [null] dvd://
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
Selected DVD audio channel: 128 language: en
Selected DVD subtitle channel: 0 language: en
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x28071
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd:// ext: (null)
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x28071
Angle-seek synced by cell/vob IDN search!
Checking for Nullsoft Streaming Video
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x28071
Angle-seek synced by cell/vob IDN search!
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file dvd://
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 72224, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x23 cell=0 packs: 0x0-0x28071
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x28071
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
DVD Seek! lba=0x16E0C0 cell=22 packs: 0x166016-0x175ECF
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 129
==> Found audio stream: 132
==> Found audio stream: 130
==> Found audio stream: 131
==> Found audio stream: 128
DVD Seek! lba=0x2DC181 cell=47 packs: 0x2C90A0-0x2DC270
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
DVD next cell: 48 pack: 0x2DC271-0x2DC276
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x28071
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/lynx/.mplayer/sub/'
get_path('default.sub') -> '/home/lynx/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
vo_cvidix: No vidix driver name provided, probing available ones (-v option for details)!
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/rage128_vid.so
[rage128] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/pm3_vid.so
[pm3] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] found 1 pci devices
[mga] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/sis_vid.so
[SiS] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/radeon_vid.so
[radeon] Found chip: Radeon R250 Lf [Radeon Mobility 9000]
vidixlib: /usr/local/lib/mplayer/vidix/radeon_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/radeon_vid.so driver
vidixlib: Attempt to initialize driver at: 0xb7a4d502
[radeon] Video memory = 64Mb
[radeon] Saved overlay colorkey settings
vidixlib: '/usr/local/lib/mplayer/vidix/radeon_vid.so'successfully loaded
VIDIX: Description: BES driver for Radeon cards
VIDIX: Author: Nick Kurshev
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.9
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 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 developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 17879)]
0xb7e137aa in a52_frame () from /usr/local/lib/libavcodec.so.51
#0 0xb7e137aa in a52_frame () from /usr/local/lib/libavcodec.so.51
#1 0xb7e154de in a52_block () from /usr/local/lib/libavcodec.so.51
#2 0x080f512d in decode_audio (sh_audio=0x845a288, buf=0x845f5c0 "", minlen=65536, maxlen=71680) at ad_liba52.c:315
#3 0x080f3f6a in decode_audio (sh_audio=0x845a288, buf=0x849e520 "", minlen=65536, maxlen=<value optimized out>) at dec_audio.c:380
#4 0x0807780b in main (argc=4, argv=0xbff771d4) at mplayer.c:2614
Dump of assembler code from 0xb7e1378a to 0xb7e137ca:
0xb7e1378a <a52_frame+1882>: sub %esi,%ecx
0xb7e1378c <a52_frame+1884>: shl %cl,%edx
0xb7e1378e <a52_frame+1886>: mov 0xffffff78(%ebp),%ecx
0xb7e13794 <a52_frame+1892>: push %edx
0xb7e13795 <a52_frame+1893>: mov 0xffffff74(%ebp),%edx
0xb7e1379b <a52_frame+1899>: fildl (%esp)
0xb7e1379e <a52_frame+1902>: add $0x4,%esp
0xb7e137a1 <a52_frame+1905>: movzbl 0xffffffff(%edi,%edx,1),%eax
0xb7e137a6 <a52_frame+1910>: fmuls 0xffffff90(%ebp,%eax,4)
0xb7e137aa <a52_frame+1914>: fstps 0xfffffffc(%ecx,%edi,4)
0xb7e137ae <a52_frame+1918>: inc %edi
0xb7e137af <a52_frame+1919>: cmp 0xffffff70(%ebp),%edi
0xb7e137b5 <a52_frame+1925>: jne 0xb7e13720 <a52_frame+1776>
0xb7e137bb <a52_frame+1931>: add $0x9c,%esp
0xb7e137c1 <a52_frame+1937>: pop %ebx
0xb7e137c2 <a52_frame+1938>: pop %esi
0xb7e137c3 <a52_frame+1939>: pop %edi
0xb7e137c4 <a52_frame+1940>: pop %ebp
0xb7e137c5 <a52_frame+1941>: ret
0xb7e137c6 <a52_frame+1942>: mov %esi,0x4(%esp)
End of assembler dump.
eax 0xf 15
ecx 0x0 0
edx 0x8365303 137777923
ebx 0x15 21
esp 0xbff75cd0 0xbff75cd0
ebp 0xbff75d78 0xbff75d78
esi 0x9 9
edi 0x1 1
eip 0xb7e137aa 0xb7e137aa <a52_frame+1914>
eflags 0x10292 66194
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x0 0
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 1 (raw 0x3fff8000000000000000)
st4 2.2166081462914448457941773984458678 (raw 0x40008ddce86a179cb392)
st5 0.906163632869720458984375 (raw 0x3ffee7fa570000000000)
st6 0.906163632869720458984375 (raw 0x3ffee7fa570000000000)
st7 2.3310511507168563127834204351529479e-12 (raw 0x3fd8a4087c0000000000)
fctrl 0x37f 895
fstat 0x3920 14624
ftag 0x7fff 32767
fiseg 0x73 115
fioff 0xb7e137a6 -1209976922
foseg 0x7b 123
fooff 0xbff75d44 -1074307772
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}
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 = {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}
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 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm6 {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}
xmm7 {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}
mxcsr 0x1f80 8064
mm0 {uint64 = 0xa4087c0000000000, v2_int32 = {0x0, 0xa4087c00}, v4_int16 = {0x0, 0x0, 0x7c00, 0xa408}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x7c,
0x8, 0xa4}}
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 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x80}}
mm5 {uint64 = 0x8ddce86a179cb392, v2_int32 = {0x179cb392, 0x8ddce86a}, v4_int16 = {0xb392, 0x179c, 0xe86a, 0x8ddc}, v8_int8 = {0x92, 0xb3, 0x9c,
0x17, 0x6a, 0xe8, 0xdc, 0x8d}}
mm6 {uint64 = 0xe7fa570000000000, v2_int32 = {0x0, 0xe7fa5700}, v4_int16 = {0x0, 0x0, 0x5700, 0xe7fa}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x57,
0xfa, 0xe7}}
mm7 {uint64 = 0xe7fa570000000000, v2_int32 = {0x0, 0xe7fa5700}, v4_int16 = {0x0, 0x0, 0x5700, 0xe7fa}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x57,
0xfa, 0xe7}}
More information about the MPlayer-advusers
mailing list