Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 46600 invoked from network); 2 Mar 2007 15:30:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2007 15:30:19 -0000 Received: (qmail 27968 invoked by uid 500); 2 Mar 2007 15:30:21 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 27934 invoked by uid 500); 2 Mar 2007 15:30:20 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 27908 invoked by uid 99); 2 Mar 2007 15:30:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 07:30:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 07:30:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 02F8F7142EF for ; Fri, 2 Mar 2007 07:29:51 -0800 (PST) Message-ID: <21439941.1172849391009.JavaMail.jira@brutus> Date: Fri, 2 Mar 2007 07:29:51 -0800 (PST) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-3287) [drlvm][winx64] Eclipse fails in -Xint with SWTError: No more handles In-Reply-To: <29434449.1172846930894.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477323 ] Gregory Shimansky commented on HARMONY-3287: -------------------------------------------- The function Graphics_new tries to create a new Graphics object. This Graphics object has an overloaded new operator which calls GdipAlloc function but it returns NULL. In MSDN documentation I found that before calling any GDI+ functions it is necessary to call GdiplusStartup function. It is called in SWT code from GdiplusStartup native method. But on DRLVM this function for some reason returns 1, which means GenericError according to MSDN. I didn't find out the reason for this GdiplusStartup failure so far. Its arguments seem to be correct to me. > [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 > > Yesterday I've tried to start Eclipse on drlvm in interpreter mode (-Xint option) on windows/x86_64. > 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.