[MPlayer-dev-eng] Mencoder SegFault on Ubuntu 6.01 (Intel Pentium 4 vs Opteron Dual Core)

Nick Fedchik nick at fedchik.org.ua
Tue Nov 28 19:53:37 CET 2006


Hello!
I've two hosts, Ubuntu Linux 6.01 installed, the main difference - first with 
one Intel Pentium 4, second with 2 CPU
Dual Core AMD Opteron(tm) Processor 285 (Family: 15, Model: 33, Stepping: 2)

mencoder from Ubuntu 6.01
MEncoder 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team


fnm at voodle-ci:/usr/local/src$ /usr/bin/mencoder ./dvb.Bloomberg_European_TV.20061123193659.000005.ts -o 
output-k1.flv -of lavf -lavfopts 
i_certify_that_my_video_stream_does_not_use_b_frames:format=flv -vf 
spp,scale -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts 
vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3  -srate 
22050 -forceidx

MEncoder 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Opteron Egypt,Italy,Denmark (Family: 15, Stepping: 
2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
91 audio & 204 video codecs
success: format: 0  data: 0x0 - 0x1fe000
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=1360)AUDIO MPA(pid=1320) NO SUBS (yet)!  PROGRAM N. 3
Opened TS demuxer, audio: 50(pid 1320), video: 10000002(pid 1360)...POS=564
VIDEO:  MPEG2  704x576  (aspect 2)  25.000 fps  3500.0 kbps (437.5 kbyte/s)
[V] filefmt:29  fourcc:0x10000002  size:704x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
** MUXER_LAVF 
*****************************************************************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale]
Opening video filter: [spp]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 704 x 576 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 22050Hz/0ch/??...
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/s16le -> 22050Hz/2ch/s16le...
Segmentation fault


Same command with same parameters is successfull for Pentium4-aware host.

ltrace <cmd> tail:

memmove(0x880b3e8, 0x880b430, 4128, 72, 32)              = 0x880b3e8
lame_encode_buffer_interleaved(0x87e3d50, 0x87e5be8, 576, 0xb6ea1008, 
0x100000)        = 0
free(0x87df3b8)                                          = <void>
free(0x87df390)                                          = <void>
free(0x87df4a0)                                          = <void>
free(0x87df2a0)                                          = <void>
free(0x87df590)                                          = <void>
free(0x87df568)                                          = <void>
realloc(0x8828d10, 2582)                                 = 0x882a0b0
realloc(0x88296e0, 2582)                                 = 0x882aad0
memmove(0x882a0b0, 0x882aa7c, 74, 0xbfeaeba8, 1291)      = 0x882a0b0
memmove(0x882aad0, 0x882b49c, 74, 0xbfeaeba8, 1291)      = 0x882aad0
memmove(0x8852de0, 0x87e64f0, 2304, 5016, 2304)          = 0x8852de0
memmove(0x880b3e8, 0x880c780, 3720, 5016, 2304)          = 0x880b3e8
lame_encode_buffer_interleaved(0x87e3d50, 0x87e5be8, 576, 0xb6ea1008, 0x100000 
<unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Is it a architecture-related bug?
Any other ideas?

Input file availiable at
http://voodle-ci.ukrsat.com/~fnm/dvb.Bloomberg_European_TV.20061123193659.000005.ts
(Size 2.0M)

Don't know how to provide more info about segfault...

-- 
Best regards, Nick Fedchik



More information about the MPlayer-dev-eng mailing list