>>> Source compiled. * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- * LOG FILE: "/var/log/sandbox/sandbox-30909.log" * VERSION 1.0 FORMAT: F - Function called $ cat ./info.txt ----------------------------------------------------------------- This is an unstable amd64 chroot image (named amd64-desktop-unstable_20151227-130200) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- Portage 2.2.26 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.22-r1, 4.3.3-hardened-r3 x86_64) ================================================================= System uname: Linux-4.3.3-hardened-r3-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 16164680 total, 1070404 free KiB Swap: 16777212 total, 16718520 free Timestamp of repository gentoo: Mon, 04 Jan 2016 03:22:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage/ priority: 1 local location: /usr/local/portage masters: gentoo priority: 2 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/entropy /etc/stunnel/stunnel.conf /opt/openfire/resources/security/ /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/fax/etc /var/yp/Makefile" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="--verbose-conflicts --deep --color=n --nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" 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="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding btrfs bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus designer dri dts dvdr ecc egl eglfs emboss encode exif fam firefox flac fontconfig fortran fpm freetds gdbm gif glamor gles2 gpm gtk gui help iconv introspection ipv6 jpeg lcms ldap libnotify logrotate mad mmx mmxext mng mod modules mp3 mp4 mpeg multilib ncurses nls nptl obj objc offensive ogg opengl openmp pam pango pax_kernel pcre pdf png policykit postgres ppds qemu qt3support qt4 qt5 readline sdl seccomp semantic-desktop session smartcard sockets spell spice sql sqlite sse sse2 sse4 ssl ssse3 startup-notification svg system-libvpx system-sqlite tcpd theora tiff tls truetype udev udisks ufed uml unicode upower usb uxa v4l2 vaapi vorbis vpx wxwidgets x264 xattr xcb xml xmlreader xmp xscreensaver xv xvid zenmap zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 421880 [details] dev-python:autobahn-0.11.0:20160104-054352.log
Created attachment 421882 [details] emerge-history.txt
Created attachment 421884 [details] sandbox-30909.log
* ACCESS DENIED: open_wr: /usr/lib64/python2.7/site-packages/twisted/plugins/7uaketBfOdE6HHNRdropin.cache.new Twisted found (default reactor is <class 'twisted.internet.epollreactor.EPollReactor'>) Twisted dropin.cache regenerated. * python3_4: running distutils-r1_run_phase distutils-r1_python_compile
Absolutely unreproducible. Don't know what to fix here.
(In reply to Justin Lecher from comment #5) Hhm, the build host is hardened but I did not found anything in the grsec/pax logs, bug maybe ... ?
Created attachment 444564 [details] emerge-info.txt maybe this occurence at another box helps ?
Created attachment 444566 [details] dev-python:autobahn-0.16.0:20160831-073801.log
Created attachment 444568 [details] emerge-history.txt
Created attachment 444570 [details] sandbox-5861.log
I'm experiencing this same issue on two different boxes. emerge --info Portage 2.3.0 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r2, 4.7.2-ck x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.7.2-ck-x86_64-Intel-R-_Core-TM-_i7-4771_CPU_@_3.50GHz-with-gentoo-2.3 KiB Mem: 8128208 total, 3832952 free KiB Swap: 4194300 total, 4194272 free Timestamp of repository gentoo: Sun, 04 Sep 2016 09:00:01 +0000 sh bash 4.3_p46 ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] ccache version 3.2.7 [disabled] app-shells/bash: 4.3_p46::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.0-r1::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/ccache: 3.2.7::gentoo dev-util/cmake: 3.6.1-r1::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.21.7::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.4_p6-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.26.1::gentoo sys-devel/gcc: 5.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://10.20.20.20/gentoo-portage priority: -1000 anders-larsson location: /usr/local/overlays/anders-larsson sync-type: git sync-uri: https://github.com/anders-larsson/gentoo-overlay.git masters: gentoo bumblebee location: /usr/local/overlays/bumblebee sync-type: git sync-uri: https://github.com/Bumblebee-Project/bumblebee-gentoo.git masters: gentoo gpmdp-overlay location: /usr/local/overlays/gpmdp-overlay masters: gentoo hawkthorne location: /usr/local/overlays/hawkthorne masters: gentoo local location: /usr/local/portage masters: gentoo obs-studio-overlay location: /usr/local/overlays/obs sync-type: git sync-uri: https://github.com/saintdev/obs-studio-overlay.git masters: gentoo steam-overlay location: /usr/local/overlays/steam-overlay sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo Installed sets: @qt5-essentials ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" 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/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.leaseweb.com/gentoo/ http://gentoo.mirrors.tds.net/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aacs acl acpi alsa amd64 amr amrnb amrwb avahi avx avx2 bash-completion bdplus berkdb bluetooth bluray bzip2 cairo caps cdda cdr cec cli consolekit cracklib crypt cxx dbus declarative dirac dri dts dvb dvd dvdr emboss encode exif fam fbcondecor ffmpeg fftw flac fltk fortran gdbm gif git glamor gpg gphoto2 gpm gstreamer gtk htmlhandbook iconv ieee1394 inotify ios ipv6 java joystick jpeg kde kipi kvm lapack lcms ldap libass libav libnotify libv4l2 lirc live lm_sensors logrotate lzma lzo mad matroska mdadm mmap mmx mmxext mng modules mp3 mp4 mpeg mtp multilib musicbrainz mythtv ncurses nls nptl ntfs ogg openexr opengl openmp openssl opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt qt3support qt4 qt5 qwt rar readline real redland rtmp samba schroedinger sdl seccomp semantic-desktop session spell sqlite sqlite3 srt sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification subversion svg tcpd theora threads thumbnail tiff truetype udev udf udisks unicode upower usb v4l vaapi vdpau vnc vorbis vpx webkit widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 keyboard mouse joystick" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" LIRC_DEVICES="inputlirc" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="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" USE_PYTHON="2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-python/autobahn-0.12.1::gentoo was built with the following: USE="-test" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_4 -python3_3"
Created attachment 444982 [details] dev-python:autobahn-0.16.0.log Build log
Created attachment 444984 [details] sandbox-2970.log Sandbox log
Same here. A guess on what it could be: from setup.py: from twisted.plugin import IPlugin, getPlugins list(getPlugins(IPlugin)) however, it only does this when _HAD_SIX is true, so please make sure you have it when trying to reproduce the problem. try: import six # noqa _HAD_SIX = True except ImportError: _HAD_SIX = False
And indeed, breaking the system temporarily by umerging "six" is a workaround.
Some problem with dev-python/autobahn-0.16.0 As a workaround I emerge without the sandbox: FEATURES="-sandbox -usersandbox" emerge -1av autobahn
I just pushed a fix for the autobahn 0.16.0 and 17.5.1 releases into the tree. The problem was intermittent, some systems, certain twisted, autobahn versions were ok,, other systems same ons still failed. I only experienced it today for the first time. What was happening was autobahn was triggering a twisted cache update which was causing the access violation. I added addpredict to python_compile() and it fixed it for me with both versions of twisted and both versions of autobahn on my main system. Will be testing again on some work systems once the changes are available via sync.
That's not a fix but a cheap workaround. The fix would be to prevent the cache updates from happening, either by fixing the cause or disabling them.
Update. mgorny has created a new python script based on the eclass code to regenerate the twisted plugins cache (added to the twisted package. With that, the new twisted package now no longer uses the old twisted-r1 eclass. Additionally TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE has now been enabled by default in make.defualts. This will prevent any use of twisted calls during an applications install phase from triggering the access violation. Any packages that install to the twisted plugins directory will need to add the following to their ebuilds to properly maintain the twisted cache. pkg_postinst() { python_foreach_impl twisted-regen-cache || die } pkg_postrm() { python_foreach_impl twisted-regen-cache || die } I have updated all older autobahn ebuilds still depending on the split twisted releases to correctly do the above using the code in the twisted-r1 eclass. This issue should be resolved now.