Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174913 - emerge segfaults calculating world dependencies
Summary: emerge segfaults calculating world dependencies
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-17 14:35 UTC by Stephen E. Baker
Modified: 2007-04-18 06:24 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 Stephen E. Baker 2007-04-17 14:35:21 UTC
Emerge segfaults during calculating dependencies since my last portage sync.

Emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 17 Apr 2007 13:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://cdot.senecac.on.ca/software/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://adelie.polymtl.ca"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amarok apache2 bash-completion berkdb bitmap-fonts bittorrent cairo cdda cddb cdr cli cracklib crypt cscope dbus dio dri dvd dvdr dvdread emacs ffmpeg firefox fortran gdbm gif gpm hal iconv icq imagemagick ipv6 isdnlog java java5 javascript joystick jpeg jpeg2k kde libg++ libnotify midi mikmod mmx mmxext mng mozdevelop mp3 mpeg mplayer msn mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs offensive ogg opengl pam pcmcia pcre pdf perl png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tetex threads truetype truetype-fonts type1-fonts unicode usb vorbis wifi win32codecs wma wxwindows x86 xine xml xorg xosd xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Last few lines of strace emerge -Dv world:
open("/var/cache/edb/dep/usr/portage/kde-base/kdvi-3.5.5", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0664, st_size=1402, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0664, st_size=1402, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fdb000
read(3, "_eclasses_=toolchain-funcs\t/usr/"..., 8192) = 1402
read(3, "", 4096)                       = 0
read(3, "", 8192)                       = 0
fstat64(3, {st_mode=S_IFREG|0664, st_size=1402, ...}) = 0
close(3)                                = 0
munmap(0xb6fdb000, 4096)                = 0
futex(0x804a5d8, FUTEX_WAKE, 1)         = 0
futex(0x804a5d8, FUTEX_WAKE, 1)         = 0
futex(0x804a5d8, FUTEX_WAKE, 1)         = 0
stat64("/usr/portage/kde-base/kviewshell", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/portage/kde-base/kviewshell", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY <unfinished ...>
+++ killed by SIGSEGV +++
Process 2011 detached


Reproducible: Always

Steps to Reproduce:
1.emerge -D[uNvp] world

Actual Results:  
emerge -uNDpv world:
These are the packages that would be merged, in order:

Calculating world dependencies | Segmentation Fault


Expected Results:  
Issued a warning about a corrupt portage tree or finish calculating dependencies with updates

I've tried resynching, and so far it has not helped.  The last few times emerge seems to be running slower than usual.
Comment 1 Stephen E. Baker 2007-04-17 15:35:42 UTC
My computer eventually froze and there were quite a few: Apr 17 10:42:35 goodt60 BUG: unable to handle kernel paging request at virtual address 6c65746e in messages.  Since restarting emerge seems to work.  

I'll change the status to invalid in 24 hours unless anyone sees any reason not to.
Comment 2 SpanKY gentoo-dev 2007-04-17 23:35:05 UTC
not a portage issue; whether you want to pursue a kernel/hardware bug is up to you ;)