Issue on windows build (mingw64)

Vlad Gabriel clampi at yahoo.com
Wed Apr 18 16:42:08 CEST 2012


Hello Marco,

Thank you, I confirm that assert is no longer issued.


Best Regards,
Gabriel


________________________________
 From: "bodrato at mail.dm.unipi.it" <bodrato at mail.dm.unipi.it>
To: gmp-bugs at gmplib.org 
Cc: Vlad Gabriel <clampi at yahoo.com> 
Sent: Wednesday, April 18, 2012 8:52 AM
Subject: Re: Issue on windows build (mingw64)
 
Ciao,

> Issue 1
> Is related to latest changes in "mpz/bin_uiui.c" . The actual issue is an
> assertion failure in tests/mpz/t-bin

> sbpi1_bdiv_q.c:81: GNU MP assertion failed: np[0] == 0

The assert was wrongly placed, it should work now.

> Stack trace at the assertion point
> #0  __gmp_assert_fail (filename=0x6ada6627 "sbpi1_bdiv_q.c", linenum=81,
> expr=0x6ada6650 "np[0] == 0") at ../gmp-hg/assert.c:45
> #1  0x000000006ad626e8 in __gmpn_sbpi1_bdiv_q (qp=0x22fac8, np=0x22fac0,
> nn=3, dp=0x22fa00, dn=3, dinv=1833607634379141975) at sbpi1_bdiv_q.c:81
> #2  0x000000006acd2ea1 in mpz_bdiv_bin_uiui (r=0x22fd80, n=142, k=71) at
> ../../gmp-hg/mpz/bin_uiui.c:277

Thank you very much for this detailed trace!

Best Regards,
Marco

-- 
http://bodrato.it/software/combinatorics.html


More information about the gmp-bugs mailing list