Comment #1 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

Even slightly simpler, to get rid of c++ism:

#include <pthread.h>
#include <stdlib.h>
int main(int argc, char** argv)
{
    pthread_key_t key;
    pthread_key_create(&key, &free);;
    pthread_setspecific(key, malloc(1));
    return 0;
}


--
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