pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mplayer segfaults playing mp4 files on 6.0_STABLE/i386



For the last few weeks, I've been plagued by a vexing problem.  I'm not
entirely sure of the circumstances, but I noticed it when recovering
from the libssl version mess.  All but one instance of "multimedia/mplayer"
I've compiled from pkgsrc-2012Q3 on 6.0_STABLE/i386 systems dies with
signal 11 as follows when attempting to play most "mp4" files:

----------
MPlayer 1.1-4.5.3 (C) 2000-2012 MPlayer Team
192 audio & 400 video codecs

libavformat version 54.6.101 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  640x360  24bpp  29.970 fps  588.0 kbps (71.8 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2011-05-25 21:25:55
Load subtitles in Movies/
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.23.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 95.9 kbit/6.80% (ratio: 11993->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81


MPlayer interrupted by signal 11 in module: decode video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
----------

So far, non-mp4 file formats seem to work ok (MPEG1/2, quicktime, avi).
Only a couple of "mp4" files in my collection don't cause mplayer to
crash as shown above.

So far, mplayer built on 6.0_STABLE/amd64 and 6.99.15/amd64 work fine.
I've not had a chance yet to try it on 6.99.15/i386, or on 5.2_RC1/i386.
The one 6.0_STABLE/i386 system where it works properly was one just
upgraded from 5.1_STABLE with a clean build of the release (with the
correct libssl version/links).

I've gone so far as to completely wipe out all of my additional packages
on two of the build systems and rebuild/update the OS from scratch as
well as rebuild all packages leading up to "multimedia/mplayer" and the
result has always been the same.

As the fault message suggested, I added the following to "/etc/mk.conf":

.if "${PKGPATH}" == "multimedia/mplayer" || \
    "${PKGPATH}" == "multimedia/mplayer-share"
CONFIGURE_ARGS+= --enable-debug
.endif

but the build phase eventually fails, claiming:

[...]
gcc -MD -MP -Wundef -W -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-std=gnu99  -O2 -march=i486 -mtune=generic -pipe -g  -fno-tree-vectorize 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -Iffmpeg  
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2 -D_THREAD_SAFE -I/usr/X11R7/include  
-I/usr/pkg/include   -D_REENTRANT -I/usr/pkg/include   
-I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/pkg/include 
-I/usr/pkg/include/libdvdread -c -o stream/stream_cdda.o stream/stream_cdda.c
stream/stream_cdda.c:21:28: fatal error: cdda_interface.h: No such file or 
directory
compilation terminated.
gmake: *** [stream/stream_cdda.o] Error 1
*** Error code 2

Stop.
make: stopped in /d0/nbsd/pkgsrc/multimedia/mplayer
*** Error code 1

Stop.


Has anyone else observed any problems with "multimedia/mplayer" on
6.0_STABLE/i386 (or other?) platforms?

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index