Hi,

On Tue, 2006-01-10 at 10:17 +0000, Andrew Haley wrote:
> Christian Thalinger writes:
>  > On Mon, 2006-01-09 at 18:02 -0600, Archie Cobbs wrote:
>  > > Just testing current CVS with JCVM and I'm also getting this assertion 
> failure:
>  > > 
>  > >    jc: mprec.c:100: _Jv_Balloc: Assertion `(1 << k) < 32' failed.
>  > > 
>  > > This is on SuSE 10 on an x86 laptop (Dell Latitude D810).
>  > 
>  > It's interesting that this also happens on 32-bit machines.  See also:
>  > 
>  > http://lists.gnu.org/archive/html/classpath-patches/2006-01/msg00141.html
> 
> Yes, but what is the value of k when this assertion fires?

You can trigger it with the following (extracted from Mauve):

new java.math.BigDecimal("1e200").floatValue();

Which gives:

#4  0xad75ab88 in _Jv_Balloc (ptr=0xbfa7b7d4, k=5) at mprec.c:100
100       assert ((1 << k) < MAX_BIGNUM_WDS);

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to