staticanalysis / memory-sanitizer

Automatically exported from code.google.com/p/memory-sanitizer
0 stars 0 forks source link

StackDepot is not async-signal-safe #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
track-origins=2 mode adds new StackDepot records on every uninitialized store. 
Such store may occur in a signal handler. Therefore, StackDepot must be 
async-signal-safe.

Or we could run signal handlers synchronously, like TSan.

Original issue reported on code.google.com by euge...@google.com on 31 Mar 2014 at 10:51

GoogleCodeExporter commented 9 years ago
r206983 disables chained origins in signal handlers.
This should be good enough, closing the bug.

Original comment by euge...@google.com on 23 Apr 2014 at 2:09