Opened 8 years ago

Last modified 6 years ago

#245 assigned defect

libc063 can deadlock in heap logic.

Reported by: stevenhl 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 stevenhl 8 years ago.
Analysis notes

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by stevenhl

Analysis notes

comment:1 Changed 8 years ago by bird

  • Component changed from emx to libc
  • Milestone set to libc-0.6.5
  • Status changed from new to accepted

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

comment:2 Changed 8 years ago by bird

  • Status changed from accepted to assigned

comment:3 Changed 6 years ago by ydario

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