Date: Thu, 19 Feb 2004 14:15:59 -0600 From: "Guy Helmer" <ghelmer@palisadesys.com> To: <freebsd-current@freebsd.org> Subject: Sending -ABRT signal to multi-threaded process Message-ID: <FPEBKMIFGFHCGLLKBLMMKEPACDAA.ghelmer@palisadesys.com>
next in thread | raw e-mail | index | archive | help
I'm having trouble sending signals to a multi-threaded process on FreeBSD 5-current (cvsup'ed today Feb 18 2004) using -pthread (libpthread.so.1). The process seems to lock up, possibly due to a mutex problem (the lockup also occurs when built with LinuxThreads), but when I try to "kill -ABRT" the process to kill it and obtain a core dump, nothing happens. Then I try to "kill -9" the process: under SCHED_4BSD, none of the threads were terminated; under SCHED_ULE, three of the five threads seemed to have terminated. I have to shutdown the machine to get rid of the process. Any hints on debugging threaded processes on FreeBSD 5? Guy Helmer, Ph.D., Principal System Architect, Palisade Systems, Inc. http://www.palisadesys.com/~ghelmer/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FPEBKMIFGFHCGLLKBLMMKEPACDAA.ghelmer>