Skip to content

Conversation

@rglarix
Copy link

@rglarix rglarix commented Mar 9, 2017

~CaptureContext obtains a blockinfo_t from map/remapBlock, then adds callstack information to it.
But in multithreaded programs another thread could change blockinfo informations.
This patch moves locks on g_heapMapLock to ~CaptureContext and reorders callstack collection before the lock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants