harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4898) [drlvm][jit][jet] crash due to IntegerOverflow
Date Mon, 08 Oct 2007 06:42:50 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Varlamov closed HARMONY-4898.
------------------------------------

    Resolution: Fixed

Applied fix at revision: 582725 , added 2 testcases to H4675 reg-test.

> [drlvm][jit][jet] crash due to IntegerOverflow
> ----------------------------------------------
>
>                 Key: HARMONY-4898
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4898
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: x86_64
>            Reporter: Alexey Varlamov
>            Assignee: Alexey Varlamov
>         Attachments: H4898.diff
>
>
> The following simple tests crash on x86_64 in JET compiler:
>     public void testLDIV_min() {
>         long l_min = Long.MIN_VALUE;
>         long l_1 = -1;
>         long res = l_min / l_1;
>         assertEquals(Long.MIN_VALUE, res);
>     }
>     public void testLREM_min() {
>         long l_min = Long.MIN_VALUE;
>         long l_1 = -1;
>         long res = l_min % l_1;
>         assertEquals(0, res);
>     }
>     [junit] Windows reported exception: 0xc0000095
>     [junit] Registers:
>     [junit]     RAX: 0x8000000000000000, RBX: 0x8000000000000000
>     [junit]     RCX: 0x0000000003cb0000, RDX: 0xffffffffffffffff
>     [junit]     RSI: 0xffffffffffffffff, RDI: 0x000000000012c220
>     [junit]     RSP: 0x000000000012c1e0, RBP: 0x000000000012c4b8
>     [junit]     R8 : 0x000000000000006c, R9 : 0x0000000003fa1390
>     [junit]     R10: 0x000000000012cde0, R11: 0x0000000002fa9a80
>     [junit]     R12: 0x000000000012cd40, R13: 0x0000000002fa98c0
>     [junit]     R14: 0xdeadbeefdeadbeef, R15: 0x0000000011aee790
>     [junit]     RIP: 0x0000000003fa149a
>     [junit] Stack trace:
>     [junit]   0: Jitrino::Jet::rt_h_i64_a (??:-1)
>     [junit]   1: java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)
> Ljava/lang/Object; (??:-2)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message