Opened 14 years ago

Last modified 11 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 14 years ago.
Analysis notes

Download all attachments as: .zip

Change History (4)

by Steven Levine, 14 years ago

Attachment: SHLNotes.txt added

Analysis notes

comment:1 by bird, 13 years ago

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 by bird, 13 years ago

Status: acceptedassigned

comment:3 by Yuri Dario, 11 years ago

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