Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343853 - dev-lang/python-2.6.6-r1 sys-apps/portage-2.1.9.* segfaults when beginning to merge
Summary: dev-lang/python-2.6.6-r1 sys-apps/portage-2.1.9.* segfaults when beginning to...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Python Gentoo Team
Depends on:
Reported: 2010-11-02 15:33 UTC by Richard Hendrikse
Modified: 2010-12-02 13:47 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Richard Hendrikse 2010-11-02 15:33:01 UTC
Ever since the upgrade to portage 2.1.9, I've been suffering portage segfaulting once the merge starts. like, after emerge -uDav system, and then pressing <enter> to accept. Previously, dropping the 'a' and/or 'v' allowed me to resume regardless, but not anymore with *.24

rebuilding python has not changed this

Reproducible: Always

Steps to Reproduce:

# dmesg | tail

[ 1807.334019] emerge[8744]: segfault at f ip 00007f72cc087530 sp 00007fff890032b8 error 4 in[7f72cbf88000+154000]
[ 1822.238987] emerge[8750]: segfault at 4833e8 ip 00007f58d106f530 sp 00007fffc68e1dd8 error 4 in[7f58d0f70000+154000]
[ 2011.713597] emerge[8788]: segfault at a ip 00007fcd349aa530 sp 00007ffff5dcc728 error 4 in[7fcd348ab000+154000]
[ 2364.063308] python2.6 used greatest stack depth: 3384 bytes left
[ 2435.969300] emerge[9311]: segfault at c ip 00007f89ec7d8530 sp 00007fff327a76e8 error 4 in[7f89ec6d9000+154000]
[ 2446.342488] emerge[9316]: segfault at b ip 00007f60bd4bc530 sp 00007fffab480928 error 4 in[7f60bd3bd000+154000]
[ 3129.079550] emerge[8794]: segfault at 7a6688 ip 00007f6fc780b530 sp 00007fff70091f88 error 4 in (deleted)[7f6fc770c000+154000]
[ 3160.252292] emerge[22494]: segfault at 7f5c2d137af0 ip 00007f5c2d137af0 sp 00007fff6e727568 error 15 in[7f5c2d122000+3b000]
[ 3308.911558] emerge[22502] general protection ip:7f7fb476f54d sp:7fff3c9c3c60 error:0 in[7f7fb4670000+154000]
[ 3317.908762] emerge[22507] general protection ip:7f73dccff530 sp:7fff1fdb7bb8 error:0 in[7f73dcc00000+154000]
Comment 1 Richard Hendrikse 2010-11-02 15:35:34 UTC
 # emerge --info
Portage (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r1, 2.6.35-gentoo-r1 x86_64)
System uname: Linux-2.6.35-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1
Timestamp of tree: Mon, 01 Nov 2010 12:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
virtual/os-headers:  2.6.35
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula AdobeFlash-10.1"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
FEATURES="assume-digests buildpkg distlocks fixpackages news noinfo parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde-sunset /usr/portage/local"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif gnome gnutls gpm gtk hal iconv icu ipv6 java jpeg lcms libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oss pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline sdl session speex spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 mpu401" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" 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" 

NOTE: dropping 'a' and/or 'v' previously MIGHT work. in some cases, I *had* to drop both to make it work. Downgrading python to 2.6.5 and portage to <2.1.9 indeed still has the intended effect of making this problem go away.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-11-28 12:10:31 UTC
Sorry, but I cannot reproduce this on a somewhat similar system (stable amd64 with unstable portage- and python-2.6.6-r1).
Comment 3 Richard Hendrikse 2010-12-02 13:47:44 UTC
Hmmm, I ended up changing the timings downwards on my ram and that magically 'fixed' things crashing (for the most part)

Assuming I can blame a cheap asrock motherboard aging...
Unless someone can give me a helpful hint, memtest agrees :/