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-5225) [drlvm] DRLVM build crash on zh_CN locale even for helloworld
Date Tue, 04 Dec 2007 18:49:43 GMT

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

Gregory Shimansky resolved HARMONY-5225.
----------------------------------------

    Resolution: Fixed
      Assignee: Gregory Shimansky

I fixed this bug at 601033. I added portlib functions for converting wide chars system messages
to UTF8 to create exception object. Also fixed exceptions code to work correctly when exception
object cannot be created. Now hello world and VM smoke tests work for me on Chinese Windows.

> [drlvm] DRLVM build crash on zh_CN locale even for helloworld
> -------------------------------------------------------------
>
>                 Key: HARMONY-5225
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5225
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: winxp sp2, ia32, zh_CN locale
>            Reporter: Paulex Yang
>            Assignee: Gregory Shimansky
>            Priority: Blocker
>             Fix For: 5.0M4
>
>
> Both release and debug build of DRLVM crash on my thinkpad even running a helloworld,
it disappears if changing the default locale to en_US.  Seems GCHelper's native library cannot
be loaded successfully. IBM VME works OK in same environment.
> Error message:
> Windows reported exception: 0xc0000005
> Registers:
>     EAX: 0x00f6fc80, EBX: 0x00000000, ECX: 0x00000000, EDX: 0x00000000
>     ESI: 0x00000000, EDI: 0x124a84fc, ESP: 0x0013eeb8, EBP: 0x007c4070
>     EIP: 0x0065d00a
> Stack trace:
>   0: exn_raise_object_internal (d:\projects\harmony\subversion\working_vm\vm\vmcore\src\exception\exceptions_impl.cpp:390)
>   1: std::ctype<char>::`RTTI Complete Object Locator' (??:-1)
>   2: java/lang/VMClassRegistry.loadLibrary(Ljava/lang/String;Ljava/lang/ClassLoader;)V
(VMClassRegistry.java:-2)
>   3: java/lang/Runtime.load0(Ljava/lang/String;Ljava/lang/ClassLoader;Z)V (Runtime.java:722)
>   4: java/lang/Runtime.loadLibrary0(Ljava/lang/String;Ljava/lang/ClassLoader;Z)V (Runtime.java:798)
>   5: java/lang/System.loadLibrary(Ljava/lang/String;)V (System.java:223)
>   6: org/apache/harmony/drlvm/gc_gen/GCHelper.<clinit>()V (GCHelper.java:30)
> <end of stack trace>
> Procedure to reproduce:
> 1. Got a winxp with zh_CN locale
> 2. build DRLVM or federated build.
> 3. Run helloworld

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