lewisje / address-sanitizer

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

Android libc closes stdout/stdin/stderr before atexit() handlers #263

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Standard streams are closed immediately after main executable destructors on 
Android.
ASan runtime is a shared library, and its destructors (including atexit 
handlers) run after that. Any attempt to write smth to stderr causes a deadlock 
(if Die() also writes to stderr) or a crash (if it does not).

This is an issue for coverage dumping.

Original issue reported on code.google.com by euge...@google.com on 12 Feb 2014 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by ramosian.glider@gmail.com on 30 Jul 2015 at 9:05

GoogleCodeExporter commented 9 years ago
Adding Project:AddressSanitizer as part of GitHub migration.

Original comment by ramosian.glider@gmail.com on 30 Jul 2015 at 9:06