You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Ivanov (JIRA)" <ji...@apache.org> on 2006/10/03 05:26:20 UTC

[jira] Created: (HARMONY-1662) [drlvm][exception] unhandled exception leads to 'VM Crashed!' message

[drlvm][exception] unhandled exception leads to 'VM Crashed!' message
---------------------------------------------------------------------

                 Key: HARMONY-1662
                 URL: http://issues.apache.org/jira/browse/HARMONY-1662
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Vladimir Ivanov


On win platform unhandled exception leads to 'VM Crashed!' message.

============= test.java ==================
public class test {
    public static void main(String[] args) throws Exception {
        throw new Exception("Hello");
    }
}
======================================

Output:
C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
Exception in thread "main" java.lang.Exception: Hello
        at test.main(test.java:3)

C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r452292, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df80, EDX=0x00000005
    ESI: 0x0332ff1c, EDI: 0x00000020, ESP: 0x0332ff18, EBP=0x0332ff34
    EIP: 0x10005d48
SEH handler: shutdown error...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x02b2dce0, EDX=0x00000000
    ESI: 0x0332f928, EDI: 0x0332f9e8, ESP: 0x0332f928, EBP=0x0332f92c
    EIP: 0x005eea13
SEH handler: too many shutdown errorsJNI.ExceptionDescribe: java/lang/Exception:

java/lang/Exception : Hello
 at test.main (test.java: 3)
Error occured while running starter class: Exception left unhandled before destroying VM
JNI.ExceptionDescribe: java/lang/Exception:

java/lang/Exception : Hello
 at test.main (test.java: 3)
Error occured in starter class shutdown() method.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1662) [drlvm][exception] unhandled exception leads to 'VM Crashed!' message

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1662?page=comments#action_12443684 ] 
            
Vladimir Ivanov commented on HARMONY-1662:
------------------------------------------

I think, it may be closed. Seems, it is my PC problem only:
 thanks, Vladimir

C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp .
-showversion test
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75,
GC: System optimized over throughput (initial strategy singleparpar))

java.lang.Exception: Hello
        at test.main(test.java:9)

C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
K0319java.lang.Exception: Hello
        at test.main(test.java:9)
FAILED to invoke JVM.

C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java
-Dvm.assert_dialog=false -cp . -showversion test
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r465953, (Oct 20 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x0000066c, EBX: 0x00421ee8, ECX: 0x0041df88, EDX=0x00000005
    ESI: 0x0334ff18, EDI: 0x02b10ea0, ESP: 0x0334ff14, EBP=0x0334ff30
    EIP: 0x10005ca8
SEH handler: shutdown error...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x0041ded8, EDX=0x00000000
    ESI: 0x0334f918, EDI: 0x0334f9d8, ESP: 0x0334f918, EBP=0x0334f91c
    EIP: 0x005f0bc3
SEH handler: too many shutdown errorsUncaught exception in main:
java.lang.Exception: Hello
        at test.main(test.java:9)

C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_release\deploy\jre\bin\java
-Dvm.assert_dialog=false -cp . -showversion test
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r465953, (Oct 20 2006), Windows/ia32/msvc 1310, release build
http://incubator.apache.org/harmony
...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x0000066c, EBX: 0x0041fec0, ECX: 0x0041fed0, EDX=0x00000005
    ESI: 0x00000005, EDI: 0x0041fe20, ESP: 0x0291ff44, EBP=0x0291ff80
    EIP: 0x10003f9b
SEH handler: shutdown error...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x00000000, EBX: 0x0291faac, ECX: 0x0041fe20, EDX=0x00ea0608
    ESI: 0x0244f080, EDI: 0x0244f0b8, ESP: 0x0291fa8c, EBP=0x0291fb10
    EIP: 0x0057a446
SEH handler: too many shutdown errorsUncaught exception in main:
java.lang.Exception: Hello
        at test.main(test.java:9)

C:\tmp\tmp17>exit


> [drlvm][exception] unhandled exception leads to 'VM Crashed!' message
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-1662
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1662
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>
> On win platform unhandled exception leads to 'VM Crashed!' message.
> ============= test.java ==================
> public class test {
>     public static void main(String[] args) throws Exception {
>         throw new Exception("Hello");
>     }
> }
> ======================================
> Output:
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
> Exception in thread "main" java.lang.Exception: Hello
>         at test.main(test.java:3)
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r452292, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> ...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df80, EDX=0x00000005
>     ESI: 0x0332ff1c, EDI: 0x00000020, ESP: 0x0332ff18, EBP=0x0332ff34
>     EIP: 0x10005d48
> SEH handler: shutdown error...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x02b2dce0, EDX=0x00000000
>     ESI: 0x0332f928, EDI: 0x0332f9e8, ESP: 0x0332f928, EBP=0x0332f92c
>     EIP: 0x005eea13
> SEH handler: too many shutdown errorsJNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured while running starter class: Exception left unhandled before destroying VM
> JNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured in starter class shutdown() method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1662) [drlvm][exception] unhandled exception leads to 'VM Crashed!' message

Posted by "Pavel Afremov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1662?page=comments#action_12440894 ] 
            
Pavel Afremov commented on HARMONY-1662:
----------------------------------------

I've test  it on Windows IA32, Linux IA32 and Linux IA64T and everything works OK.
I can not reproduce it.

Output is :

JNI.ExceptionDescribe: java/lang/Exception:

java/lang/Exception : Hello
 at test1.main (test1.java: 3)
Error occured while running starter class: Exception left unhandled before destroying VM
PROCESS_EXCEPTION
JNI.ExceptionDescribe: java/lang/Exception:

java/lang/Exception : Hello
 at test1.main (test1.java: 3)
Error occured in starter class shutdown() method.

> [drlvm][exception] unhandled exception leads to 'VM Crashed!' message
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-1662
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1662
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>
> On win platform unhandled exception leads to 'VM Crashed!' message.
> ============= test.java ==================
> public class test {
>     public static void main(String[] args) throws Exception {
>         throw new Exception("Hello");
>     }
> }
> ======================================
> Output:
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
> Exception in thread "main" java.lang.Exception: Hello
>         at test.main(test.java:3)
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r452292, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> ...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df80, EDX=0x00000005
>     ESI: 0x0332ff1c, EDI: 0x00000020, ESP: 0x0332ff18, EBP=0x0332ff34
>     EIP: 0x10005d48
> SEH handler: shutdown error...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x02b2dce0, EDX=0x00000000
>     ESI: 0x0332f928, EDI: 0x0332f9e8, ESP: 0x0332f928, EBP=0x0332f92c
>     EIP: 0x005eea13
> SEH handler: too many shutdown errorsJNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured while running starter class: Exception left unhandled before destroying VM
> JNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured in starter class shutdown() method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-1662) [drlvm][exception] unhandled exception leads to 'VM Crashed!' message

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1662?page=all ]

Geir Magnusson Jr closed HARMONY-1662.
--------------------------------------

    Resolution: Fixed

> [drlvm][exception] unhandled exception leads to 'VM Crashed!' message
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-1662
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1662
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>
> On win platform unhandled exception leads to 'VM Crashed!' message.
> ============= test.java ==================
> public class test {
>     public static void main(String[] args) throws Exception {
>         throw new Exception("Hello");
>     }
> }
> ======================================
> Output:
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
> Exception in thread "main" java.lang.Exception: Hello
>         at test.main(test.java:3)
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r452292, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> ...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df80, EDX=0x00000005
>     ESI: 0x0332ff1c, EDI: 0x00000020, ESP: 0x0332ff18, EBP=0x0332ff34
>     EIP: 0x10005d48
> SEH handler: shutdown error...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x02b2dce0, EDX=0x00000000
>     ESI: 0x0332f928, EDI: 0x0332f9e8, ESP: 0x0332f928, EBP=0x0332f92c
>     EIP: 0x005eea13
> SEH handler: too many shutdown errorsJNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured while running starter class: Exception left unhandled before destroying VM
> JNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured in starter class shutdown() method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1662) [drlvm][exception] unhandled exception leads to 'VM Crashed!' message

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1662?page=comments#action_12441038 ] 
            
Vladimir Ivanov commented on HARMONY-1662:
------------------------------------------

Seems, I'm a lucky man. I can reproduce it on my winXP:

C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
Exception in thread "main" java.lang.Exception: Hello
        at test.main(test.java:3)

C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r454586, (Oct 10 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df88, EDX=0x00000005
    ESI: 0x0333ff18, EDI: 0x02b0d168, ESP: 0x0333ff14, EBP=0x0333ff30
    EIP: 0x10005ca8
SEH handler: shutdown error...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x0041ded8, EDX=0x00000000
    ESI: 0x0333f918, EDI: 0x0333f9d8, ESP: 0x0333f918, EBP=0x0333f91c
    EIP: 0x005f0943
SEH handler: too many shutdown errors
java/lang/Exception : Hello
 at test.main (test.java: 3)

C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_release\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r454586, (Oct 10 2006), Windows/ia32/msvc 1310, release build
http://incubator.apache.org/harmony
...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x00000674, EBX: 0x0041fec0, ECX: 0x0041fed0, EDX=0x00000005
    ESI: 0x00000005, EDI: 0x0041fe20, ESP: 0x0291ff44, EBP=0x0291ff80
    EIP: 0x10003f9b
SEH handler: shutdown error...VM Crashed!
Windows reported exception: ACCESS_VIOLATION
Registers:
    EAX: 0x00000000, EBX: 0x0291faac, ECX: 0x0041fe20, EDX=0x00ea0608
    ESI: 0x024664d0, EDI: 0x02466508, ESP: 0x0291fa8c, EBP=0x0291fb10
    EIP: 0x0057a3c6
SEH handler: too many shutdown errors
java/lang/Exception : Hello
 at test.main (test.java: 3)

C:\tmp\tmp17>

> [drlvm][exception] unhandled exception leads to 'VM Crashed!' message
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-1662
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1662
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>
> On win platform unhandled exception leads to 'VM Crashed!' message.
> ============= test.java ==================
> public class test {
>     public static void main(String[] args) throws Exception {
>         throw new Exception("Hello");
>     }
> }
> ======================================
> Output:
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
> Exception in thread "main" java.lang.Exception: Hello
>         at test.main(test.java:3)
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r452292, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> ...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df80, EDX=0x00000005
>     ESI: 0x0332ff1c, EDI: 0x00000020, ESP: 0x0332ff18, EBP=0x0332ff34
>     EIP: 0x10005d48
> SEH handler: shutdown error...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x02b2dce0, EDX=0x00000000
>     ESI: 0x0332f928, EDI: 0x0332f9e8, ESP: 0x0332f928, EBP=0x0332f92c
>     EIP: 0x005eea13
> SEH handler: too many shutdown errorsJNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured while running starter class: Exception left unhandled before destroying VM
> JNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured in starter class shutdown() method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1662) [drlvm][exception] unhandled exception leads to 'VM Crashed!' message

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1662?page=comments#action_12446877 ] 
            
Vladimir Ivanov commented on HARMONY-1662:
------------------------------------------

can't reproduce on r470678. Should be closed.

> [drlvm][exception] unhandled exception leads to 'VM Crashed!' message
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-1662
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1662
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>
> On win platform unhandled exception leads to 'VM Crashed!' message.
> ============= test.java ==================
> public class test {
>     public static void main(String[] args) throws Exception {
>         throw new Exception("Hello");
>     }
> }
> ======================================
> Output:
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
> Exception in thread "main" java.lang.Exception: Hello
>         at test.main(test.java:3)
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r452292, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> ...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df80, EDX=0x00000005
>     ESI: 0x0332ff1c, EDI: 0x00000020, ESP: 0x0332ff18, EBP=0x0332ff34
>     EIP: 0x10005d48
> SEH handler: shutdown error...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x02b2dce0, EDX=0x00000000
>     ESI: 0x0332f928, EDI: 0x0332f9e8, ESP: 0x0332f928, EBP=0x0332f92c
>     EIP: 0x005eea13
> SEH handler: too many shutdown errorsJNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured while running starter class: Exception left unhandled before destroying VM
> JNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured in starter class shutdown() method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1662) [drlvm][exception] unhandled exception leads to 'VM Crashed!' message

Posted by "Rana Dasgupta (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1662?page=comments#action_12443562 ] 
            
Rana Dasgupta commented on HARMONY-1662:
----------------------------------------

I cannot get this to repro either on winXP where bug was reported ( with today's build ). 
With XP debug and release 32 bit build, the output is as expected:

java/lang/Exception : Hello
 at SimpleException.main (SimpleException.java: 3)
Uncaught exception in main:
java.lang.Exception: Hello
        at SimpleException.main(SimpleException.java

We should close this bug with "does not repro"

> [drlvm][exception] unhandled exception leads to 'VM Crashed!' message
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-1662
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1662
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>
> On win platform unhandled exception leads to 'VM Crashed!' message.
> ============= test.java ==================
> public class test {
>     public static void main(String[] args) throws Exception {
>         throw new Exception("Hello");
>     }
> }
> ======================================
> Output:
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . test
> Exception in thread "main" java.lang.Exception: Hello
>         at test.main(test.java:3)
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r452292, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> ...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000674, EBX: 0x00421ee8, ECX: 0x0041df80, EDX=0x00000005
>     ESI: 0x0332ff1c, EDI: 0x00000020, ESP: 0x0332ff18, EBP=0x0332ff34
>     EIP: 0x10005d48
> SEH handler: shutdown error...VM Crashed!
> Windows reported exception: ACCESS_VIOLATION
> Registers:
>     EAX: 0x00000000, EBX: 0x7c97e4a0, ECX: 0x02b2dce0, EDX=0x00000000
>     ESI: 0x0332f928, EDI: 0x0332f9e8, ESP: 0x0332f928, EBP=0x0332f92c
>     EIP: 0x005eea13
> SEH handler: too many shutdown errorsJNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured while running starter class: Exception left unhandled before destroying VM
> JNI.ExceptionDescribe: java/lang/Exception:
> java/lang/Exception : Hello
>  at test.main (test.java: 3)
> Error occured in starter class shutdown() method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira