reallocate memory error
Brian Fundakowski Feldman
green at freebsd.org
Tue Apr 27 16:04:58 PDT 2004
"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. \,,,,,,,,,,,,,,,,,,,,,,\
More information about the freebsd-current
mailing list