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-3287) [drlvm][winx64] Eclipse fails in -Xint with SWTError: No more handles
Date Mon, 05 Mar 2007 11:59:50 GMT

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

Gregory Shimansky resolved HARMONY-3287.

    Resolution: Fixed

The failure of GdiplusStartup happened to because this function was called from a native method
with RSP not aligned to 16 bytes. It is not well documented in MSDN, but it looks like RSP
has to be always aligned to 16 bytes. Some functions don't require it, but some do. A patch
was made to the interpreter to fix this in assembly code, so if a native method has an odd
number of arguments, additional 8 bytes are skilled by RSP to align it to 16 bytes.

Patch applied at 514264.

> [drlvm][winx64] Eclipse fails in -Xint with SWTError: No more handles
> ---------------------------------------------------------------------
>                 Key: HARMONY-3287
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3287
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: windows/em64t
>            Reporter: Vladimir Beliaev
>         Attachments: test.zip
> Yesterday I've tried to start Eclipse on drlvm in interpreter mode (-Xint option) on
> Eclipse failed starting with org.eclipse.swt.SWTError: No more handles
> Would be nice to get this fixed. The lstack trace fragment is below:
> org.eclipse.swt.SWTError: No more handles
>         at org.eclipse.swt.SWT.error(SWT.java:3433)
>         at org.eclipse.swt.SWT.error(SWT.java:3330)
>         at org.eclipse.swt.SWT.error(SWT.java:3301)
>         at org.eclipse.swt.graphics.GC.initGdip(GC.java:3282)
>        ... skipped ...
> Thanks
> Vladimir Beliaev

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

View raw message