From: "David N. Moreno (El Guapo)" <[EMAIL PROTECTED]>
   Date: Tue, 2 Feb 1999 19:06:22 -0800 (PST)

     I am having a software problem(GIMPS), and am hoping somebody has had a
   similar expierience.  I have a 486 DX4-100 running linux (Slackware,
   kernel 2.0.34, 16 meg of RAM) and I cant get either of the linux versions
   available to work on my machine.

   From: Henrik Olsen <[EMAIL PROTECTED]>
   Date: Wed, 3 Feb 1999 09:07:48 +0100 (CET)

   I have essentially the same problem, mprime segfaults on a 486, I tried
   with both Slackware 3.5.0 and RedHat 5.2, exact same library and kernel
   versions as the ones in the pentium machines I run mprime on.

I too had problems (on a pentium) with mprime, starting about version 14.
I finally tracked it down to some lines in my /etc/profile like this:

      ulimit -Hs 32768
      ulimit -Hd 65536
      ulimit -Ss 16384
      ulimit -Sd 32768

(Old linuxes could get bogged down by buggy programs infinitely
growing the stack or like that; the above lines set address space
limits to prevent problems.)  (Newer linuxes don't need this.)

The way mprime is linked, it appears to have an enormous data segment.
It isn't actually enormous, just at a high address.  Make sure you
don't have any limits set for it:

     $ ulimit -a
     core file size (blocks)  unlimited
     data seg size (kbytes)   unlimited
     file size (blocks)       unlimited
     max memory size (kbytes) unlimited
     stack size (kbytes)      unlimited
     cpu time (seconds)       unlimited

This fixed the problem I was having.  I'm also running it on a 486/66
without segfaults.
________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm

Reply via email to