[Mplayer-advusers] Fw: [MPlayer-users] BUG REPORT: mplayer/mencoder core dump on MOV file from MinoltaDimage 7i camera

Attila Kinali kinali at gmx.net
Mon Apr 21 20:57:55 CEST 2003


Heyo ppl!

This bug is caused by a too small value of udta_len
in demux_mov.c at line 1448:

(changed stream_read to a non-inline function for debuging)
---schnipp---
(gdb) run -v pict0243.mov 
Starting program: /tmp/main/mplayer -v pict0243.mov
[New Thread 16384 (LWP 10960)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030228-14:06-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: Datei oder Verzeichnis nicht gefunden
Reading config file /home/attila/.mplayer/config
Reading /home/attila/.mplayer/codecs.conf: can't open '/home/attila/.mplayer/codecs.conf': Datei oder Verzeichnis nicht gefunden
Reading /usr/local/etc/mplayer/codecs.conf: 53 audio & 141 video codecs
CommandLine: '-v' 'pict0243.mov'
get_path('font/font.desc') -> '/home/attila/.mplayer/font/font.desc'
Font /home/attila/.mplayer/font/font.desc loaded successfully! (140 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Keine Berechtigung
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/attila/.mplayer/input.conf'
Can't open input config file /home/attila/.mplayer/input.conf : Datei oder Verzeichnis nicht gefunden
Can't open input config file /usr/local/etc/mplayer/input.conf : Datei oder Verzeichnis nicht gefunden
Falling back on default (hardcoded) input config
get_path('pict0243.mov.conf') -> '/home/attila/.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 0x8453ea0  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8453ea0  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8453ea0  
Checking for REAL
DEMUXER: freeing demuxer at 0x8453ea0  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8453ea0  
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 16384 (LWP 10960)]
0x08155b28 in lschunks (demuxer=0x8454708, level=0, endpos=14383680, trak=0x0)
    at demux_mov.c:1448
1448                            stream_read(demuxer->stream, (char *)&dump, udta_len-4-4);
(gdb) p udta_len    
$1 = 1
---schnapp---

But udta_len needs to be at least 8 (see call to stream_read)



HTH
			Attila Kinali


-- 
Emacs ist für mich kein Editor. Für mich ist das genau das gleiche, als wenn
ich nach einem Fahrrad (für die Sonntagbrötchen) frage und einen pangalaktischen
Raumkreuzer mit 10 km Gesamtlänge bekomme. Ich weiß nicht, was ich damit soll.
		-- Frank Klemm, de.comp.os.unix.discussion
-------------- next part --------------
An embedded message was scrubbed...
From: Derek Scherger <derek at echologic.com>
Subject: [MPlayer-users] 
 BUG REPORT: mplayer/mencoder core dump on MOV file from MinoltaDimage
 7i camera
Date: Sun, 20 Apr 2003 20:22:23 -0600
Size: 29926
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20030421/df2247b2/attachment.eml>


More information about the MPlayer-advusers mailing list