linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6.0-test3] Sun JDK 1.4.2 doesn't exit properly using NPTL
@ 2003-08-19  6:28 r6144
  2003-08-19 14:57 ` Christophe Saout
  0 siblings, 1 reply; 2+ messages in thread
From: r6144 @ 2003-08-19  6:28 UTC (permalink / raw)
  To: linux-kernel

Sun JDK works fine with stock RH9 kernel with or without NPTL, and
under 2.6.0-test3 without NPTL.

When running it under 2.6.0-test3 with NPTL, the parent process (for
example bash) locks up after the java process exits.  Strace shows
that the parent had been waiting in wait4(), but isn't woken up when
the children (the java process) exits via exit_group().  Sending the
parent a SIGINT makes wait4() return -ECHILD and the parent continues
as normal.  The java process runs perfectly normally during its own
lifetime.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6.0-test3] Sun JDK 1.4.2 doesn't exit properly using NPTL
  2003-08-19  6:28 [2.6.0-test3] Sun JDK 1.4.2 doesn't exit properly using NPTL r6144
@ 2003-08-19 14:57 ` Christophe Saout
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe Saout @ 2003-08-19 14:57 UTC (permalink / raw)
  To: r6144; +Cc: linux-kernel

Am Di, 2003-08-19 um 08.28 schrieb r6144:

> When running it under 2.6.0-test3 with NPTL, the parent process (for
> example bash) locks up after the java process exits.  Strace shows
> that the parent had been waiting in wait4(), but isn't woken up when
> the children (the java process) exits via exit_group().  Sending the
> parent a SIGINT makes wait4() return -ECHILD and the parent continues
> as normal.  The java process runs perfectly normally during its own
> lifetime.

For now you can use the patch at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test3/2.6.0-test3-mm1/broken-out/zap_other_threads-fix.patch

--
Christophe Saout <christophe@saout.de>
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-19 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19  6:28 [2.6.0-test3] Sun JDK 1.4.2 doesn't exit properly using NPTL r6144
2003-08-19 14:57 ` Christophe Saout

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).