Opened 13 years ago

Last modified 12 years ago

#30415 closed defect

mplayer-devel segmentation fault when scaling — at Version 2

Reported by: migmit@… Owned by: acho@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc:
Port: mplayer-devel

Description (last modified by mf2k (Frank Schima))

I've installed Lion a couple of days ago, then port-uninstalled everything, port-cleaned everything (with --all option), then port-selfupdated and reinstalled the stuff I need. Now every time I try to use "scale" filter, mencoder gives me "Segmentation fault". Mplayer, by the way, works fine. Mencodering without scaling works fine. I've tried different sources, got the same result.

Here is what happens when I run mencoder (with debug variant enabled) in GDB:

(gdb) run Dropbox/Public/G.avi -nosound -vf scale=480:320 -ovc x264 -o G.avi
Starting program: /opt/local/bin/mencoder Dropbox/Public/G.avi -nosound -vf scale=480:320 -ovc x264 -o G.avi
Reading symbols for shared libraries +++++++++++++++++++++++................................................................................................................................... done
MEncoder UNKNOWN-4.2.1 (C) 2000-2011 MPlayer Team
163 audio & 363 video codecs
success: format: 0  data: 0x0 - 0x723102
AVI file format detected.
[aviheader] Video stream found, -vid 0
VIDEO:  [XVID]  500x400  24bpp  30.000 fps  1513.3 kbps (184.7 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:500x400  fps:30.000  ftime:=0.0333
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=320]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
[mpeg4 @ 0x10097b700]Invalid and inefficient vfw-avi packed B frames detected
Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
[swscaler @ 0x10096c820]BICUBIC scaler, from yuv420p to yuv420p using MMX2
x264 [info]: using SAR=5/6
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 2.1
Pos:   0.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000122800000
0x0000000100187fd1 in yuv2yuvX_MMX2 ()

Change History (2)

comment:1 Changed 13 years ago by migmit@…

Sorry, forgot about formatting:

(gdb) run Dropbox/Public/G.avi -nosound -vf scale=480:320 -ovc x264 -o G.avi
Starting program: /opt/local/bin/mencoder Dropbox/Public/G.avi -nosound -vf scale=480:320 -ovc x264 -o G.avi
Reading symbols for shared libraries +++++++++++++++++++++++................................................................................................................................... done
MEncoder UNKNOWN-4.2.1 (C) 2000-2011 MPlayer Team
163 audio & 363 video codecs
success: format: 0  data: 0x0 - 0x723102
AVI file format detected.
[aviheader] Video stream found, -vid 0
VIDEO:  [XVID]  500x400  24bpp  30.000 fps  1513.3 kbps (184.7 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:500x400  fps:30.000  ftime:=0.0333
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=320]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
[mpeg4 @ 0x10097b700]Invalid and inefficient vfw-avi packed B frames detected
Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
[swscaler @ 0x10096c820]BICUBIC scaler, from yuv420p to yuv420p using MMX2
x264 [info]: using SAR=5/6
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 2.1
Pos:   0.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000122800000
0x0000000100187fd1 in yuv2yuvX_MMX2 ()

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: scale segmentation fault removed
Owner: changed from macports-tickets@… to acho@…
Note: See TracTickets for help on using tickets.