You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/03/28 13:04:32 UTC

[jira] Resolved: (HARMONY-3510) [drlvm][exceptions] DRLVM crashes on LinkageError

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

Gregory Shimansky resolved HARMONY-3510.
----------------------------------------

    Resolution: Fixed

The problem is with LinkageError exception object creation. The message is allocated with alloca, so memory is corrupted after function exits. When message is corrupted, the message String object cannot be created and OOME should be raised.

Fixed at 523276. Please check that the bug is fixed now.

> [drlvm][exceptions] DRLVM crashes on LinkageError
> -------------------------------------------------
>
>                 Key: HARMONY-3510
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3510
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Assigned To: Gregory Shimansky
>         Attachments: TestInvoke.java
>
>
> The attached test crashes in the following way:
> java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/exception/exceptions.cpp:214: void exn_throw_object(_jobject*): Assertion `is_unwindable()' failed.
> SIGABRT in VM code.
> Stack trace:
> addr2line: '[vdso]': No such file
>  
>         0: ?? (‰©Ö¶þ ¿«- ô­- X¡¿ô­- (þ ¿P‰- 8þ ¿†A¨©Ö¶Hþ ¿1‰©Ö¶xþ ¿«- ô­- X¡¿ô­- hþ ¿P‰- xþ ¿†A¨- ^¢©Ö¶ˆþ ¿dû¡ô­- ¸þ ¿1‰- :-1)
> read() failed during execution of addr2line
>         1: ?? (??:-1)
> read() failed during execution of addr2line
>         2: ?? (??:-1)
> read() failed during execution of addr2line
>         3: ?? (??:-1)
> read() failed during execution of addr2line
>         4: ?? (??:-1)
> read() failed during execution of addr2line
>         5: ?? (??:-1)
> read() failed during execution of addr2line
>         6: ?? (??:-1)
> read() failed during execution of addr2line
>         7: ?? (??:-1)
>         8: <Generated stub> IP is 0xa42e335d
>         9: java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class; (ClassLoader.java:417)
>         10: java/lang/ClassLoader.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; (ClassLoader.java:370)
>         11: MyClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class; (TestInvoke.java:34)
>         12: java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; (ClassLoader.java:554)
>         13: java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class; (ClassLoader.java:311)
>         14: TestInvoke.test()V (TestInvoke.java:13)
>         15: TestInvoke.main([Ljava/lang/String;)V (TestInvoke.java:7)
> read() failed during execution of addr2line
>         16: ?? (??:-1)
> read() failed during execution of addr2line
>         17: ?? (??:-1)
> read() failed during execution of addr2line
>         18: ?? (??:-1)
> read() failed during execution of addr2line
>         19: ?? (??:-1)
> read() failed during execution of addr2line
>         20: ?? (??:-1)
> read() failed during execution of addr2line
>         21: ?? (??:-1)
> read() failed during execution of addr2line
>         22: ?? (??:-1)
> read() failed during execution of addr2line
>         23: ?? (??:-1)
> read() failed during execution of addr2line
>         24: ?? (??:-1)
> read() failed during execution of addr2line
>         25: ?? (??:-1)
> read() failed during execution of addr2line
>         26: ?? (??:-1)
> read() failed during execution of addr2line
>         27: ?? (??:-1)
> read() failed during execution of addr2line
>         28: ?? (??:-1)
> read() failed during execution of addr2line
>         29: ?? (??:-1)
> read() failed during execution of addr2line
>         30: ?? (??:-1)
> <end of stack trace>
> Aborted

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