Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338669 - media-video/vlc-1.0.6 doesent' work with MPROTECT on hardened profile
Summary: media-video/vlc-1.0.6 doesent' work with MPROTECT on hardened profile
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-25 13:39 UTC by Agostino Sarubbo
Modified: 2010-09-27 23:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2010-09-25 13:39:09 UTC
vlc-1.0.6 and previous version doesn't work when pax is enabled and on this binary is active MPROTECT.


ago@E2160 ~ $ vlc
VLC media player 1.0.6 Goldeneye
Segmentation fault


Later E2160 ago # paxctl -m /usr/bin/vlc 

and it works!


Reproducible: Always
Comment 1 Agostino Sarubbo gentoo-dev 2010-09-25 13:39:36 UTC
Portage 2.1.9.10 (hardened/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.11.2-r0, 2.6.32-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.32-hardened-r9-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2160_@_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 24 Sep 2010 14:30:21 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://134.68.240.40/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdr cli cracklib crypt custom-cflags custom-optimization cxx dbus dri dvd dvdr ffmpeg gdbm gif gpm gstreamer gtk hal hardened iconv java jpeg jpeg2k justify kde lame mms mmx modules mp3 mpeg mudflap ncurses networkmanager nls nptl nptlonly nsplugin opengl openmp pam pcre perl pic png pppd python qt3support qt4 readline reflection session sse sse2 ssl svg symlink sysfs tcpd threads tiff unicode urandom x264 xcb xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Magnus Granberg gentoo-dev 2010-09-25 23:04:38 UTC
What use flags and what opengl lib are you useing?
Comment 3 Agostino Sarubbo gentoo-dev 2010-09-25 23:46:16 UTC
(In reply to comment #2)
> What use flags and what opengl lib are you useing?
> 

E2160 ago # eix -e media-video/vlc
[I] media-video/vlc
     Available versions:  1.0.6 ~1.1.4 **1.1.9999 **9999 {(+)X a52 aac aalib alsa altivec atmo avahi bidi cdda cddax cddb cdio dbus dc1394 debug dirac directfb dts dvb dvd elibc_glibc fbcon +ffmpeg flac fluidsynth fontconfig +gcrypt ggi gnome gnutls hal httpd id3tag ieee1394 jack kate kde libass libcaca libnotify libproxy libsysfs libtiger libv4l libv4l2 lirc live lua matroska mmx modplug mp3 mpeg mtp musepack ncurses nsplugin ogg opengl optimisememory oss pda png projectm pulseaudio pvr +qt4 remoteosd rtsp run-as-root samba schroedinger sdl sdl-image shine shout skins speex sqlite sse stream svg svga taglib theora truetype twolame udev upnp v4l v4l2 vaapi vcdinfo vcdx vlm vorbis win32codecs wma-fixed x264 (+)xcb xinerama xml xosd xv zvbi}
     Installed versions:  1.0.6(13:33:00 25/09/2010)(X alsa dbus dvd elibc_glibc ffmpeg gcrypt hal mmx mp3 mpeg ncurses nsplugin opengl png qt4 sse svg x264 xcb -a52 -aac -aalib -altivec -atmo -avahi -bidi -cdda -cddax -cddb -cdio -dc1394 -debug -dirac -directfb -dts -dvb -fbcon -flac -fluidsynth -fontconfig -ggi -gnome -gnutls -httpd -id3tag -ieee1394 -jack -kate -libass -libcaca -libnotify -libproxy -libsysfs -libtiger -libv4l2 -lirc -live -lua -matroska -modplug -mtp -musepack -ogg -optimisememory -oss -pda -pulseaudio -pvr -remoteosd -rtsp -run-as-root -samba -schroedinger -sdl -sdl-image -shine -shout -skins -speex -stream -svga -taglib -theora -truetype -twolame -udev -upnp -v4l -v4l2 -vcdinfo -vcdx -vlm -vorbis -win32codecs -wma-fixed -xinerama -xml -xosd -xv -zvbi)
     Homepage:            http://www.videolan.org/vlc/
     Description:         VLC media player - Video player and streamer


E2160 ago # eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


Other information?
Comment 4 Agostino Sarubbo gentoo-dev 2010-09-27 23:25:47 UTC
I check with nouveau drivers and it's run.