Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
Classlib test org/apache/harmony/luni/tests/java/lang/ThreadGroupTest craches on
2xXeon x64 (Woodcrest B, 2cores) / Bensley SDV, RAM: 4096MB, HDD: 120GB
OS Windows 2003 32-bit SP1
with the folloing assertion:
...vm\thread\src\thread_native_suspend.c
Line: 352
Expression: status == TM_ERROR_NONE
To reproduce the issue please run
ant -Dtest.jre.home=%DRLVM_HOME% -Dbuild.module=luni -Dtest.case=org.apache.harmony.luni.tests.java.lang.ThreadGroupTest test
NOTE: sometimes test passes. Could not reproduce on Windows XP.
I'll also attach a small standalone test to reproduce the issue.
This standalone test sometimes fails on linux in the following way:
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_suspend.c:352: hythread_set_safepoint_callback: Assertion `status == (0)' failed.
SIGABRT in VM code.
Stack trace:
1: ?? (??:-1)
2: raise (??:-1)
3: ?? (??:-1)
4: ?? (??:-1)
5: abort (??:-1)
<end of stack trace>
Aborted
Attachments
Attachments
Issue Links
- duplicates
-
HARMONY-1648 ThreadGroup.stop() does not stop suspended group.
- Closed