On Mar 9, 12:35 am, Fredrik Johansson <fredrik.johans...@gmail.com>
wrote:
> Hi,
>
> On my system, valgrind detects an invalid read in mpn_mul when the
> operands have certain sizes. For example, it happens when both operand
> lengths are 2601 limbs. I'm attaching a test .c program and valgrind
> output.
>
> I just re-ran "make check" to be sure no MPIR tests were failing.
> System is an Intel Pentium T4400, 64 bit Ubuntu, and MPIR compile
> flags included "-O2 -m64 -march=core2 -mtune=core2"
>
> Fredrik
>
>  vlog.txt
> 5KViewDownload
>
>  mpnbug.c
> < 1KViewDownload

Valgrind doesn't run on Windows so I cannot look into these issues.

But I have tried to use nedmalloc - a respected third party memoory
allocator - with MPIR on Windows and it too reports bad allocations
somewhere in large multiplies.

Is anyone who works on Linux going to look into this?

    Brian

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to