JDK-6254918 : WaitForMultipleObjects() return value not handled appropriately
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2005-04-13
  • Updated: 2023-12-14
  • Resolved: 2014-06-19
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
tbdResolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :


A DESCRIPTION OF THE PROBLEM :
There are two valid return values from WaitForMultipleObjects() which indicate that a mutex object was successfully obtained, WAIT_OBJECT_0 and WAIT_ABANDONED.  WAIT_ABANDONED is not being handled appropriately in
j2se/src/windows/transport/shmem/shmem_md.c, i.e., the thread may never release the mutex, which can result in other threads remaining blocked.


REPRODUCIBILITY :
This bug can be reproduced rarely.
###@###.### 2005-04-13 20:43:07 GMT

Comments
EVALUATION Although the WAIT_ABANDONED code is documented return value, it would return that the thread exit while ownering the mutex. We have mailed the submitter (via Marvin) to get more information about the hang.
05-08-2005

EVALUATION The submitter is correct and the WAIT_ABANDONED is treated as a general error. I'm not aware of any case where we have observed this but it should be fixed. ###@###.### 2005-05-06 19:19:04 GMT
06-05-2005