Closed Bug 63514 Opened 24 years ago Closed 24 years ago

PR_Sleep stucks sometimes on AIX

Categories

(NSPR :: NSPR, defect, P1)

3.5.1
Other
AIX
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jerome.arnou, Assigned: wtc)

Details

Hi, I use NSPR on AIX 4.3.3. I have some threads doing operations, and I need to sleep some of these threads under certain circumstances. It works correctly upto it stucks randomly. Here is the stack: _spin_lock_global_common(??, ??, ??) at 0xd00072b0 malloc.__heap_lock(??, ??) at 0xd01645c8 malloc.free(??) at 0xd0165e48 pthread_cond_destroy(??) at 0xd000f600 unnamed block $b1989, line 316 in "ptsynch.c" ptsynch.PR_DestroyCondVar(0x3035f678), line 316 in "ptsynch.c" unnamed block $b2043, line 754 in "ptthread.c" ptthread.PR_Sleep(0xbec), line 754 in "ptthread.c" Do you have any idea on this point ? Regards, Jerome ARNOU
Priority: -- → P1
We have not received reports of this problem before. The stack trace shows that the thread is waiting for the heap lock. It looks like some other thread is holding the heap lock and not releasing it. Are you using NSPR 3.1, as indicated by the Version in this bug report?
It's v3.5.1
Version: 3.1 → 3.5.1
Reporter is this still a problem in the latest nightlies?
We just discovered, the AIX machine on which we reported this pb was not correctly patched. The patch referenced with the No 5765-C34 corrects a possible pb of threads hanging ... and the stuck in PR_Sleep is also corrected
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.