[MPlayer-dev-eng] [BUG] nice little bug somewhere (config/playtree)
Gabucino
gabucino at mplayerhq.hu
Sat Dec 28 13:46:10 CET 2002
This bug happens to only one of my files, B10.AVI from Thief Gold CD.
All the other files on that CD works ok, so I think it's some memcorruption,
or other MPlayer-specific bug.
mplayer 1/1/B10.AVI WORKS
mplayer -ao pcm 1/1/B10.AVI WORKS
mplayer -vo null 1/1/B10.AVI WORKS
mplayer -vo null -ao pcm 1/1/B10.AVI HANGS AT END, 100% CPU
(attach: log1)
mplayer -vo null -vc null 1/1/B10.AVI WORKS
mplayer -vo null -vc null -ao pcm 1/1/B10.AVI SIG11 AT END
(attach: log2)
After mencoding it into MPEG4+MP3, all of the options above work bugfree.
Anybody needs this file?
--
Gabucino FREEZE! FREEZE! FREEZE!
MPlayer Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log1.gz
Type: application/octet-stream
Size: 52320 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021228/793d0488/attachment.obj>
-------------- next part --------------
MPlayer CVS-021228-07:17-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/gabucino/.mplayer/config
Reading /home/gabucino/.mplayer/codecs.conf: 49 audio & 126 video codecs
CommandLine: '-v' '-ss' '102' '-vo' 'null' '-vc' 'null' '-ao' 'pcm' '1/1/B10.AVI'
get_path('font/font.desc') -> '/home/gabucino/.mplayer/font/font.desc'
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/gabucino/.mplayer/input.conf'
Parsing input config file /home/gabucino/.mplayer/input.conf
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds
Playing 1/1/B10.AVI
Not an URL!
File size is 16921102 bytes
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 0.00% (0 bytes) Detected AVI file format!
list_end=0x148
======= AVI Header =======
us/frame: 66666 (fps=15.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (16) HAS_INDEX
frames total: 1588 initial: 0
streams: 2
Suggested BufferSize: 32768
Size: 320 x 240
list_end=0xDC
==> Found video stream: 0
======= STREAM Header =======
Type: vids FCC: IV50 (30355649)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 15/1 = 15.000
Start: 0 Len: 1588
Suggested BufferSize: 230400
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 320
biHeight 240
biPlanes 1
biBitCount 24
biCompression 808801865='IV50'
biSizeImage 172800
===========================
list_end=0x148
==> Found audio stream: 1
======= STREAM Header =======
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 44100/2 = 22050.000
Start: 0 Len: 2334360
Suggested BufferSize: 88320
Quality 10000
Sample size: 2
found 'wf', 16 bytes of 18
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 22050
avg byte/sec: 44100
Block align: 2
bits/sample: 8
cbSize: 0
Broken chunk? chunksize=3748 (id=JUNK)
list_end=0x101C59E
Found movie at 0x1000 - 0x101C59E
Reading INDEX block, 1731 chunks for 1588 frames (fpos=0x101c5a6)
list_end=0x102320E
AVI index offset: 0xFFC (movi=0x1000 idx0=0x4 idx1=0x19C)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
Detected NON-INTERLEAVED AVI file-format!
AVI: Searching for audio stream (id:1)
XXX initial v_pts=0.000 a_pos=0 (0.000)
AVI video size=12206678 (1588) audio size=4668720 (2334360)
VIDEO: [IV50] 320x240 24bpp 15.00 fps 922.4 kbps (112.6 kbyte/s)
[V] filefmt:3 fourcc:0x30355649 size:320x240 fps:15.00 ftime:=0.0667
get_path('sub/') -> '/home/gabucino/.mplayer/sub/'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: 22050 Hz, 2 ch, 8 bit (0x8), ratio: 44100->44100 (352.8 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [pp]
[vo] query(Planar YV12) -> 1
[vo] query(Planar I420) -> 1
[vo] query(Planar IYUV) -> 1
==========================================================================
Forced video codec: null
Opening video decoder: [null] Null video decoder
VDec: vo config request - 320 x 240 (preferred csp: BGR 24-bit)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=1,'MPlayer',0x32315659)
REQ: flags=0x401 req=0x0
VO: [null] 320x240 => 320x240 Planar YV12 [fs]
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Selected video codec: [null] vfm:null (NULL codec (no decoding!))
==========================================================================
[PP] Using external postprocessing filter, max q = 6
AutoQ: setting quality to 6
PCM: File: audiodump.wav (WAVE)
PCM: Samplerate: 22050Hz Channels: Stereo Format Unsigned 8-bit
PCM: Info: fastest dumping is achieved with -vc null -vo null
PCM: Info: to write WAVE files use -waveheader (default); for RAW PCM -nowaveheader.
AO: [pcm] 22050Hz 2ch Unsigned 8-bit
AO: Description: RAW PCM/WAVE file writer audio output
AO: Author: Atmosfear
Building audio filter chain for 22050Hz/2ch/8bit -> 22050Hz/2ch/8bit...
Adding filter dummy
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000003 and bps = 1
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000003 and bps = 1
Start playing...
SEEK: i=1725 (max:1731) dpos=4489216 (wanted:4518780) 0% 0.0% 1 6 92%
SEEK: idx=1537 (a:1725 v:1537) v.skip=0 a.skip=29564/0.000
ds_fill_buffer: EOF reached (stream: audio) 8/1588 0% 0% 1.8% 44 1 98%
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: video) 8/1588 0% 0% 3.5% 44 2 2%
EOF code: 1 05.8 A-V: 0.067 ct: 0.374 1588/1588 0% 0% 3.5% 44 1 2%
Uninit audio filters...
uninit audio: pcm
uninit video: null
DEMUXER: freeing demuxer at 0x83c8eb0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 5461)]
0x402c2e90 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0 0x402c2e90 in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x403d8a8b in free () from /lib/libc.so.6
#2 0x0807e57c in free_str_list (dst=0x82d88a8) at m_option.c:370
#3 0x0807eb81 in copy_str_list (opt=0x82d90e0, dst=0x82d88a8, src=0x83b9d58)
at m_option.c:546
#4 0x0807d127 in m_config_pop (config=0x83b9c58) at m_option.h:205
#5 0x08072848 in play_tree_iter_up_step (iter=0x83bed60, d=1, with_nodes=0)
at playtree.c:704
#6 0x080725a4 in play_tree_iter_step (iter=0x83bed60, d=1, with_nodes=0)
at playtree.c:603
#7 0x0806dba2 in main (argc=11, argv=0xbffffac4) at mplayer.c:3057
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x402c2e70 to 0x402c2eb0:
0x402c2e70 <pthread_mutex_trylock+760>: pop %ebx
0x402c2e71 <pthread_mutex_trylock+761>: pop %esi
0x402c2e72 <pthread_mutex_trylock+762>: pop %edi
0x402c2e73 <pthread_mutex_trylock+763>: leave
0x402c2e74 <pthread_mutex_trylock+764>: ret
0x402c2e75 <pthread_mutex_trylock+765>: lea 0x0(%esi),%esi
0x402c2e78 <pthread_mutex_lock>: push %ebp
0x402c2e79 <pthread_mutex_lock+1>: mov %esp,%ebp
0x402c2e7b <pthread_mutex_lock+3>: sub $0xc,%esp
0x402c2e7e <pthread_mutex_lock+6>: push %edi
0x402c2e7f <pthread_mutex_lock+7>: push %esi
0x402c2e80 <pthread_mutex_lock+8>: push %ebx
0x402c2e81 <pthread_mutex_lock+9>:
call 0x402c2e86 <pthread_mutex_lock+14>
0x402c2e86 <pthread_mutex_lock+14>: pop %ebx
0x402c2e87 <pthread_mutex_lock+15>: add $0xcc5a,%ebx
0x402c2e8d <pthread_mutex_lock+21>: mov 0x8(%ebp),%edi
0x402c2e90 <pthread_mutex_lock+24>: mov 0xc(%edi),%eax
0x402c2e93 <pthread_mutex_lock+27>: cmp $0x3,%eax
0x402c2e96 <pthread_mutex_lock+30>:
ja 0x402c2fd6 <pthread_mutex_lock+350>
0x402c2e9c <pthread_mutex_lock+36>: mov %ebx,%edx
---Type <return> to continue, or q <return> to quit---
0x402c2e9e <pthread_mutex_lock+38>: sub 0xffff33d0(%ebx,%eax,4),%edx
0x402c2ea5 <pthread_mutex_lock+45>: jmp *%edx
0x402c2ea7 <pthread_mutex_lock+47>: mov %esi,%esi
0x402c2ea9 <pthread_mutex_lock+49>: lea 0x0(%edi,1),%edi
End of assembler dump.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021228/793d0488/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list