[MPlayer-users] Segmentation fault on -audiofile mp3

Philip Walden pwaldenlinux at pacbell.net
Tue Nov 8 05:34:55 CET 2005


Sorry for the red herring, looks like I get tge segmentation fault 
without the audiofile too. Here is a new gdb trace

Philip Walden wrote:

> I am getting a Segmentation fault on a recently built mencoder
>
> here is the output and gdb stacktrace
>
> ==============================================================

]$ gdb ~/downloads/mplayer/main/mencoder
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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-gnu"...
gdb) set args -ovc lavc -of mpeg -mpegopts format=dvd -vf 
scale=720:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts 
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:aspect=16/9 
-ofps 30000/1001 CEVedit2.mov -o CEVedit2.mpg
(gdb) run
Starting program: /home/pwalden/downloads/mplayer/main/mencoder -ovc 
lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,harddup -srate 
48000 -af lavcresample=48000 -lavcopts 
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:aspect=16/9 
-ofps 30000/1001 CEVedit2.mov -o CEVedit2.mpg
[New Thread 1077356256 (LWP 3362)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
 
MEncoder dev-CVS-051024-19:56-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
 
success: format: 0  data: 0x0 - 0x1984040
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
Compressed header uses zlib algo!
Compressed header size: 29294 / 57565
--------------
MOV track #0: 1396 chunks, 9770 samples
MOV: Found unknown movie atom SMI  (21)!
Image size: 500 x 281 (24 bpp)
Display size: 500 x 281
Fourcc: SVQ3  Codec: 'Sorenson Video 3'
--------------
MOV: longest streams: A: #-1 (0 samples)  V: #0 (9770 samples)
VIDEO:  [SVQ3]  500x281  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7  fourcc:0x33515653  size:500x281  fps:30.00  ftime:=0.0333
PACKET SIZE: 2048 bytes
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=480]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffsvq3] vfm: ffmpeg (FFmpeg Sorenson Video v3 (SVQ3))
==========================================================================
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4
VDec: vo config request - 500 x 281 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
 
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (720x480 fourcc=3267706d [mpg2])
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1077356256 (LWP 3362)]
0x08337510 in hl_decode_mb (h=0x4059b020) at h264.c:3446
3446                    chroma_dc_dequant_idct_c(h->mb + 16*16, 
h->chroma_qp, h->dequant4_coeff[IS_INTRA(mb_type) ? 1:4][h->chroma_qp][0]);
(gdb) bt
#0  0x08337510 in hl_decode_mb (h=0x4059b020) at h264.c:3446
#1  0x08348bec in svq3_decode_frame (avctx=0x86be9e0, data=0x8692520, 
data_size=0xbfffec0c, buf=0x86c9108 "A\003`",
    buf_size=1020) at svq3.c:971
#2  0x081f63f7 in avcodec_decode_video (avctx=0x86be9e0, picture=0x100, 
got_picture_ptr=0xbfffec0c,
    buf=0x100 <Address 0x100 out of bounds>, buf_size=1020) at utils.c:905
#3  0x080b4bd0 in decode (sh=0x86aaf90, data=0x86be9e0, len=1020, 
flags=-1073746932) at vd_ffmpeg.c:818
#4  0x080b0a53 in decode_video (sh_video=0x86aaf90, start=0x100 <Address 
0x100 out of bounds>, in_size=256, drop_frame=0)
    at dec_video.c:316
#5  0x08079bfe in main (argc=256, argv=0x100) at mencoder.c:1292
#6  0x42015704 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)




More information about the MPlayer-users mailing list