You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Yakushev (JIRA)" <ji...@apache.org> on 2007/12/13 15:14:43 UTC

[jira] Created: (HARMONY-5304) [drlvm][thread] assert in ClassCastTest from the reliability test suite

[drlvm][thread] assert in ClassCastTest from the reliability test suite
-----------------------------------------------------------------------

                 Key: HARMONY-5304
                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Linux x86_64
            Reporter: Andrey Yakushev


vm.classloading.ClassCastTest failed on cruise control:
http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html

I tried the debug version od DRLVM and obtained assert:

java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
SIGABRT in VM code.
Stack trace:
  0: raise (??:-1)
  1: abort (??:-1)
  2: ?? (??:-1)
  3: ?? (??:-1)
  4: ?? (??:-1)
  5: ?? (??:-1)
  6: __fxprintf (??:-1)
  7: asprintf (??:-1)
  8: ?? (??:-1)
  9: ?? (??:-1)
 10: ?? (??:-1)
 11: __assert_fail (??:-1)
 12: ?? (??:-1)
 13: ?? (??:-1)
 14: ?? (??:-1)
 15: ?? (??:-1)
 16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
 17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
 18: ?? (??:-1)
 19: java/lang/Class.initReflectionData()V (Class.java:748)
 20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
 21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
 22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
 23: java/lang/Thread.run()V (Thread.java:657)
 24: java/lang/Thread.runImpl()V (Thread.java:668)
LTend of stack traceGT


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


Re: [jira] Commented: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by Xiao-Feng Li <xi...@gmail.com>.
Ilya, based on your descriptions about the new failures in lockword,
it looks like the failures are indeed related with object header
processing. I suggest you just use the latest SVN for the
investigation if it hits assertion definitely.

In the latest SVN, please check lines 157 ~ 197 in
working_vm\vm\gc_gen\src\common\gc_block.h. The functions there
store/load a native pointer into/from obj_info. This is the only place
(in my understanding) changed in latest SVN that is related to object
header layout.  And you can check the code before this change to
confirm if they will hit different assertions.

Would you let me know the process and exact commands and options to
reproduce the failure?

Thanks,
xiaofeng

On Dec 27, 2007 8:13 AM, Ilya Berezhniuk (JIRA) <ji...@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554497 ]
>
> Ilya Berezhniuk commented on HARMONY-5304:
> ------------------------------------------
>
> Last commit related to uncompressed references implementation was r600979 commit (lockword offset in magics).
> So currently uncompressed references implementation includes 4 commits: r599482, r599491, r599519, r600979.
>
> To check if uncompressed references commits introduce this bug, I've got r599465 and applied all these 4 patches.
> The result confirms Pavel's conclusion - assertion occures with all these patches applied.
>
> Now I'm trying to investigate this bug closer.
> I'm going to patching the code to make obj_info offset 4-byte again, to ensure that the cause is in 64-bit obj_info operations, not in changed obj_info offset.
>
>
> BTW, I've also started this test on latest VM revision (including last GC_GEN commit r606876) - the test crashes every run now, with 3 different assertions:
> 1) thread_native_thin_monitor.c:385: hythread_thin_monitor_try_enter: Assertion `!(0==(*lockword_ptr & ((1<<10))))' failed
> 2) Prepare.cpp:1143: bool Class::prepare(Global_Env*): Assertion `m_state == ST_BytecodesVerified' failed
> 3) thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed
>
>
>
> > [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> > -----------------------------------------------------------------------
> >
> >                 Key: HARMONY-5304
> >                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
> >             Project: Harmony
> >          Issue Type: Bug
> >          Components: DRLVM
> >         Environment: Linux x86_64
> >            Reporter: Andrey Yakushev
> >
> > vm.classloading.ClassCastTest failed on cruise control:
> > http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> > I tried the debug version of DRLVM and obtained assert:
> > java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> > SIGABRT in VM code.
> > Stack trace:
> >   0: raise (??:-1)
> >   1: abort (??:-1)
> >   2: ?? (??:-1)
> >   3: ?? (??:-1)
> >   4: ?? (??:-1)
> >   5: ?? (??:-1)
> >   6: __fxprintf (??:-1)
> >   7: asprintf (??:-1)
> >   8: ?? (??:-1)
> >   9: ?? (??:-1)
> >  10: ?? (??:-1)
> >  11: __assert_fail (??:-1)
> >  12: ?? (??:-1)
> >  13: ?? (??:-1)
> >  14: ?? (??:-1)
> >  15: ?? (??:-1)
> >  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
> >  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
> >  18: ?? (??:-1)
> >  19: java/lang/Class.initReflectionData()V (Class.java:748)
> >  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
> >  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
> >  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
> >  23: java/lang/Thread.run()V (Thread.java:657)
> >  24: java/lang/Thread.runImpl()V (Thread.java:668)
> > LTend of stack traceGT
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>



-- 
http://xiao-feng.blogspot.com

[jira] Updated: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk updated HARMONY-5304:
-------------------------------------

    Attachment: H-5304.patch

To investigate a cause of the bug, I've got HARMONY-5098 patch and applied its changes incrementally by small pieces.

Finally I've found affecting change - apr_atomic_casptr() does not work correctly for 64-bit values, so HARMONY-5098 change in atomic_casptrsz() was wrong - it's better to leave port_atomic_cas64() for 64-bit platforms.

Attached patch totally fixes the bug for r600979 revision.
It changes apr_atomic_casptr() to cas64/cas32 again, and also changes obj_info size in VM because nobody uses it as 64-bit.

On latest Harmony revision the patch fixes all the problems with monitors, but another assertion has appeared:
"java: /nfs/ims/proj/drl/mrt2/users/iberezhn/svn2/working_vm/vm/vmcore/src/class_support/Prepare.cpp:1143: bool Class::prepare(Global_Env*): Assertion `m_state == ST_BytecodesVerified' failed."

I looks like race condition in classloader, so I've filed HARMONY-5357 for this problem.

> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>         Attachments: H-5304.patch
>
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Commented: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554497 ] 

Ilya Berezhniuk commented on HARMONY-5304:
------------------------------------------

Last commit related to uncompressed references implementation was r600979 commit (lockword offset in magics).
So currently uncompressed references implementation includes 4 commits: r599482, r599491, r599519, r600979.

To check if uncompressed references commits introduce this bug, I've got r599465 and applied all these 4 patches.
The result confirms Pavel's conclusion - assertion occures with all these patches applied.

Now I'm trying to investigate this bug closer.
I'm going to patching the code to make obj_info offset 4-byte again, to ensure that the cause is in 64-bit obj_info operations, not in changed obj_info offset.


BTW, I've also started this test on latest VM revision (including last GC_GEN commit r606876) - the test crashes every run now, with 3 different assertions:
1) thread_native_thin_monitor.c:385: hythread_thin_monitor_try_enter: Assertion `!(0==(*lockword_ptr & ((1<<10))))' failed
2) Prepare.cpp:1143: bool Class::prepare(Global_Env*): Assertion `m_state == ST_BytecodesVerified' failed
3) thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed



> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Closed: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao-Feng Li closed HARMONY-5304.
---------------------------------

    Resolution: Fixed
      Assignee: Xiao-Feng Li

> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>            Assignee: Xiao-Feng Li
>         Attachments: H-5304.patch
>
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Updated: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Yakushev updated HARMONY-5304:
-------------------------------------

    Summary: [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite  (was: [drlvm][thread] assert in ClassCastTest from the reliability test suite)

As Pavel evaluated

> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Commented: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557779#action_12557779 ] 

Ilya Berezhniuk commented on HARMONY-5304:
------------------------------------------

AFAIU, the test does not produce assertions now.
So I suggest opening another issue for hangup; this issue appeared to be related to assertion only.


> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>            Assignee: Xiao-Feng Li
>         Attachments: H-5304.patch
>
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Commented: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554501 ] 

Xiao-Feng Li commented on HARMONY-5304:
---------------------------------------

Ilya, based on your descriptions about the new failures in lockword,
it looks like the failures are indeed related with object header
processing. I suggest you just use the latest SVN for the
investigation if it hits assertion definitely.

In the latest SVN, please check lines 157 ~ 197 in
working_vm\vm\gc_gen\src\common\gc_block.h. The functions there
store/load a native pointer into/from obj_info. This is the only place
(in my understanding) changed in latest SVN that is related to object
header layout.  And you can check the code before this change to
confirm if they will hit different assertions.

Would you let me know the process and exact commands and options to
reproduce the failure?

Thanks,
xiaofeng




-- 
http://xiao-feng.blogspot.com


> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Commented: (HARMONY-5304) [drlvm][thread] assert in ClassCastTest from the reliability test suite

Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552368 ] 

Andrey Yakushev commented on HARMONY-5304:
------------------------------------------


Revision 602572  - first failure on CC
Revision 602144 - last pass on CC. I checked this build locally - infrequent intermittent failure already exists.
I checked M3 release -revision 580985 - 511 iterations without any failure.

So this is a regression as compared with M3

> [drlvm][thread] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Updated: (HARMONY-5304) [drlvm][thread] assert in ClassCastTest from the reliability test suite

Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Yakushev updated HARMONY-5304:
-------------------------------------

    Description: 
vm.classloading.ClassCastTest failed on cruise control:
http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html

I tried the debug version of DRLVM and obtained assert:

java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
SIGABRT in VM code.
Stack trace:
  0: raise (??:-1)
  1: abort (??:-1)
  2: ?? (??:-1)
  3: ?? (??:-1)
  4: ?? (??:-1)
  5: ?? (??:-1)
  6: __fxprintf (??:-1)
  7: asprintf (??:-1)
  8: ?? (??:-1)
  9: ?? (??:-1)
 10: ?? (??:-1)
 11: __assert_fail (??:-1)
 12: ?? (??:-1)
 13: ?? (??:-1)
 14: ?? (??:-1)
 15: ?? (??:-1)
 16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
 17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
 18: ?? (??:-1)
 19: java/lang/Class.initReflectionData()V (Class.java:748)
 20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
 21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
 22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
 23: java/lang/Thread.run()V (Thread.java:657)
 24: java/lang/Thread.runImpl()V (Thread.java:668)
LTend of stack traceGT


  was:
vm.classloading.ClassCastTest failed on cruise control:
http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html

I tried the debug version od DRLVM and obtained assert:

java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
SIGABRT in VM code.
Stack trace:
  0: raise (??:-1)
  1: abort (??:-1)
  2: ?? (??:-1)
  3: ?? (??:-1)
  4: ?? (??:-1)
  5: ?? (??:-1)
  6: __fxprintf (??:-1)
  7: asprintf (??:-1)
  8: ?? (??:-1)
  9: ?? (??:-1)
 10: ?? (??:-1)
 11: __assert_fail (??:-1)
 12: ?? (??:-1)
 13: ?? (??:-1)
 14: ?? (??:-1)
 15: ?? (??:-1)
 16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
 17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
 18: ?? (??:-1)
 19: java/lang/Class.initReflectionData()V (Class.java:748)
 20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
 21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
 22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
 23: java/lang/Thread.run()V (Thread.java:657)
 24: java/lang/Thread.runImpl()V (Thread.java:668)
LTend of stack traceGT



> [drlvm][thread] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Commented: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554900 ] 

Xiao-Feng Li commented on HARMONY-5304:
---------------------------------------

Patch H-5304.patch was committed.

> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>         Attachments: H-5304.patch
>
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Commented: (HARMONY-5304) [drlvm][thread] assert in ClassCastTest from the reliability test suite

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553273 ] 

Pavel Rebriy commented on HARMONY-5304:
---------------------------------------

My investigations are the following:

Revision 601637 - test failed
Revision 596540 - test passed

Continue searching...

> [drlvm][thread] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Updated: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao-Feng Li updated HARMONY-5304:
----------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: HARMONY-5416

> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>            Assignee: Xiao-Feng Li
>         Attachments: H-5304.patch
>
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Commented: (HARMONY-5304) [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite

Posted by "Andrey Yakushev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557302#action_12557302 ] 

Andrey Yakushev commented on HARMONY-5304:
------------------------------------------

Is it revision 607396?
Test still failed on cruise control run:

http://people.apache.org/~smishura/r607816/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html

But it could be another issue, of course.


> [drlvm][gc_gen] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>            Assignee: Xiao-Feng Li
>         Attachments: H-5304.patch
>
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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


[jira] Commented: (HARMONY-5304) [drlvm][thread] assert in ClassCastTest from the reliability test suite

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553704 ] 

Pavel Rebriy commented on HARMONY-5304:
---------------------------------------

My investigations are the following:

Revision 599465 - test passed (with patch from HARMONY-5242)
Revision 599488 - test failed (with patch from HARMONY-5242)

So, revision witch breaks the test is the following:

------------------------------------------------------------------------
r599482 | xli | 2007-11-29 18:22:40 +0300 (Thu, 29 Nov 2007) | 1 line

HARMONY-5098 : [drlvm][gc_gen] Support for uncompressed heap references in gc
------------------------------------------------------------------------


> [drlvm][thread] assert in ClassCastTest from the reliability test suite
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5304
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Andrey Yakushev
>
> vm.classloading.ClassCastTest failed on cruise control:
> http://people.apache.org/~smishura/r602572/Linux_x86_64/reliability/vm/classloading/53_ClassCastTest.html
> I tried the debug version of DRLVM and obtained assert:
> java: /nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:665: hythread_inflate_lock: Assertion `hythread_owns_thin_lock(tm_self_tls, lockword)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: ?? (??:-1)
>   3: ?? (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: __fxprintf (??:-1)
>   7: asprintf (??:-1)
>   8: ?? (??:-1)
>   9: ?? (??:-1)
>  10: ?? (??:-1)
>  11: __assert_fail (??:-1)
>  12: ?? (??:-1)
>  13: ?? (??:-1)
>  14: ?? (??:-1)
>  15: ?? (??:-1)
>  16: hythread_inflate_lock (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/thread/src/thread_native_thin_monitor.c:666)
>  17: ManagedObject::get_obj_info_addr() (/nfs/ims/proj/drl/mrt3/users/avyakush/ws/bt_l64/build/checkouts/drlvm/vm/vmcore/include/object_layout.h:256)
>  18: ?? (??:-1)
>  19: java/lang/Class.initReflectionData()V (Class.java:748)
>  20: java/lang/Class.getName()Ljava/lang/String; (Class.java:515)
>  21: org/apache/harmony/test/reliability/vm/classloading/ClassCastTest.testContent(Ljava/lang/Class;)V (ClassCastTest.java:129)
>  22: org/apache/harmony/test/reliability/share/ClassMultiTestBase.run()V (ClassMultiTestBase.java:100)
>  23: java/lang/Thread.run()V (Thread.java:657)
>  24: java/lang/Thread.runImpl()V (Thread.java:668)
> LTend of stack traceGT

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