Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144595 - eix run segmention fault & failed to remerge it (both run-time err& compile-time error)
Summary: eix run segmention fault & failed to remerge it (both run-time err& compile-t...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 144596 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-21 00:15 UTC by Yixun Lan
Modified: 2006-08-22 20:41 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 Yixun Lan archtester gentoo-dev 2006-08-21 00:15:43 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b1) Gecko/20060817 BonEcho/2.0b1
Build Identifier: 

1. run eix :

Received SIGSEGV - you probably found a bug in eix.
Please proceed with the following few instructions and help us find the bug:
 * install gdb (sys-dev/gdb)
 * compile eix with FEATURES="nostrip" CXXFLAGS="-g -ggdb3"
 * enter gdb with "gdb --args eix your_arguments_for_eix"
 * type "run" and wait for the segfault to happen
 * type "bt" to get a backtrace (this helps us a lot)
 * post a bugreport and be sure to include the output from gdb ..

Sorry for the inconvenience and thanks in advance!

2. compile eix

        then mv -f ".deps/stringutils.Tpo" ".deps/stringutils.Po"; else rm -f
".deps/stringutils.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -g
-ggdb3 -MT sysutils.o -MD -MP -MF ".deps/sysutils.Tpo" -c -o sysutils.o
sysutils.cc; \
        then mv -f ".deps/sysutils.Tpo" ".deps/sysutils.Po"; else rm -f
".deps/sysutils.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -g
-ggdb3 -MT levenshtein.o -MD -MP -MF ".deps/levenshtein.Tpo" -c -o levenshtein.o
levenshtein.cc; \
        then mv -f ".deps/levenshtein.Tpo" ".deps/levenshtein.Po"; else rm -f
".deps/levenshtein.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -g
-ggdb3 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.cc; \
        then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f
".deps/utils.Tpo"; exit 1; fi
rm -f libeixTk.a
i686-pc-linux-gnu-ar cru libeixTk.a argsreader.o regexp.o stringutils.o
sysutils.o levenshtein.o utils.o
make[3]: *** [libeixTk.a] Segmentation fault
make[3]: Leaving directory
`/var/tmp/portage/eix-0.6.3/work/eix-0.6.3/src/eixTk'make[2]: ***
[all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/eix-0.6.3/work/eix-0.6.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/eix-0.6.3/work/eix-0.6.3'
make: *** [all] Error 2

!!! ERROR: app-portage/eix-0.6.3 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 607:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.


Reproducible: Always

Steps to Reproduce:
1.eix  gcc ,segment fault
2.FEATURES="nostrip" CXXFLAGS="-g -ggdb3" emerge eix, failed
3.




Portage 2.1.1_pre5-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla,
glibc-2.4-r3, 2.6.17-suspend2-r4 i686)
=================================================================
System uname: 2.6.17-suspend2-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 16 Aug 2006 01:20:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1, 2.16.1-r2, 2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
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/kde/devel/env /usr/kde/devel/share/config
/usr/kde/devel/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/modules.autoload.d /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer
-fvisibility-inlines-hidden -fprefetch-loop-arrays "
DISTDIR="/mnt/docs/allsource/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="  http://mirror.gentoo.gr.jp/
http://gentoo.mirrors.tds.net/gentoo/ http://gg3.net/
ftp://ftp.linuxforum.net/gentoo http://rsync.jp.gentoo.org/gentoo/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.139pay.com "
LANG="zh_CN.UTF-8"
LC_ALL=""
LINGUAS="zh_CN"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/kde-experimental
/usr/local/layman/science /usr/local/layman/portage-xgl
/usr/local/layman/zugaina /usr/local/layman/gentoo-de /usr/local/layman/sunrise
/usr/local/layman/stuart-desktop /usr/local/layman/stuart-perforce
/usr/local/layman/stuart-server /usr/local/layman/xwing"
SYNC="rsync://mirror.gentoo.gr.jp/gentoo-portage/"
USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cli
crypt cups dlloader doc dri eds elibc_glibc emboss encode esd foomaticdb fortran
gdbm gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard
input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww
linguas_zh_CN mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss
pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl
session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode
userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia
video_cards_vesa vorbis xgl xml xmms xorg xv zlib"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-21 00:19:30 UTC
Can you reproduce it, i.e. does it fail again at *exactly* the same place? If so, try w/ -ggdb instead of -ggdb3
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-21 00:28:03 UTC
*** Bug 144596 has been marked as a duplicate of this bug. ***
Comment 3 Yixun Lan archtester gentoo-dev 2006-08-22 20:41:03 UTC
sorry for reporting, eix works fine after my rebooting,
so i guess it's not the bug with eix, but something wrong with run-environment