You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Afremov (JIRA)" <ji...@apache.org> on 2007/01/30 12:09:33 UTC

[jira] Commented: (HARMONY-3010) [drlvm][thread manager] VM crashes with seg fault on the recursive call of a synchronized method

    [ https://issues.apache.org/jira/browse/HARMONY-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468572 ] 

Pavel Afremov commented on HARMONY-3010:
----------------------------------------

I can't reproduce it now. The output on my machine is:

$ ./build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/java -showversion  -cp .. MyStack
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 = r@svn.revision@, (Jan 26 2007), Linux/ia32/gcc 3.3.3, release build
http://incubator.apache.org/harmony

Got expected StackOverflowError
Stack test passed

$ cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9

$

> [drlvm][thread manager] VM crashes with seg fault on the recursive call of a synchronized method
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3010
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3010
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Attachments: MyStack.java
>
>
> The attached test crashes with the following message on Linux SUSE9 ia32:
> SIGSEGV in VM code.
> Stack trace:
>         1: locktable_get_fat_monitor (/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_thin_monitor.c:655)
>         2: hythread_thin_monitor_try_enter (/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_thin_monitor.c:310)
>         3: IP is 0x416A05BD <native code>
>         4: ?? (??:-1)
> <end of stack trace>
> Segmentation fault
> If to remove the "synchronized" modifier from the "test()" method declaration, the test passes.
> On SUSE9 Linux em64t the crash does not depend on the "synchronized" modifier: it just crashes with the wording:
> Segmentation fault
> (see HARMONY-2972)
> The attached test is the slightly modified smoke test stress.Stack.

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