This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New crash in crtstuff.c since Oct 31
- From: Andrew Haley <aph at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Tom Tromey <tromey at redhat dot com>, GCC Hackers <gcc at gcc dot gnu dot org>
- Date: Tue, 11 Nov 2003 22:00:57 +0000
- Subject: Re: New crash in crtstuff.c since Oct 31
- References: <871xse7nu1.fsf@fleche.redhat.com><20031111215717.GA9464@lucon.org>
H. J. Lu writes:
> On Tue, Nov 11, 2003 at 11:38:14AM -0700, Tom Tromey wrote:
> > I'm running on x86 Red Hat Linux 9.
> >
> > Recently all java programs have started crashing like so:
> >
> > #0 0x42073771 in free () from /lib/tls/libc.so.6
> > #1 0x420ebd8e in __unregister_atfork () from /lib/tls/libc.so.6
> > #2 0x42029fb8 in __cxa_finalize () from /lib/tls/libc.so.6
> > #3 0x4038ed55 in __do_global_dtors_aux ()
> > from /home/tromey/gnu/Trunk/install/lib/libgcj.so.4
> > #4 0x406563a6 in _fini () from /home/tromey/gnu/Trunk/install/lib/libgcj.so.4
> > #5 0x4000ce44 in _dl_fini () from /lib/ld-linux.so.2
> > #6 0x42029d40 in exit () from /lib/tls/libc.so.6
> > #7 0x08048bee in main (argc=1, argv=0xbfffedf4)
> > at ../../../gcc/libjava/gij.cc:163
> >
> >
> > For instance, the above came from simply invoking "gij".
> >
> > If I revert the gcc/gcc directory to October 31, everything starts
> > working again.
> >
> > Jeff Sturm reports that setting LD_ASSUME_KERNEL=2.4.17 will also fix
> > the problem.
> >
>
> Please provide more info. I didn't see it on RH 9:
>
> http://gcc.gnu.org/ml/gcc-testresults/2003-11/msg00185.html
I don't see how Tom can provide more info: he's shown the crash, and
the exact place it happens. It happens to me too, and I can fix it by
export LD_ASSUME_KERNEL=2.4.17.
Andrew.