[MPlayer-dev-eng] [BUGREPORT]: muxer_mpeg broken

Nico nsabbi at libero.it
Mon Jun 2 11:02:08 CEST 2003



Hi,

when I try to transmux an avi file with MPEG1+MP2 to mpg  I get SIGSEGV:


[root at xp MPlayer-20030602]# gdb mencoder
GNU gdb 5.3-1mdk (Mandrake Linux)
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 "i586-mandrake-linux-gnu"...


run   -of mpeg -o x.mpg  ../../Films/Films/x.avi -oac copy -ovc copy


Starting program: /home/nico/EMI/MPlayer-20030602/mencoder -of mpeg -o 
x.mpg  ../../Films/Films/x.avi -oac copy -ovc copy
[New Thread 16384 (LWP 10223)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MEncoder dev-CVS-030602-06:00-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading /root/.mplayer/codecs.conf: can't open 
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 55 audio & 141 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
success: format: 0  data: 0x0 - 0x1989AC
AVI file format detected.
VIDEO:  [mpg1]  352x288  24bpp  25,00 fps  707,1 kbps (86,3 kbyte/s)
VIDEO:  MPEG1  352x288  (aspect 1)  25,00 fps  700,0 kbps (87,5 kbyte/s)
[V] filefmt:3  fourcc:0x10000001  size:352x288  fps:25,00  ftime:=0,0400
videocodec: framecopy (352x288 24bpp fourcc=3167706d)
audiocodec: framecopy (format=50 chans=2 rate=48000 bits=16 bps=32000 
sample=1)
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4
Pos:   0,9s     22f (12%)   0fps Trem:   0min   1mb  A-V:0,036 [0:256]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10223)]
0x080edf1c in mpegfile_write_chunk (s=0x83ae3a8, len=0, flags=0) at 
muxer_mpeg.c:252
252         if (s->buffer[0] != 0 || s->buffer[1] != 0 || s->buffer[2] 
!= 1 || len<6) {
(gdb) p s
$1 = (muxer_stream_t *) 0x83ae3a8
(gdb) p s->buffer[0]
Cannot access memory at address 0x0
(gdb) p s->buffer
$2 = (unsigned char *) 0x0



If needed I can upload  x.avi at mphq, but the error is reproducible at 
any time, and it's been so for a loooooong time (in mplayer-0.90pre5 it 
worked well).

Thanks,
        Nico




More information about the MPlayer-dev-eng mailing list