Open
Bug 306044
Opened 19 years ago
Updated 2 years ago
PHP_TryLock hangs when lock is set by another process.
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: me.edwards, Unassigned)
Details
(Keywords: hang)
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Build Identifier: Build 4.6.0 PHP_TryLock now hangs. In a multithreaded environment, two threads have access to same PRLock. Initially thread one locks the lock, and the other thread try's it using PHP_TryLock. In a previously used NSPR Lib. 4.2 the call returned PR_FAILURE as expected. In the mentioned version (4.6.0) it hangs. Reproducible: Always Steps to Reproduce: 1. 2 processes running, sharing access to Lock 2. Process 1 - Locks the lock 3. Process 2 - Check's lock using PHP_TryLock Actual Results: On the line using the PHP_TryLock function, the system hangs, no crash occurs, but no further commands are processed. Expected Results: Returns PR_Failure to the function call (as lock is already in use)
Comment 1•19 years ago
|
||
What platform is this? What's the name of the NSPR shared (dynamic) library? libnspr4.so, nspr4.dll, or libnspr4.dll?
Updated•18 years ago
|
QA Contact: wtchang → nspr
Updated•5 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•2 years ago
|
Severity: normal → S3
Comment 2•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: wtc → nobody
Status: ASSIGNED → NEW
You need to log in
before you can comment on or make changes to this bug.
Description
•