This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj/freenet status 20020504
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: Goran Thyni <goran at kirra dot net>, devl at freenetproject dot org,java at gcc dot gnu dot org
- Date: Tue, 7 May 2002 13:28:48 +0100 (BST)
- Subject: Re: gcj/freenet status 20020504
- References: <20020504093942.GK17293@kirra.net><3CD480A3.2040303@waitaki.otago.ac.nz>
Bryce McKinlay writes:
> Goran Thyni wrote:
>
> >I though it was leakage in the node itself, but after a little investigation
> >I saw some very large processes - a few each of "addr2line" and "c++filt" -
> >which must have been started by fred.
> >
>
> Yes, these are used for stack trace printing - see name-finder.cc and
> java/lang/natThrowable.cc. Is something in freenet calling
> Throwable.printStackTrace() a lot?
>
> > Those processes also remained after
> >to node where killed and had to be shut down manually.
> >
>
> Thats very odd. Child processes should get killed when the parent dies
> no matter what.
What will cause that to happen? If the child process blocks on
output, when eventually its parent exits it will be owned by exec
which will patiently wait for it to terminate.
It sounds to me like "addr2line" and "c++filt" are buggy. There's no
reason they should be large.
Andrew.