[MPlayer-users] SIGFPE when trying to mencode a section

Scott Beck sbeck at gossamer-threads.com
Mon Jul 7 01:03:16 CEST 2003


Sorry, the command was with mencoder, not mplayer.

On Sun, 2003-07-06 at 15:47, Scott Beck wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> 
> ______________________________________________________________________
> 
> Hi,
> 
> This is a bug report about mencoder. I was trying to encode a specific
> section of an mpeg into avi format with the following command:
> mplayer -idx 1045_20030702120000_20030702130000.nuv -ovc lavc  -lavcopts
> vcodec=mpeg4:vhq:vbitrate=1500:keyint=15:aspect=1.3333 -oac mp3lame
> -lameopts cbr:cbr=128:padding=0 -o seg6-18717.avi -ss 2949 -endpos 395
> -noskip
> 
> (the .nuv file is actually mpeg2)
> 
> This ends with the following error:
> Floating point exception
> 
> I recompiled from CVS with debug turned on and discovered the problem
> still exists. I ran it under gdb. The output from that is attached but
> basically it was dying in mencoder.c line 1272 which is:
>    
> ((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nBlockSize=(mux_a->size+(mux_a->h.dwLength>>1))/mux_a->h.dwLength;
> 
> I added a print:
>     printf("\n\nmux_a->size[%ld]; mux_a->h.dwLength[%ld]\n",
>             mux_a->size, mux_a->h.dwLength)
> before this line and it output:
> mux_a->size[0]; mux_a->h.dwLength[0]
> 
> The information about my system that the DOCS say I should specify
> follow:
> 
> Linux Dist: Gentoo Linux 1.4
> 
> sbeck at sbeck sbeck $ uname -a
> Linux sbeck.office.gossamer-threads.com 2.4.20-gentoo-r2 #5 Sat May 17
> 00:06:46 
> PDT 2003 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux
> sbeck at sbeck sbeck $ ls -l /lib/libc[.-]*
> -rwxr-xr-x    1 root     root      1441357 May  5 02:58
> /lib/libc-2.3.2.so*
> lrwxrwxrwx    1 root     root           13 May  5 02:58 /lib/libc.so.6
> -> libc-2
> .3.2.so*
> sbeck at sbeck sbeck $ X -version
> 
> XFree86 Version 4.3.0
> Release Date: 27 February 2003
> X Protocol Version 11, Revision 0, Release 6.6
> Build Operating System: Linux 2.4.20-gentoo-r2 i686 [ELF] 
> Build Date: 03 July 2003
>         Before reporting problems, check http://www.XFree86.Org/
>         to make sure that you have the latest version.
> Module Loader present
> sbeck at sbeck sbeck $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
> Configured with: /var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/configure
> --prefix
> =/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2
> --includedir=/usr/lib/gcc-lib/
> i686-pc-linux-gnu/3.2.3/include
> --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/
> 3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man
> --infodir=/usr/share/
> gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared
> --host=i686-pc-linux-gnu --t
> arget=i686-pc-linux-gnu --with-system-zlib
> --enable-languages=c,c++,ada,f77,objc
> ,java --enable-threads=posix --enable-long-long --disable-checking
> --enable-cstd
> io=stdio --enable-clocale=generic --enable-__cxa_atexit
> --enable-version-specifi
> c-runtime-libs
> --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/i
> nclude/g++-v3 --with-local-prefix=/usr/local --enable-shared
> --disable-nls
> Thread model: posix
> gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
> sbeck at sbeck sbeck $  ld -v
> GNU ld version 2.14.90.0.2 20030515
> sbeck at sbeck sbeck $ as --version
> GNU assembler 2.14.90.0.2 20030515
> Copyright 2002 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms
> of
> the GNU General Public License.  This program has absolutely no
> warranty.
> This assembler was configured for a target of `i686-pc-linux-gnu'.
> sbeck at sbeck sbeck $ cat /proc/cpuinfo
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 6
> model           : 8
> model name      : AMD Athlon(tm) XP 1800+
> stepping        : 0
> cpu MHz         : 1533.434
> cache size      : 256 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
> bogomips        : 3060.53
> 
> sbeck at sbeck sbeck $ /sbin/lspci 
> 00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 3189
> 00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b168
> 00:07.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
> (rev 30)
> 00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
> 00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
> 00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
> 00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
> 00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3177
> 00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97
> Audio Controller (rev 50)
> 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II]
> (rev 74)
> 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX]
> (rev a1)
> sbeck at sbeck sbeck $ 
> 
> 
> If I missed anything let me know.
> 
> Cheers,
> 
> Scott
-- 
Scott Beck <sbeck at gossamer-threads.com>
Gossamer Threads



More information about the MPlayer-users mailing list