[MPlayer-users] Crash when dumping pcm with -ss (start position)
Sebastian Kemper
sebastian_ml at gmx.net
Wed Sep 26 02:47:30 CEST 2007
On Tue, Sep 25, 2007 at 05:38:41PM -0400, The Wanderer wrote:
> The 'core' file would, as far as I have ever been able to tell, be
> created (by the kernel?) when the crash happens, with the message "Core
> dumped". If one was not created (and I have never seen one), then you
> should not be reading the "core dump" part of the bug-reporting docs;
> instead of using a nonexistent core file you will need to run the
> crashing command from inside of gdb itself, then after it crashes issue
> the suggested commands by hand.
Yes, thanks. I wasn't able to get my puter to dump the core - tried
raising the core dump limit but that didn't help.
Anyway, attached you can find the gdb output.
Regards
Sebastian
-------------- next part --------------
gdb /usr/bin/mplayer
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -v -ss 4:00 -vc dummy -vo null -ao pcm test.avi
Starting program: /usr/bin/mplayer -v -ss 4:00 -vc dummy -vo null -ao pcm test.avi
[Thread debugging using libthread_db enabled]
[New Thread -1214703952 (LWP 26303)]
MPlayer dev-SVN-r24618-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) 2400+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
get_path('codecs.conf') -> '/home/sk/.mplayer/codecs.conf'
Reading /home/sk/.mplayer/codecs.conf: Can't open '/home/sk/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: Can't open '/usr/share/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-debug=3 --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu-gcc --libdir=/usr/lib --prefix=/usr --confdir=/usr/share/mplayer --datadir=/usr/share/mplayer --disable-menu --disable-cdparanoia --disable-faac --disable-gui --disable-xinerama --disable-vm --disable-xvmc --disable-cddb --disable-libvorbis --disable-libcdio --disable-smb --disable-x264 --disable-libdv --disable-faad-internal --disable-libdca --disable-arts --disable-sdl --disable-enca --disable-tv --disable-ftp --disable-win32dll --disable-dga1 --disable-dga2 --disable-real --disable-network --disable-live --disable-mad --disable-dvdnav --disable-libamr_wb --disable-png --disable-inet6 --disable-joystick --disable-rtc --disable-gif --disable-jpeg --disable-ladspa --disable-liblzo --disable-musepack --disable-faad-external --disable-theora --disable-3dfx --disable-dvbhead --disable-aa --disable-directfb --disable-fbdev --disable-xvid --disable-mencoder --disable-tga --disable-xf86keysym --disable-gl --disable-pnm --disable-ossaudio --disable-bitmap-font --disable-ass --disable-tremor-internal --disable-md5sum --disable-unrarlib --disable-qtx --disable-vidix-internal --disable-xanim --disable-fribidi --disable-encoder=MP3LAME_ENCODER --enable-debug=3
CommandLine: '-v' '-ss' '4:00' '-vc' 'dummy' '-vo' 'null' '-ao' 'pcm' 'test.avi'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/sk/.mplayer/input.conf'
Parsing input config file /home/sk/.mplayer/input.conf
Input config file /home/sk/.mplayer/input.conf parsed: 63 binds
Setting up LIRC support...
get_path('test.avi.conf') -> '/home/sk/.mplayer/test.avi.conf'
Playing test.avi.
get_path('sub/') -> '/home/sk/.mplayer/sub/'
[file] File size is 367949824 bytes
STREAM: [file] test.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: avi format
AVI file format detected.
list_end=0x22D6
======= AVI Header =======
us/frame: 41708 (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 64947 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 608 x 336
==========================
list_end=0x1138
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 2997/125 = 23.976
Start: 0 Len: 64947
Suggested BufferSize: 68783
Quality 10000
Sample size: 0
==========================
Found 'bih', 108 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 608
biHeight 336
biPlanes 1
biBitCount 24
biCompression 1145656920='XVID'
biSizeImage 612864
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x21CA
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0 Len: 112867
Suggested BufferSize: 960
Quality -1
Sample size: 0
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 20074
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=481
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
==========================================================================
list_end=0x22D6
AVI: dmlh found (size=248) (total_frames=64947)
list_end=0x22FA
hdr=Software size=15
Software : Nandub v1.0rc2
list_end=0x15C3072C
Found movie at 0x280C - 0x15C3072C
Reading INDEX block, 177814 chunks for 64947 frames (fpos=365102900).
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x6C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=309254610 (64947) audio size=54383088 (112867)
VIDEO: [XVID] 608x336 24bpp 23.976 fps 913.3 kbps (111.5 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:608x336 fps:23.98 ftime:=0.0417
Clip info:
Software: Nandub v1.0rc2
get_path('sub/') -> '/home/sk/.mplayer/sub/'
==========================================================================
Forced video codec: dummy
Cannot find codec matching selected -vo and video format 0x44495658.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 32 kbit Joint-Stereo, BPF: 96
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 32.0 kbit/2.08% (ratio: 4000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
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
[AO PCM] File: audiodump.wav (WAVE)
PCM: Samplerate: 48000Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: RAW PCM/WAVE file writer audio output
AO: Author: Atmosfear
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214703952 (LWP 26303)]
demux_seek_avi (demuxer=0x866bc40, rel_seek_secs=240, audio_delay=0, flags=1)
at demux_avi.c:570
570 demux_avi.c: No such file or directory.
in demux_avi.c
(gdb) bt
#0 demux_seek_avi (demuxer=0x866bc40, rel_seek_secs=240, audio_delay=0, flags=1) at demux_avi.c:570
#1 0x080d98b0 in demux_seek (demuxer=0x866bc40, rel_seek_secs=240, audio_delay=0, flags=<value optimized out>) at demuxer.c:966
#2 0x0804e832 in seek (mpctx=0x84defa0, amount=240, style=0) at mplayer.c:2237
#3 0x08052a24 in main (argc=11, argv=0xbf98fb84) at mplayer.c:3345
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x80e28ef to 0x80e292f:
0x080e28ef <demux_seek_avi+47>: mov 0x60(%ecx),%edx
0x080e28f2 <demux_seek_avi+50>: mov %ecx,0xffffff84(%ebp)
0x080e28f5 <demux_seek_avi+53>: mov 0x60(%ebx),%ecx
0x080e28f8 <demux_seek_avi+56>: mov %ebx,0xffffff88(%ebp)
0x080e28fb <demux_seek_avi+59>: mov %edx,0xffffff6c(%ebp)
0x080e2901 <demux_seek_avi+65>: mov $0x0,%edx
0x080e2906 <demux_seek_avi+70>: cmove 0x1c(%ebx),%edx
0x080e290a <demux_seek_avi+74>: test $0x2,%al
0x080e290c <demux_seek_avi+76>: mov %ecx,0xffffff8c(%ebp)
0x080e290f <demux_seek_avi+79>: flds 0xe4(%ecx)
0x080e2915 <demux_seek_avi+85>: mov %edx,0xffffff94(%ebp)
0x080e2918 <demux_seek_avi+88>: jne 0x80e2cea <demux_seek_avi+1066>
0x080e291e <demux_seek_avi+94>: fmulp %st,%st(2)
0x080e2920 <demux_seek_avi+96>: fxch %st(1)
0x080e2922 <demux_seek_avi+98>: fstps 0xffffff14(%ebp)
0x080e2928 <demux_seek_avi+104>: movss 0xffffff14(%ebp),%xmm0
End of assembler dump.
(gdb) info all-registers
eax 0x1 1
ecx 0x0 0
edx 0x0 0
ebx 0x8662ba8 140913576
esp 0xbf98e830 0xbf98e830
ebp 0xbf98e958 0xbf98e958
esi 0x866bc40 140950592
edi 0x0 0
eip 0x80e290f 0x80e290f <demux_seek_avi+79>
eflags 0x10246 [ PF ZF IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 0 (raw 0x00000000000000000000)
st1 240 (raw 0x4006f000000000000000)
st2 <invalid float value> (raw 0xffff0000000000000000)
st3 <invalid float value> (raw 0xffff0000000000000000)
st4 <invalid float value> (raw 0xffff0000000000000000)
st5 <invalid float value> (raw 0xffff0000000000000000)
st6 <invalid float value> (raw 0xffff0000000000000000)
st7 <invalid float value> (raw 0xffff0000000000000000)
fctrl 0x37f 895
fstat 0x7020 28704
ftag 0x1fff 8191
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0xbb80, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x80, 0x3b, 0x47, 0x0 <repeats 12 times>}, v8_int16 = {0x8000, 0x473b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x473b8000, 0x0, 0x0, 0x0}, v2_int64 = {0x473b8000, 0x0},uint128 = 0x000000000000000000000000473b8000}
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 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 = 0xf000000000000000, v2_int32 = {0x0, 0xf0000000}, v4_int16 = {0x0, 0x0, 0x0, 0xf000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0}}
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}}
More information about the MPlayer-users
mailing list