Reproduce: * Upgrade to =dev-python/cryptography-1.2.0 and =dev-python/cffi-1.2.1 * Have net-misc/flexget-1.2.346 * Run flexget Output: zsh: segmentation fault flexget dmesg: flexget[9191]: segfault at 0 ip 0000030b04f00314 sp 000003921bcfc5c0 error 6 in libffi.so.6.0.1[30b04efa000+8000] Workaround: * Downgrade to =dev-python/cryptography-0.9.3' and its dependency '=dev-python/cffi-1.1.2' * emerge '=dev-python/cryptography-0.9.3' '=dev-python/cffi-1.1.2' --oneshot -atv emerge --info: Portage 2.2.20.1 (python 2.7.10-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.5, glibc-2.21-r1, 3.17.7-hardened-r1 x86_64) ================================================================= System uname: Linux-3.17.7-hardened-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-gentoo-2.2 KiB Mem: 1984864 total, 144304 free KiB Swap: 1060280 total, 318852 free Timestamp of repository gentoo: Tue, 10 Nov 2015 00:50:01 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p39::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo dev-util/cmake: 3.3.1-r1::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.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.8.5::gentoo, 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 voyageur location: /var/lib/layman/voyageur masters: gentoo priority: 0 devpump-gor location: /var/lib/layman/devpump-gor masters: gentoo priority: 1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-p hp5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=1" 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 userfetc h userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo rsync://ftp.df.lth.se/pub/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" 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="3dnow 3dnowext acl alsa amd64 apache2 bash-completion berkdb bzip2 cli cracklib crypt cxx dri gdbm hardened iconv justify mmx mmxext modules mysql mysqli ncurses nls nptl offensive openmp pam pax_kernel pcre pie readline seccomp sessi on sse sse2 sse3 ssl ssp tcpd unicode urandom vhosts vim-syntax xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m ma estro3 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 au thz_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 speli ng status unique_id userdir usertrack vhost_alias auth_basic expires reqtimeout" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdto ol swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtc m104v3 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 pr esenter-minimizer" 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 accoun t" USE_PYTHON="2.7 3.4" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ok nvm. It's still segmentation faulting. Apparently just at a later stage. Same error: flexget[16910]: segfault at 0 ip 000002f6775a4316 sp 000002f67217f0f0 error 6 in libffi.so.6.0.1[2f67759e000+8000]
List of packages that was updated. After this update flexget stopped working afaik: Sun Nov 8 19:39:55 2015 >>> dev-python/enum34-1.0 Sun Nov 8 19:40:02 2015 >>> dev-python/packaging-15.3-r2 Sun Nov 8 19:40:51 2015 >>> sys-apps/kmod-21 Sun Nov 8 19:41:17 2015 >>> dev-python/setuptools-18.4 Sun Nov 8 20:06:08 2015 >>> dev-db/mariadb-10.1.8 Sun Nov 8 20:06:27 2015 >>> dev-python/certifi-2015.9.6.2 Sun Nov 8 20:09:27 2015 >>> dev-vcs/git-2.6.3 Sun Nov 8 20:09:44 2015 >>> dev-python/six-1.10.0 Sun Nov 8 20:10:01 2015 >>> dev-python/py-1.4.30 Sun Nov 8 20:10:17 2015 >>> dev-python/pyasn1-0.1.8 Sun Nov 8 20:10:31 2015 >>> dev-python/ipaddress-1.0.14 Sun Nov 8 20:10:48 2015 >>> dev-python/idna-2.0 Sun Nov 8 20:11:05 2015 >>> dev-python/pytest-2.8.2 Sun Nov 8 20:11:20 2015 >>> dev-python/ply-3.6-r1 Sun Nov 8 20:13:26 2015 >>> app-admin/sudo-1.8.15-r1 Sun Nov 8 20:13:43 2015 >>> dev-python/pycparser-2.14 Sun Nov 8 20:14:01 2015 >>> dev-python/path-py-8.1.2 Sun Nov 8 20:14:29 2015 >>> dev-python/cffi-1.2.1 Sun Nov 8 20:14:48 2015 >>> dev-python/html5lib-0.9999999 Sun Nov 8 20:18:15 2015 >>> dev-python/cryptography-1.0.2 Sun Nov 8 20:20:44 2015 >>> net-misc/openssh-7.1_p1-r2 Sun Nov 8 20:21:02 2015 >>> dev-python/pyopenssl-0.14 Sun Nov 8 20:21:17 2015 >>> dev-python/ndg-httpsclient-0.4.0 Sun Nov 8 20:21:36 2015 >>> dev-python/requests-2.8.1
This issue seems to have disappeared after running 'emerge --depclean'. It removed the following packages: net-libs/libotr-4.1.0 dev-lang/python-3.3.5-r1 dev-python/ndg-httpsclient-0.4.0 dev-python/pyopenssl-0.14 dev-python/cryptography-0.9.3 dev-python/cffi-1.1.2 dev-python/enum34-1.0 dev-python/ipaddress-1.0.14 dev-python/pyasn1-0.1.8 dev-python/idna-2.0 dev-python/pytest-2.8.2 dev-python/pycparser-2.14 dev-python/py-1.4.30 dev-python/ply-3.6-r1 Sorry for the noise.
check that you have emutramp on in the kernel https://wiki.gentoo.org/wiki/Hardened/PaX_Quickstart#Marking_for_PaX or see the help on emutramp in the kernel.