gmp_printf bug?

Vincent Lefevre vincent at vinc17.net
Wed Jul 20 12:32:40 CEST 2011


On 2011-07-20 10:33:25 +0200, Paul Zimmermann wrote:
> Maybe this is a glibc bug, anyway you can now isolate the problem,
> and report it to the glibc developers if needed.

When I did the test (see MPFR mailing-list), it was on my Mac OS X
machine:

tst(10752) malloc: *** vm_allocate(size=2511523840) failed (error code=3)
tst(10752) malloc: *** error: can't allocate region
tst(10752) malloc: *** set a breakpoint in szone_error to debug
GNU MP: Cannot allocate memory (size=2511520740)

IMHO, it's unlikely to have a similar bug both in glibc and in
the Mac OS X libc.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list