Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 107034

Summary: eix-3.0 segfault imediatly after starting it
Product: Portage Development Reporter: Tristan RENAUD <renaud.tristan>
Component: UnclassifiedAssignee: Benedikt Böhm (RETIRED) <hollow>
Status: RESOLVED INVALID    
Severity: normal CC: emilbeinroth
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tristan RENAUD 2005-09-23 13:43:28 UTC
Hi,    
    
when running eix it segfault imediatly after starting it :  
  
fearfactory ~ # eix eix  
Erreur de segmentation  
  
but not when using some command-line options like --help and --version, or  
without any arguments :  
  
fearfactory ~ # eix --version  
eix 0.3.0 (gcc-3.4.4, x86_64-pc-linux-gnu)  
  
fearfactory ~ # eix  
Try --help if you don't know what you are doing :)  
Problem: You are missing a pattern here.  
  
The last version I install is : 0.3.0-r1  
  
This is the result of gdb :  
   
(gdb) exec-file eix   
(gdb) run   
Starting program: /usr/bin/eix   
Using host libthread_db library "/lib/libthread_db.so.1".   
Try --help if you don't know what you are doing :)   
Problem: You are missing a pattern here.   
   
Program exited with code 01.   
(gdb) run eix   
Starting program: /usr/bin/eix eix   
   
Program received signal SIGSEGV, Segmentation fault.   
0x00002aaaab0adac0 in realloc () from /lib/libc.so.6   
(gdb)             
  
Hope that help.  
  
Tristan.                                         

Reproducible: Always
Steps to Reproduce:
1. emerge eix 0.3.0-r1  
2. eix eix 
3.  
  
Actual Results:  
eix segfault imediatly. 

Expected Results:  
run and give an answer to my request. 

Portage 2.0.52-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-gentoo-r9 x86_64) 
================================================================= 
System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.12.0_pre8 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O3 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=k8 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ 
ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://mir.zyrianes.net/gentoo/ 
ftp://mir.zyrianes.net/gentoo/ http://gentoo.osuosl.org 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
LANG="fr_FR.UTF-8" 
LC_ALL="fr_FR.UTF-8" 
LINGUAS="fr" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="amd64 X a52 aac alsa apache2 apm arts audiofile avi bash-completion 
berkdb bindist bitmap-fonts bmp bonobo bzlib cdb cdr cpudetection crypt cups 
curl dga doc dts dv dvb dvd dvdr dvdread eds emboss encode esd exif fam fbcon 
flac foomaticdb fortran ftp gb gd gif gnome gphoto2 gpm gstreamer gtk gtk2 
gtkhtml guile gveejay hal icq ieee1394 imagemagick imlib ipv6 jabber jack java 
jpeg kde libwww lzw lzw-tiff mad mikmod mime mjpeg motif mozilla mp3 mpeg 
mplayer nas ncurses nls nvidia ofx ogg oggvorbis openal opengl oss pam pdflib 
perl png ppds print python qt quicktime rar readline real sdl speex spell ssl 
subtitles svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts 
unicode usb userlocales v4l v4l2 videos visualization vorbis wmf xface xine 
xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo zlib linguas_fr userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-09-23 13:45:26 UTC
> Program received signal SIGSEGV, Segmentation fault.   
> 0x00002aaaab0adac0 in realloc () from /lib/libc.so.6   
> (gdb)

Please type 'bt' at the gdb prompt and post the output too
Comment 2 Tristan RENAUD 2005-09-23 14:19:48 UTC
(gdb) exec-file eix 
(gdb) run eix 
Starting program: /usr/bin/eix eix 
Using host libthread_db library "/lib/libthread_db.so.1". 
 
Program received signal SIGSEGV, Segmentation fault. 
0x00002aaaab0d677c in fnmatch () from /lib/libc.so.6 
(gdb) bt 
#0  0x00002aaaab0d677c in fnmatch () from /lib/libc.so.6 
#1  0x00002aaaab0d7728 in fnmatch () from /lib/libc.so.6 
#2  0x00002aaaab0e39e7 in re_set_registers () from /lib/libc.so.6 
#3  0x00002aaaab0e4d63 in regexec () from /lib/libc.so.6 
#4  0x000000000040ad85 in ?? () 
#5  0x0000000000000075 in ?? () 
#6  0x00002aaaab2649a0 in __malloc_initialize_hook () from /lib/libc.so.6 
#7  0x00002aaaab2649a0 in __malloc_initialize_hook () from /lib/libc.so.6 
#8  0x0000000000000060 in ?? () 
#9  0x0000008d0000005a in ?? () 
#10 0x0000000000000000 in ?? () 
#11 0x00007fffffbbac40 in ?? () 
#12 0x000000000054abc0 in ?? () 
#13 0x000000000054d1a0 in ?? () 
#14 0x000000000054a160 in ?? () 
#15 0x0000008d0000005a in ?? () 
#16 0x0000000000000000 in ?? () 
#17 0x00007fffffbbac40 in ?? () 
#18 0x000000000040b701 in ?? () 
#19 0x000000000054a160 in ?? () 
#20 0x00007fffffbba6c0 in ?? () 
#21 0x000000000054d1a0 in ?? () 
#22 0x0000000000430c35 in ?? () 
#23 0x0000000000000000 in ?? () 
#24 0x0000000000000000 in ?? () 
#25 0x00007fffffbbac40 in ?? () 
#26 0x00002aaaab0a5398 in fseeko () from /lib/libc.so.6 
#27 0x0000000000430d44 in ?? () 
#28 0x0000000000000000 in ?? () 
#29 0x0000000000000000 in ?? () 
#30 0x00007fffffbbac40 in ?? () 
#31 0x00002aaaab0a5398 in fseeko () from /lib/libc.so.6 
#32 0x0000000000430d44 in ?? () 
#33 0x0000000000000000 in ?? () 
#34 0x0000000000000000 in ?? () 
#35 0x00007fffffbbac40 in ?? () 
#36 0x00002aaaab0a5398 in fseeko () from /lib/libc.so.6 
#37 0x0000000000430d44 in ?? () 
#38 0x0000000000000000 in ?? () 
#39 0x0000000000000000 in ?? () 
#40 0x00007fffffbbac40 in ?? () 
#41 0x00002aaaab0a5398 in fseeko () from /lib/libc.so.6 
#42 0x0000000000430d44 in ?? () 
#43 0x0000000000000000 in ?? () 
#44 0x0000000000000000 in ?? () 
#45 0x00007fffffbbac40 in ?? () 
#46 0x00002aaaab0a5398 in fseeko () from /lib/libc.so.6 
#47 0x0000000000430d44 in ?? () 
#48 0x0000000000000000 in ?? () 
#49 0x0000000000000000 in ?? () 
#50 0x00007fffffbbac40 in ?? () 
#51 0x00002aaaab0a5398 in fseeko () from /lib/libc.so.6 
... 
And then it loop... 
Comment 3 Emil Beinroth 2005-09-25 09:21:41 UTC
Could you please run 'update-eix' and try again?
Comment 4 Tristan RENAUD 2005-09-25 09:45:51 UTC
Hello,   
   
update-eix done.   
And it solved the problem.   
   
Thanks a lot !   
   
Am I supposed to close that bug ? if yes, what should I select as resolution  
option ? (fixed, invalid or wontfix) ? 
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2005-09-27 14:36:02 UTC
invalid..