Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2004 19:04:57 -0400
From:      Brian Fundakowski Feldman <green@freebsd.org>
To:        "Tom Cage" <k5gj@earthlink.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: reallocate memory error 
Message-ID:  <200404272304.i3RN4vmd019459@green.homeunix.org>
In-Reply-To: Message from "Tom Cage" <k5gj@earthlink.net>  <001101c42c9b$ae3a0ed0$9e7ba8c0@gateway2000> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Tom Cage" <k5gj@earthlink.net> wrote:
> 
> When testing 2,33161- with gmp-ecm, the following error occurs with FreeBSD.
> This error occurs on two different machines.  However, when using Slackware
> on the same computers, this works correctly.
> 
> 
> GMP-ECM 5.0.3 [powered by GMP 4.1.2] [P-1]          (FreeBSD-5.2-CURRENT
> Saturday 24 April 2004)
> Resuming P-1 residue saved by root@gateway2000.k5gj with GMP-ECM 5.0.3 on
> Sat Apr 24 14:25:30 2004
> Input number has 9983 digits
> Using B1=4194304-6291456, B2=378724880, polynomial x^24
> Step 1 took 2574086ms
> GNU MP: Cannot reallocate memory (old_size=4 new_size=4152)
> Abort trap (core dumped)
> pass = 31 of 66
> 
> GMP-ECM 5.0.3 [powered by GMP 4.1.2] [P-1]          (Slackware-9.1-CURRENT
> Tuesday 27 April 2004)
> Resuming P-1 residue saved by root@gateway2000 with GMP-ECM 5.0.3 on Tue Apr
> 27 13:41:02 2004
> Input number has 9983 digits
> Using B1=4194304-6291456, B2=378724880, polynomial x^24
> Step 1 took 2544980ms
> Step 2 took 2084520ms
> pass = 31 of 66

FreeBSD has a lot more malloc(3) debugging than glibc -- and significantly 
more so enabled by default.  Lots of badly-written applications will crash 
(detecting a malloc(3) error, giving you the cahnce to fix it) if, for 
example, the "J" option is set.  Look at the man page to learn how to turn 
them on and off; "A" and "J" are on by default for non-RELEASE versions of 
-CURRENT.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404272304.i3RN4vmd019459>