harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-3062) [drlvm][interpreter][eclipse] EHWA 3.1.1 crashes
Date Mon, 28 May 2007 16:23:16 GMT

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

Gregory Shimansky resolved HARMONY-3062.
----------------------------------------

    Resolution: Fixed

The bug appears to be in interpreter. It is not documented, but it looks like x86_64 calling
convention requires to have rsp to be always aligned on 16 bytes. When the number of stack
arguments is odd, rsp is not aligned on 16 bytes. The same bug was fixed for windows x86_64
at revision 514264. Now this bug appeared on linux too because gcc generates movaps instructions
for code which uses va_args. Such native function in EHWA scenario is FcPatternBuild. The
movaps instruction requires alignment on 16 bytes. So I've made a patch similar to what I
did for windows x86_64 for Linux too. Patch is applied at 542258. EHWA test for eclipse 3.1.1
passed for me successfully on interpreter.

> [drlvm][interpreter][eclipse] EHWA 3.1.1 crashes
> ------------------------------------------------
>
>                 Key: HARMONY-3062
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3062
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>         Environment: SUSE9@x86_64
>            Reporter: Alexey Varlamov
>            Assignee: Gregory Shimansky
>            Priority: Minor
>
> Eclipse HelloWorld scenario works on JIT but fails on interpreter. To reproduce: 
> working_vm/build/>sh build.sh ehwa.test -Dehwa.test.mode=int 
> ...
>      [echo]
>      [echo]         ==================================
>      [echo]         Run Eclipse HelloWorld using interpreter
>      [echo]         ==================================
>      [echo]
>      [java] Java Result: 139

-- 
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