DynamoRIO / DynamoRIO/drmemory

drheapstat holds global malloc lock, resulting in DR lock being held when hit was-writable fault!

Open
#1,358 1 comment 0 reactions 0 assignees View on GitHub
Bug-ToolCrash Component-Heapstat Migrated Priority-Medium
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on October 27, 2013 15:50:25_

Xref issue #1354 and DRi#143. I'm splitting this from those cases as we have a working solution for Dr. Memory that I'm going to go ahead and commit.

How do we solve this one? I don't think we can mark the replace-malloc DR
lock as dr_mark_safe_to_suspend() as it's acquired in some places where a
regular DR lock is held (e.g., itimer event).

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1358_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.