JDK-4666992 : b08: Permissions/threadGroupStopTest crash VM
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.1
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2002-04-11
  • Updated: 2002-05-15
  • Resolved: 2002-04-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.1 hopperFixed
Related Reports
Relates :  
Relates :  
Description
JDK build @
/net/koori.sfbay/onestop/jdk/1.4.1/latest/binaries/solaris-sparc/
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b08)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b08, mixed mode)

Note:
It passed with Hopper 07 and Merlin FCS

How to reproduce
1. go to
/net/sqesvr/export/vsn/SECURITY/merlin_jdk_tonga/home/testbase/src/Permissions/threadGroupStopTest
2. sh Run.sh
3. you will see --
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b08)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b08, mixed mode)
Note: threadGroupStopTest.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
-----------------------------------

localTestThread started....
Thread Cleaned Up...
Test Name   = threadGroupStopTest
Test Args   = void Expected Result = false
Test Result = PASS: the test got Security exception as expected

-----------------------------------

localTestThread started....
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1-beta-b08 mixed mode)
#
# Error ID: 43493349474E41545552450E4350500025 01
#
# Problematic Thread: prio=5 tid=0xb1ea8 nid=0xa runnable 
#
Abort

=====================================================
The following are expected result got from merlin FCS

sh Run.sh
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
Note: privilegedClasses/localTestThread.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
Note: threadGroupStopTest.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
-----------------------------------

Test Name   = threadGroupStopTest
Test Args   = void Expected Result = false
Test Result = PASS: the test got Security exception as expected

-----------------------------------

localTestThread started....

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: hopper FIXED IN: hopper INTEGRATED IN: hopper VERIFIED IN: hopper
14-06-2004

EVALUATION ###@###.### 2002-04-15 quick email exchange with ken russell, who noted: The assertion that is failing is # assert(ret == 0, "sema_wait() failed") # # Error ID: /net/animorphic/export/kbr/main/b08_weekahead/ src/os/solaris/vm/os_solaris.cpp, 1375 [ Patched ] ------ This bug was likely introduced with the fix for 4656449. The problem is that asynchronous exceptions (from Thread.stop()) are being posted to the compiler thread. In 1.4.2 we should fix this by making the compiler thread a non-Java thread, but for now we just skip posting async exceptions on the compiler thread. In a debug build, the sema_wait() assertion is still the first problem hit in -Xint, -Xmixed and -Xcomp modes. I assume the runtime group is investigating that under a separate bug. ###@###.### 2002-04-16 Fixed in Hopper. ###@###.### 2002-04-19
16-04-2002