[MPlayer-users] Segmentation fault on -audiofile mp3

Philip Walden pwaldenlinux at pacbell.net
Tue Nov 8 03:37:27 CET 2005


I am getting a Segmentation fault on a recently built mencoder

here is the output and gdb stacktrace

==============================================================
(gdb) run
Starting program: /home/pwalden/downloads/mplayer/main/mencoder -oac 
lavc -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:acodec=ac3:abitrate=192:aspect=16/9 
-ofps 30000/1001 -audiofile RebelBlockadeRunner.mp3 CEVedit2.mov -o 
CEVedit2.mpg
[New Thread 1077356256 (LWP 3159)]
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)
Audio file file format detected.
[V] filefmt:65536  fourcc:0x33515653  size:500x281  fps:30.00  ftime:=0.0333
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
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))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/0ch/??...
Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le...
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 3159)]
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=0x86d1bd0, data=0x86d1ae0, 
data_size=0xbfffe43c, buf=0x86fe0a0 "A\003`",
    buf_size=1020) at svq3.c:971
#2  0x081f63f7 in avcodec_decode_video (avctx=0x86d1bd0, picture=0x100, 
got_picture_ptr=0xbfffe43c,
    buf=0x100 <Address 0x100 out of bounds>, buf_size=1020) at utils.c:905
#3  0x080b4bd0 in decode (sh=0x86ab9b8, data=0x86d1bd0, len=1020, 
flags=-1073748932) at vd_ffmpeg.c:818
#4  0x080b0a53 in decode_video (sh_video=0x86ab9b8, 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