pkgsrc-Users archive

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

mplayer problems with webm files



Hello,
I updated my box (i386) from NetBSD 6.0 to NetBSD 6.1 and from
pkgsrc-2012Q4 to pkgsrc-2013Q1.


After I have installed multimedia/mplayer I noticed a crash playing
webm files, so I reinstalled it with the "debug" PKG_OPTION:

 $ ftp 'http://webm.html5.org/test.webm'
 [...]
 $ mplayer test.webm 
 MPlayer 1.1-4.5.3 (C) 2000-2012 MPlayer Team
 192 audio & 400 video codecs

 Playing test.webm.
 Cache fill:  0.00% (0 bytes)   

 libavformat version 54.6.101 (internal)
 libavformat file format detected.
 [lavf] stream 0: video (vp8), -vid 0, Video
 VIDEO:  [VP80]  256x120  0bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
 Clip info:
  creation_time: 2011-01-22 11:51:29
 Load subtitles in ./
 ==========================================================================
 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
 libavcodec version 54.23.100 (internal)
 Selected video codec: [ffvp8] vfm: ffmpeg (FFmpeg VP8)
 ==========================================================================
 Audio: no sound
 Starting playback...
 Memory fault (core dumped)
 Parent process disappeared, exiting cache process.


Here the output of gdb(1) (hope this helps):

 $ gdb -core mplayer.core /usr/pkg/bin/mplayer 
 GNU gdb (GDB) 7.3.1
 Copyright (C) 2011 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show
 copying"
 and "show warranty" for details.
 This GDB was configured as "i486--netbsdelf".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /usr/pkg/bin/mplayer...done.
 [New process 1]
 Core was generated by `mplayer'.
 Program terminated with signal 11, Segmentation fault.
 #0  ff_vp8_v_loop_filter16y_inner_sse2 () at
 libavcodec/x86/vp8dsp.asm:2130
 2130    INNER_LOOPFILTER v, 16
 (gdb) bt
 #0  ff_vp8_v_loop_filter16y_inner_sse2 () at
 libavcodec/x86/vp8dsp.asm:2130
 #1  0xbfbfd704 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)


In NetBSD 6.0 and pkgsrc-2012Q4 multimedia/mplayer worked correctly
with webm. I also did not changed my /etc/mk.conf (I will paste just
interesting lines):

 [...]
 CFLAGS+= -pipe -O2 -march=pentium-m
 [...]
 PKG_DEFAULT_OPTIONS+= -arts -esound -gnome mmx -nas -pulseaudio wide-curses
 [...]
 PKG_OPTIONS.mplayer+= -mplayer-win32 -dts -sdl debug
 [...]


Do you have the same problem? Maybe disabling the proper asm
optimizations is a possible workaround.
If you need more information or the .core file feel free to contact me!


Thank you in advance,
L.


Home | Main Index | Thread Index | Old Index