[MPlayer-users] Mencoder 0.90pre3 crash

Dimitris Stasinopoulos reverant at freemail.gr
Mon May 6 14:35:02 CEST 2002


Hello mencoder developers!

Trying to encode a DVD to Divx4 using divx4linux-20011025, mencoder crashes.
The crash happens after encoding about 30 seconds of video - sometime more 
sometimes less. The DVD disc is "Ghost in the Shell". I've followed the 
bugreport-howto you include in the distribution archive, and thus you will 
find all the necessary info attached. I've compiled mplayer using 
--enable-debug=3. The specs of this system (a Compaq Pressario 1722EA) can be 
found in system.specs, and the full output and debug output for the mencoder 
crash can be found in mencoder.crash.

Thanks for everything,
Jim

---
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
-------------- next part --------------
reverant at Demos:~ > gdb mencoder
GNU gdb 5.0
Copyright 2000 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-suse-linux"...(no debugging symbols found)...
(gdb) r -v -dvd 1 -chapter 1
Starting program: /usr/local/bin/mencoder -v -dvd 1 -chapter 1
(no debugging symbols found)...[New Thread 1024 (LWP 13963)]
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...


MEncoder 0.90pre3-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Tualatin (Type: 6, Stepping: 1)
extended cpuid-level: 4
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /home/reverant/.mplayer/codecs.conf: 34 audio & 91 video codecs
Font /home/reverant/.mplayer/font/font.desc loaded successfully! (206 chars)
File not found: 'frameno.avi'
get_path('') -> '/home/reverant/.mplayer/'
get_path('DVDKeys') -> '/home/reverant/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 15 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
[open] audio stream: 0 audio format: ac3 language: en aid: 128
[open] audio stream: 1 audio format: ac3 language: ja aid: 129
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: en
[open] number of subtitles on disk: 1
DVD start cell: 0  pack: 0x0-0x10FF5
DVD start=0 end=1390289
success: format: 0  data: 0x0 - 0xA9B68800
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x10FF5
Angle-seek synced! skip=0  new_lba=0x0
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x826d2f8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x826d2f8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x826d2f8
Checking for MOV
DEMUXER: freeing demuxer at 0x826d2f8
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x826d2f8
Checking for REAL
DEMUXER: freeing demuxer at 0x826d2f8
DEMUXER: freeing demuxer at 0x826d2f8
DEMUXER: freeing demuxer at 0x826d2f8
DEMUXER: freeing demuxer at 0x826d2f8
DEMUXER: freeing demuxer at 0x826d2f8
DEMUXER: freeing demuxer at 0x826d2f8
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 129
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  10000.0 kbps (1250.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [a52] drv:14 (AC3-liba52)
Initializing audio codec...
Selecting Audio Decoder: [liba52] AC3-liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 56000->192000
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576, Mpeg PES
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576, Planar YV12
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x403 (i=0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
video_out->init(720x576->1024x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x3  req=0x0
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
MP3 audio selected
Writing AVI header...
LAME version 3.92  (http://www.mp3dev.org/)
Using polyphase lowpass  filter, transition band: 19548 Hz - 20129 Hz

misc:

        scaling: 0.000000
        ch0 (left) scaling: 0.000000
        ch1 (right) scaling: 0.000000
        filter type: 0
        quantization: ISO
        huffman search: normal
        experimental X=0 Y=0 Z=0
        ...

stream format:

        MPEG-1 Layer 3
        2 channel - stereo
        padding: auto
        variable bitrate - VBR rh (default)
        ...

psychoacoustic:

        tonality estimation limit: 8871.700195 Hz
        using short blocks: allowed
        adjust masking: -1.000000 dB
        psymodel: 1
        noise shaping: 1
         ^ amplification: 0
         ^ stopping: 0
        ATH: using
         ^ type: 4
         ^ adjust type: 3
         ^ adapt threshold type: 2
        using temporal masking effect: yes
        interchannel masking ratio: 0.000000
        ...

==> Found audio stream: 128
*** [expand] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [expand] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes 6/4 D/S 0/0
*** [divx4] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [expand] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes 6/18 D/S 0/0
(no debugging symbols found)...(no debugging symbols found)...4 [641:159] A/Vms 8/38 D/S 0/0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 13963)]
0x401276cf in set_encore_timer_frequency () from /usr/local/lib/libdivxencore.so
(gdb) bt
#0  0x401276cf in set_encore_timer_frequency () from /usr/local/lib/libdivxencore.so
#1  0x40135164 in mb_counter () from /usr/local/lib/libdivxencore.so
Cannot access memory at address 0x18
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x401276af to 0x401276ef:
0x401276af <set_encore_timer_frequency+71015>:  add    %al,(%eax)
0x401276b1 <set_encore_timer_frequency+71017>:  lea    0xffffffff(%edx),%eax
0x401276b4 <set_encore_timer_frequency+71020>:  movswl 0x46(%esp,1),%ecx
0x401276b9 <set_encore_timer_frequency+71025>:  sub    0xffffffb0(%ebx,%ecx,4),%eax
0x401276c0 <set_encore_timer_frequency+71032>:  cmp    $0x28,%eax
0x401276c3 <set_encore_timer_frequency+71035>:  jg     0x401276e0 <set_encore_timer_frequency+71064>
0x401276c5 <set_encore_timer_frequency+71037>:  lea    (%eax,%eax,2),%edx
0x401276c8 <set_encore_timer_frequency+71040>:  shl    $0x2,%edx
0x401276cb <set_encore_timer_frequency+71043>:  lea    0xfffffffc(%edx,%ecx,4),%edx
0x401276cf <set_encore_timer_frequency+71047>:  mov    0xffffe95c(%edx,%ebx,1),%edx
0x401276d6 <set_encore_timer_frequency+71054>:  mov    %edx,0x3c(%esp,1)
0x401276da <set_encore_timer_frequency+71058>:  jmp    0x401276e8 <set_encore_timer_frequency+71072>
0x401276dc <set_encore_timer_frequency+71060>:  lea    0x0(%esi,1),%esi
0x401276e0 <set_encore_timer_frequency+71064>:  movl   $0x0,0x3c(%esp,1)
0x401276e8 <set_encore_timer_frequency+71072>:  mov    0x3c(%esp,1),%ecx
0x401276ec <set_encore_timer_frequency+71076>:  mov    %ecx,0x1c(%esp,1)
End of assembler dump.
(gdb)
-------------- next part --------------
Custom SuSE Linux 7.1

Linux Demos 2.4.18 #1 Sat May 4 11:26:39 EEST 2002 i686 unknown

-rwxr-xr-x    1 root     root      1382179 Éáí 19  2001 /lib/libc.so.6

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
Build Operating System: Linux 2.4.18 i686 [ELF]
Module Loader present

gcc version 2.95.2 19991024 (release)
GNU ld version 2.10.91 (with BFD 2.10.0.33)
GNU assembler 2.10.91

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 11
model name      : Intel(R) Pentium(R) III Mobile CPU      1133MHz
stepping        : 1
cpu MHz         : 1132.390
cache size      : 512 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 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 2260.99


More information about the MPlayer-users mailing list