Charles-François Natali <[email protected]> added the comment:
Your strace output looks strange :-)
Unless it's truncated, we see that the wait4() doesn't return when the
test pthread executable exits...
Could you try building this code :
"""
#include <pthread.h>
void* routine(void* p){return NULL;}
int main(){
pthread_t p;
if(pthread_create(&p,NULL,routine,NULL)!=0)
return 1;
(void)pthread_detach(p);
return 0;
}
"""
(with gcc -o test test.c -lpthread)
And running it from the command line, to see your shell hangs (you
might also want to try 'strace -f sh -c "test"').
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14610>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com