Comment #4 on issue 382 by [email protected]: main thread's pthread destructors don't run before leak checker, when in gdb
https://code.google.com/p/address-sanitizer/issues/detail?id=382

In preference to crashing, I'd rather just having a report at program termination that says "Leak detection skipped: unable to attach to thread <X> (perhaps running under GDB?)" or something like that. Or, still report the leaks, and note that there may be false positives due to failure to attach to some thread(s)? I regularly run ASAN builds in gdb, and it would be annoying to have to always remember to set ASAN_OPTIONS=detect_leaks=0 before doing so.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to