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-3510) [drlvm][exceptions] DRLVM crashes on LinkageError
Date Wed, 28 Mar 2007 11:04:32 GMT

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


Mime
View raw message