Re: Cygwin 1.7 pthread hides segmentation fault

2015-01-05 Thread Eric Blake
On 01/04/2015 07:14 PM, Howard Guo wrote: It seems that segfaults go unreported using pthread and Cygwin 1.7.33-2. Here is a minimal code piece to reproduce: #include pthread.h void* thread_run(void* _) { int *p = 0; *p = 1; return NULL; } int main(int

Cygwin 1.7 pthread hides segmentation fault

2015-01-04 Thread Howard Guo
It seems that segfaults go unreported using pthread and Cygwin 1.7.33-2. Here is a minimal code piece to reproduce: #include pthread.h void* thread_run(void* _) { int *p = 0; *p = 1; return NULL; } int main(int argc, char** argv) { pthread_t t1;