From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 16:04:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3438916A4CE; Tue, 27 Apr 2004 16:04:58 -0700 (PDT) Received: from localhost (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i3RN4vmd019459; Tue, 27 Apr 2004 19:04:57 -0400 (EDT) (envelope-from green@green.homeunix.org) Message-Id: <200404272304.i3RN4vmd019459@green.homeunix.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "Tom Cage" In-Reply-To: Message from "Tom Cage" <001101c42c9b$ae3a0ed0$9e7ba8c0@gateway2000> From: Brian Fundakowski Feldman Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 27 Apr 2004 19:04:57 -0400 Sender: green@green.homeunix.org cc: freebsd-current@freebsd.org Subject: Re: reallocate memory error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 23:04:58 -0000 "Tom Cage" 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. \,,,,,,,,,,,,,,,,,,,,,,\