I just installed net-analyzer/ipac-ng-1.27_p1 on a server for traffic accounting. When I start it via "/etc/init.d/ipac-ng start" it prints /sbin/runscript.sh: line 526: 3069 Segmentation fault /usr/sbin/fetchipac -S /sbin/runscript.sh: line 526: 3070 Segmentation fault /usr/sbin/fetchipac When I execute fetchipac on the console it also prints "Segmentation fault". Reproducible: Always Steps to Reproduce: 1. Install ipac-ng 2. Execute fetchipac oder /etc/init.d/ipac-ng start Actual Results: See in the "Details" section. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22) ================================================================= System uname: 2.4.22 i686 Intel(R) Celeron(TM) CPU 1200MHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="oss apm arts avi encode foomaticdb jpeg libwww mad mikmod motif mpeg oggvorbis opengl quicktime sdl spell svga truetype xmms xv slang gpm ssl apache2 berkdb crypt -cups doc firebird gd gdbm gif -gnome -gtk -gtk2 -gtkhtml imap imlib inndb java junit jikes -kde kerberos lcms ldap libg++ maildir mbox mysql ncurses nls pam pdflib perl png pnp postgres prelude python -qt readline ruby sasl tcpd tiff -X xml xml2 zlib x86"
I have the same problem on 2 machines here. The problem occurs on line 1003 of fetchipac.c with a call to strcasecmp if (strcasecmp((*smp)->name, storage_method_name) == 0) storage_method_name is initially a null pointer, hence the segfault. Reading the ipac mailing list though no one else seems to be having this problem. Has this behaviour changed in later glibc's?
this happens when you dont have config files 1.27_p1-r1 installs default config files for you now