atom feed3 messages in org.freebsd.freebsd-threadsthreads/78660: Java hangs unkillably ...
FromSent OnAttachments
Thomas LangeMar 10, 2005 6:29 am 
Daniel EischenMar 10, 2005 3:28 pm 
Daniel EischenMar 10, 2005 3:29 pm 
Subject:threads/78660: Java hangs unkillably in STOP state after fork()
From:Daniel Eischen (deis@freebsd.org)
Date:Mar 10, 2005 3:28:26 pm
List:org.freebsd.freebsd-threads

On Thu, 10 Mar 2005, Thomas Lange wrote:

Organization: Environment:

FreeBSD hellraiser.smega.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #2: Fri Feb
18 17:19:29 CET 2005
ro@hellraiser.smega.com:/usr/obj/usr/src/sys/HELLRAISER-05-02-02 i386

Description:

After many calls of Runtime.getRuntime().exec(), which starts an external
process, Java hangs reproducably in a STOP state and cannot be killed. (Not even
with kill -9)

How-To-Repeat:

Run any Java application, which makes extensive use of
Runtime.getRuntime().exec(). With my application, I can reproduce the problem within an hour or so - on two
different machines.

Fix:

Apply David Xu's patch to kern_thread.c as described in

http://lists.freebsd.org/pipermail/freebsd-current/2004-November/042407.html

That change is also commited to 5.3-stable.

Why is this a PR? It's fixed in both -stable and -current.