Opened 13 years ago

Last modified 10 years ago

#245 assigned defect

libc063 can deadlock in heap logic.

Reported by: Steven Levine Owned by: bird
Priority: normal Milestone:
Component: libc Version: 0.6
Severity: normal Keywords:
Cc:

Description

There appears to be code path that can result in the libc 0.63 heap logic getting deadlocked.

The attached SHLNotes.txt demonstrates this.

ORD1 holds the Heap lock semaphore. ORD2 appears to be looping trying to acquire the Heap lock semaphore while in a critical section.

It is not clear why ORD2 is in a critical section.

I have a process dump if more information is needed.

Attachments (1)

SHLNotes.txt (15.0 KB) - added by Steven Levine 13 years ago.
Analysis notes

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Steven Levine

Attachment: SHLNotes.txt added

Analysis notes

comment:1 Changed 12 years ago by bird

Component: emxlibc
Milestone: libc-0.6.5
Status: newaccepted

Will try add some assertions and see if it's possible to catch the bug...

comment:2 Changed 12 years ago by bird

Status: acceptedassigned

comment:3 Changed 10 years ago by Yuri Dario

Milestone: libc-0.6.6
Note: See TracTickets for help on using tickets.