Created attachment 411870 [details] dev-libs:gobject-introspection-1.44.0:20150914-030710.log Mon Sep 14 05:59:00 CEST 2015 emerge --info =dev-libs/gobject-introspection-1.44.0 Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/x86/13.0, gcc-4.8.4, glibc-2.20-r2, 3.12.44-gentoo-JeR i686) ================================================================= System Settings ================================================================= System uname: Linux-3.12.44-gentoo-JeR-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.2 KiB Mem: 3499304 total, 329788 free KiB Swap: 500468 total, 387692 free Timestamp of repository gentoo: Mon, 14 Sep 2015 03:15:01 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.24 p1.4) 2.24 distcc 3.2rc1 i686-pc-linux-gnu [enabled] app-shells/bash: 4.3_p39::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.23.2::gentoo, 2.24-r3::gentoo sys-devel/gcc: 4.7.3-r1::gentoo, 4.8.3::gentoo, 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /world/gentoo/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 JeR location: /keeps/gentoo/local masters: gentoo priority: -100 Installed sets: @system ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -fstack-protector -march=pentium4 --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=pentium4 -Wall" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/portage/savedconfig /usr/lib/distcc/bin /usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-Os -fstack-protector -march=pentium4 --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=pentium4 -Wall" DISTDIR="/aches/gentoo/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.leaseweb.com/gentoo/ " LANG="en_GB.utf8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/aches/gentoo/packages/marga" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="256-color X a52 aac aalib acpi alsa ao artist-screen asf audiofile bash-completion berkdb bl bzip2 cairo caps cdda cddb cdio cdparanoia cdr chroot cle266 cli colors cpath cracklib crypt cscope css cups curl cxx dbus dga dillo dri dv dvd dvdr dvdread edl elf encode fam fame fbcon ffmpeg filecaps flac flash fluidsynth foomaticdb freetype gdbm ggi gif gimpprint glibc-omitfp glut gmedia gnutls graphite gs gtk gtk2 gtk3 gudev help-screen iconv id3tag idn imlib inkjar ipv6 jpeg kmod ladspa lcms libcaca libkms libsamplerate live lm_sensors logrotate lyrics-screen lzma lzo mad matroska midi mikmod minizip mjpeg mmx mng modplug modules mozilla mozsvg mozxmlterm mp3 mpeg mplayer multislot musepack nas ncurses network network-cron nfs nls nptl offensive ogg opengl openmp optimisememory pam pcre pda pdf perl physfs pic plotutils png python qt qt3 qt3support qt4 quicktime readline real realmedia rtc rtsp ruby samba sasl screenshot sdl seccomp server session sftplogging shout skins smux sndfile snmp song-screen speex spell ssl stream svg sysfs syslog tcl tcpd tetex tga theora threads tiff tk truetype unicode unicode3 unwind upnp usb userlocales v4l v4l2 vcd vidix vim-syntax vlm vorbis wavpack wcwidth win32codecs winbind x86 xanim xcomposite xft xml xml2 xosd xterm-color xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB nl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="mga nvidia" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
does it pass w/sandbox-2.6 ? i don't think the ptrace logic changed ...
(In reply to SpanKY from comment #1) > does it pass w/sandbox-2.6 ? Yes.
Created attachment 411994 [details, diff] sandbox-process_vm_readv-efault.patch what kind of settings do you have enabled in this kernel ? does this patch make it work ? it seems odd if it does ...
I have the similar problem when I try to install =dev-lang/fpc-2.6.4.
Created attachment 412018 [details] dev-lang/fpc-2.6.4 build.log
(In reply to Viktor Yu. Kovalskii from comment #4) please try the patch already posted
(In reply to SpanKY from comment #6) > (In reply to Viktor Yu. Kovalskii from comment #4) > > please try the patch already posted Thanks, this patch works for me.
i've committed the fallback logic as well as extended debug info: http://gitweb.gentoo.org/proj/sandbox.git/commit/?id=c17c4b85ca9e9af75bc16c9e49b6bf0b3ee6b4c8 this is part of sandbox-2.8 which is in the tree now. if you could try that out and post the new error messages you see, that'd be helpful.
Created attachment 412320 [details] dev-libs:gobject-introspection-1.44.0:20150920-091439.log libtool: link: i686-pc-linux-gnu-gcc -o /var/tmp/portage/dev-libs/gobject-introspection-1.44.0/work/gobject-introspection-1.44.0/tmp-introspectu7yvqu/Gio-2.0 -fno-strict-aliasing -Wsign-compare -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Os -fstack-protector -march=pentium4 --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=pentium4 -Wall -Wl,-O1 -Wl,--hash-style=gnu /var/tmp/portage/dev-libs/gobject-introspection-1.44.0/work/gobject-introspection-1.44.0/tmp-introspectu7yvqu/Gio-2.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -Wl,--as-needed -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lgio-2.0 -pthread * process_vm_readv(5871, 0xbfa0a368{0xb726e004, 2296}, 1, 0xbfa0a370{0xb77288f8, 2296}, 1, 0) failed: Bad address
(In reply to Jeroen Roovers from comment #9) thanks. looks like the rounding logic is wrong -- i used the remainder instead of the difference between the page size and the remainder.
should be fixed by: http://gitweb.gentoo.org/proj/sandbox.git/commit/?id=9a927b63d0f76fb5edaf4abf43784419b944f21c http://gitweb.gentoo.org/proj/sandbox.git/commit/?id=0a9188fd0a812cb864819d37a6a7217a135b85f0
*** Bug 560604 has been marked as a duplicate of this bug. ***
This bug should be fixed in sys-apps/sandbox-2.9.
*** Bug 563602 has been marked as a duplicate of this bug. ***