threads/84778: libpthread busy loop/hang with Java when handling
signals and Runtime.exec
Daniel Eischen
deischen at freebsd.org
Thu Oct 6 16:00:23 PDT 2005
The following reply was made to PR threads/84778; it has been noted by GNATS.
From: Daniel Eischen <deischen at freebsd.org>
To: freebsd at spatula.net
Cc: bug-followup at freebsd.org
Subject: Re: threads/84778: libpthread busy loop/hang with Java when handling
signals and Runtime.exec
Date: Thu, 6 Oct 2005 18:59:14 -0400 (EDT)
On Thu, 6 Oct 2005 freebsd at spatula.net wrote:
> select, however, does call nanosleep, and nanosleep does call
> _nanosleep... but you're right that everything after that looks broken...
> though I've never seen a stack get smashed like that before. Usually I've
> seen freakish addresses and "??" for function names, not addresses that
> look reasonable and function names with symbols that can be actually
> located.
>
> What happens when you gcore a running threaded process? Do the process's
> threads stop while the core dump is being written? If not, could the
> stack have changed while the core was being dumped and we're actually
> seeing bits of stack from multiple running threads (and therefore
> basically useless information)?
I have no idea what or how gcore works.
> Which thread do you see in a core dump if there are multiple threads?
I don't know. I've only ever used gdb on running processes.
--
DE
More information about the freebsd-threads
mailing list