Re: reallocate memory error

From: Brian Fundakowski Feldman <green_at_freebsd.org>
Date: Tue, 27 Apr 2004 19:04:57 -0400
"Tom Cage" <k5gj_at_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_at_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_at_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_at_FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\
Received on Tue Apr 27 2004 - 14:04:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:52 UTC