Date: Mon, 16 Jul 2007 22:48:19 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: emulation@freebsd.org Subject: pthread_cancel crashing simplified Message-ID: <20070716204819.GA25205@freebsd.org>
next in thread | raw e-mail | index | archive | help
hi... after a little looking around I managed to simplify the crashing case to simple: main() { kill(getpid(), 32); } when you compile this as "gcc foo.c" it works, but when compiled with "gcc foo.c -lpthread" it crashes. the handler for this signal can be seen in glibc sources at: nptl/init.c:140 (glibc 2.3.6 which is what I am using to test and also what fc4 uses) I reckon the solution is close so if someone wants to step in and take the eternal glory of fixing it.. go ahead! :) or at least.. can someone confirm that it crashes on amd64-linuxulator? that would rule out TLS bug. btw. I think/hope this is the cause of flash9 crashing etc. also jdk15 crash. thnx roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070716204819.GA25205>