[MPlayer-users] bug report

Derek Scherger derek at echologic.com
Wed Apr 16 06:55:30 CEST 2003


Hi guys, I hate to do this to you but I think I've found a bug... here's
  a summary of my situation as per the bug reporting guidelines
documented in DOCS/en/bugreports.html:

redhat 7.3
Linux spiro 2.4.18-5 #1 Mon Jun 10 15:31:48 EDT 2002 i686 unknown
libc-2.2.5.so
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X Window System
GNU ld version 2.11.93.0.2 20020207
GNU assembler 2.11.93.0.2 20020207

I know I have the bad gcc but this bug appears in the rpms
from your site and I seem to have the same problem when I compile things
so please bear with me.

The problem is not with fullscreen mode, XVIDIX or the GUI.

$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 8
model name	: Pentium III (Coppermine)
stepping	: 6
cpu MHz		: 698.480
cache size	: 256 KB
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 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse
bogomips	: 1392.64

01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M4
AGP (prog-if 00 [VGA])
	Subsystem: Dell Computer Corporation: Unknown device 00a4
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop+ ParErr-
Stepping+ SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
	Region 1: I/O ports at cc00 [size=256]
	Region 2: Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	Capabilities: <available only to root>

The problem I have is that the MOV files created by my digital camera
cause both mplayer and mencoder to core dump apparently when they are
reading the header information. For reference the camera is a minolta
dimage 7i.

I've grabbed the latest CVS sources and built things with
--enable-debug=3 and --ignore-gcc-checking (to get around my bad
compiler) and I still seem to have the same problem.

Here's the gdb output from mplayer. Note that mencoder dies in *exactly*
the same place`:

$ gdb ./mplayer
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 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 "i386-redhat-linux"...
(gdb) run -v pict0243.mov
Starting program: /home/derek/opensource/mplayer/main/mplayer -v
pict0243.mov
[New Thread 1024 (LWP 15278)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030414-22:32-X.XX (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /home/derek/.mplayer/config
Reading /home/derek/.mplayer/codecs.conf: can't open
'/home/derek/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-v' 'pict0243.mov'
get_path('font/font.desc') -> '/home/derek/.mplayer/font/font.desc'
font: can't open file: /home/derek/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/derek/.mplayer/input.conf'
Can't open input config file /home/derek/.mplayer/input.conf : No such
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) input config
get_path('pict0243.mov.conf') -> '/home/derek/.mplayer/pict0243.mov.conf'

Playing pict0243.mov
Not an URL!
[file] File size is 14383680 bytes
STREAM: [file] pict0243.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8240e88
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8240e88
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8240e88
Checking for REAL
DEMUXER: freeing demuxer at 0x8240e88
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8240e88
Searching demuxer type for filename pict0243.mov ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie DATA found!
MOV: Movie header found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=600  dur=31440
--------------
MOV: Track #0:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=31440 lay=0 vol=256
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/vide (mino)
MOV:   Media info!
MOV:    Video header!
MOV:    Handler header: dhlr/alis (mino)
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: jpeg  (72 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=786 ss=0) (ver:0,flags:0)
MOV:     Chunk offset table! (786 chunks)
MOV track #0: 786 chunks, 786 samples
pts=31440  scale=600  time=52.400
==> Found video stream: 0
Image size: 320 x 240 (24 bpp)
Display size: 320 x 240
Fourcc: jpeg  Codec: 'Photo - JPEG'
--------------
MOV: Track #1:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=419200 lay=0 vol=256
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/soun (mino)
MOV:   Media info!
MOV:    Sound header!
MOV:    Handler header: dhlr/alis (mino)
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: raw   (20 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (2 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=419200 ss=1) (ver:0,flags:0)
MOV:     Chunk offset table! (53 chunks)
MOV track #1: 53 chunks, 0 samples
pts=419200  scale=8000  time=52.400
==> Found audio stream: 1
Audio bits: 16  chans: 1  rate: 8000
Fourcc: raw
--------------
Quicktime Clip Info:
  Format: Digital Camera

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 15278)]
lschunks (demuxer=0x8241828, level=0, endpos=14383680, trak=0x0)
     at stream.h:188
188	    memcpy(mem,&s->buffer[s->buf_pos],x);
(gdb) bt
#0  lschunks (demuxer=0x8241828, level=0, endpos=14383680, trak=0x0)
     at stream.h:188
#1  0x0813bf0e in mov_read_header (demuxer=0x8241828) at demux_mov.c:1482
#2  0x0810d5d7 in demux_open_stream (stream=0x823fb40, file_format=7,
     audio_id=-1, video_id=-1, dvdsub_id=-1, filename=0x0) at demuxer.c:1053
#3  0x0810c87c in demux_open_stream (stream=0x823fb40, file_format=7,
     audio_id=-1, video_id=-1, dvdsub_id=-1, filename=0x8237968
"pict0243.mov")
     at demuxer.c:712
#4  0x0810da76 in demux_open (vs=0x823fb40, file_format=0, audio_id=-1,
     video_id=-1, dvdsub_id=-1, filename=0x8237968 "pict0243.mov")
     at demuxer.c:1224
#5  0x0806097d in main () at mplayer.c:1326
#6  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)      disass $pc-32 $pc+32
Dump of assembler code from 0x813bc40 to 0x813bc80:
0x813bc40 <lschunks+19808>:	pop    %ss
0x813bc41 <lschunks+19809>:	or     %ch,0x2(%eax)
0x813bc44 <lschunks+19812>:	pop    %es
0x813bc45 <lschunks+19813>:	add    %al,(%eax)
0x813bc47 <lschunks+19815>:	call   0x80655e0 <mp_msg_c>
0x813bc4c <lschunks+19820>:	mov    0x24(%esi),%eax
0x813bc4f <lschunks+19823>:	add    $0x10,%esp
0x813bc52 <lschunks+19826>:	cmp    %edi,%ebx
0x813bc54 <lschunks+19828>:	lea    0x5c(%eax,%esi,1),%eax
0x813bc58 <lschunks+19832>:	cmovg  %edi,%ebx
0x813bc5b <lschunks+19835>:	sub    $0x4,%esp
0x813bc5e <lschunks+19838>:	sub    %ebx,%edi
0x813bc60 <lschunks+19840>:	push   %ebx
0x813bc61 <lschunks+19841>:	push   %eax
0x813bc62 <lschunks+19842>:	mov    0xfffff2bc(%ebp),%eax
0x813bc68 <lschunks+19848>:	push   %eax
0x813bc69 <lschunks+19849>:	call   0x805e664 <memcpy>
0x813bc6e <lschunks+19854>:	add    %ebx,0x24(%esi)
0x813bc71 <lschunks+19857>:	add    $0x10,%esp
0x813bc74 <lschunks+19860>:	add    %ebx,0xfffff2bc(%ebp)
0x813bc7a <lschunks+19866>:	test   %edi,%edi
0x813bc7c <lschunks+19868>:	jg     0x813bc10 <lschunks+19760>
0x813bc7e <lschunks+19870>:	mov    0xfffff2e0(%ebp),%eax
End of assembler dump.
(gdb)      info all-registers
eax            0x8240132	136577330
ecx            0x8241828	136583208
edx            0x800	2048
ebx            0x26a	618
esp            0x7ecf867c	0x7ecf867c
ebp            0xbfffe158	0xbfffe158
esi            0x823fb40	136575808
edi            0x41304af7	1093683959
eip            0x813bc60	0x813bc60
eflags         0x10212	66066
cs             0x23	35
ss             0x2b	43
ds             0x2b	43
es             0x2b	43
fs             0x0	0
gs             0x7	7
st0            0	(raw 0x00000000000000000000)
st1            0	(raw 0x00000000000000000000)
st2            0	(raw 0x00000000000000000000)
st3            0	(raw 0x00000000000000000000)
st4            0	(raw 0x00000000000000000000)
st5            0	(raw 0x00000000000000000000)
st6            8000	(raw 0x400bfa00000000000000)
st7            52.400000000000000001387778780781446	(raw
0x4004d19999999999999a)
fctrl          0x37f	895
fstat          0x20	32
ftag           0xffff	65535
fiseg          0x23	35
fioff          0x813516f	135483759
foseg          0x2b	43
fooff          0xbfffd350	-1073753264
fop            0x51c	1308
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80	8064
orig_eax       0xffffffff	-1
(gdb)

I don't have any mplayer config files set up but it does seem to
recognize the MOV file for what it is.

So is the bug in mplayer or my camera? ;) None of the movie clips I've
shot will play, I think they all die in the same place.

I've uploaded the MOV file used above to your ftp site under the name
pict0243.mov.

Thanks for any help you can give me!
-- 
Cheers,
Derek



More information about the MPlayer-users mailing list