Mailing List Archive

segfaulting on every emerge
Hi -

My system (see emerge info below) seems to be segfaulting on every
emerge. Whenever I try to manually compile _anything_ with make, it
immediately dies with "Segmentation fault" and no other errors.

Here is the error message I get when trying to "emerge sys-apps/man":

/usr/lib/portage/bin/emake: line 14: 25011 Segmentation fault make ${MAKEOPTS} ${EXTRA_EMAKE} "$@"

!!! ERROR: sys-apps/man-1.5m-r2 failed.
!!! Function src_compile, Line 95, Exitcode 139
!!! emake failed


Help?

--Mike

Michael Rash
http://www.cipherdyne.org/
Key fingerprint = 53EA 13EA 472E 3771 894F AC69 95D8 5D6B A742 839F




Gentoo Base System version 1.4.16
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27)
=================================================================
System uname: 2.4.27 i686 Pentium III (Coppermine)
Autoconf:
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl
slang spell ssl svga tcpd tetex truetype x86 xml2 xmms xprint xv zlib"



--
gentoo-user@gentoo.org mailing list
Re: segfaulting on every emerge [ In reply to ]
Hi

It seems that you have a hardware problem.I had this problem too while
my firt installation of Gentoo. I suggest you to run memtest86 included
in your LiveCD. By the Way, are your CPU and Memory Overclocked, If so,
you should use the defaults settings of your BIOS

Cheers

IcEonFirE

On Fri, 2004-10-15 at 10:26, Michael Rash wrote:
> Hi -
>
> My system (see emerge info below) seems to be segfaulting on every
> emerge. Whenever I try to manually compile _anything_ with make, it
> immediately dies with "Segmentation fault" and no other errors.
>
> Here is the error message I get when trying to "emerge sys-apps/man":
>
> /usr/lib/portage/bin/emake: line 14: 25011 Segmentation fault make ${MAKEOPTS} ${EXTRA_EMAKE} "$@"
>
> !!! ERROR: sys-apps/man-1.5m-r2 failed.
> !!! Function src_compile, Line 95, Exitcode 139
> !!! emake failed
>
>
> Help?
>
> --Mike
>
> Michael Rash
> http://www.cipherdyne.org/
> Key fingerprint = 53EA 13EA 472E 3771 894F AC69 95D8 5D6B A742 839F
>
>
>
>
> Gentoo Base System version 1.4.16
> Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27)
> =================================================================
> System uname: 2.4.27 i686 Pentium III (Coppermine)
> Autoconf:
> Automake: sys-devel/automake-1.8.5-r1
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe"
> CHOST="i686-pc-linux-gnu"
> COMPILER=""
> CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
> CXXFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoaddcvs ccache sandbox"
> GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/usr/local/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY=""
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="X apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl
> slang spell ssl svga tcpd tetex truetype x86 xml2 xmms xprint xv zlib"
>
>
>
> --
> gentoo-user@gentoo.org mailing list
>


--
gentoo-user@gentoo.org mailing list
Re: Re: segfaulting on every emerge [ In reply to ]
On Oct 15, 2004, Thomas Kirchner wrote:

> On Fri, Oct 15, 2004 at 10:26:38AM -0400, Michael Rash wrote:
> > My system (see emerge info below) seems to be segfaulting on every
> > emerge. Whenever I try to manually compile _anything_ with make, it
> > immediately dies with "Segmentation fault" and no other errors.
>
> Going to need a lot more info on this one. But just for the heck of it, are you running portage-2.0.51_rc9? Have you modified emerge at all? I had the same thing recently because of that (psyco, specifically.)

[root@orthanc ~]# emerge --version
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27)

Haven't modified emerge at all. The strange thing is that on a P4
system I'm running the following with no problems:

[root@isengard ~]# emerge --version
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8)

I don't think there is a hardware problem because the issue is so
reproduceable, but perhaps I should run a memory tester or something.

> Tom

--Mike

Michael Rash
http://www.cipherdyne.org/
Key fingerprint = 53EA 13EA 472E 3771 894F AC69 95D8 5D6B A742 839F

--
gentoo-user@gentoo.org mailing list
Re: segfaulting on every emerge [ In reply to ]
On Fri, Oct 15, 2004 at 10:26:38AM -0400, Michael Rash wrote:
> My system (see emerge info below) seems to be segfaulting on every
> emerge. Whenever I try to manually compile _anything_ with make, it
> immediately dies with "Segmentation fault" and no other errors.

Going to need a lot more info on this one. But just for the heck of it, are you running portage-2.0.51_rc9? Have you modified emerge at all? I had the same thing recently because of that (psyco, specifically.)
Tom
Re: Re: segfaulting on every emerge [ In reply to ]
On Fri, Oct 15, 2004 at 10:41:16AM -0400, Michael Rash wrote:
> I don't think there is a hardware problem because the issue is so
> reproduceable, but perhaps I should run a memory tester or something.

Never hurts with segfault issues. There's memtest86 on the liveCDs and in portage - I've found a few bad RAM sticks with it that I thought were fine.
Tom