This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: Segmentation faults
- To: "Boehm, Hans" <hans_boehm at hp dot com>, 'Andrew Haley' <aph at cambridge dot redhat dot com>, Bryan Ha <kfh1_99 at yahoo dot com>
- Subject: RE: Segmentation faults
- From: Bryan Ha <kfh1_99 at yahoo dot com>
- Date: Wed, 5 Sep 2001 00:07:15 +0100 (BST)
- Cc: tromey at redhat dot com, java at gcc dot gnu dot org
Thanks a lot for all the comments.
I am running this on Linux SuSE6.4 PPC. I think there
is a problem with the gcj version which I believe was
modified.
I'll let you know if I find any interesting
observations.
Cheers,
Bryan
--- "Boehm, Hans" <hans_boehm@hp.com> wrote: > What
does the client code look like? It sounds like
> you're calling execve
> directly from the gcj process, not from a forked
> child? What platform are
> you on?
>
> This sounds a bit like other threads are not getting
> killed before an
> execve? As far as I can tell, glibc on Linux at
> least attempts to do this
> right.
>
> Hans
>
> > -----Original Message-----
> > From: Andrew Haley
> [mailto:aph@cambridge.redhat.com]
> > Sent: Tuesday, September 04, 2001 2:10 PM
> > To: Bryan Ha
> > Cc: tromey@redhat.com; java@gcc.gnu.org
> > Subject: Re: Segmentation faults
> >
> >
> > =?iso-8859-1?Q?Bryan=5FHa?= writes:
> > > Tom,
> > >
> > > I am using the char*[] I got out from the
> jstringarray
> > > using the procedure you showed me last time. I
> have
> > > printed out the arguments and it seems okay.
> > >
> > > Anyway, if this has been done before, I have
> done
> > > something wrong. I will check that again.
> >
> > Lotsa times. Look at name-finder.cc and
> name-finder.h for a simple
> > example of execve used with gcj.
> >
> > My guess is that you're having some sort of
> conflict with the garbage
> > collector.
> >
> > Andrew.
> >
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie