This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: NullPointerException / threads
- To: gback at cs dot utah dot edu
- Subject: Re: NullPointerException / threads
- From: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Date: 14 Mar 2000 17:18:54 -0000
- CC: GChambers at provsol dot com, java-discuss at sourceware dot cygnus dot com
> From: Godmar Back <gback@cs.utah.edu>
> Date: Tue, 14 Mar 2000 10:16:52 -0700 (MST)
> > >
> > > Can you tell at SEGV-time if you're currently in the allocator? If so,
> > > you could preallocate an 'emergency' exception+array
> >
> > Right, but it may not help; If the SEGV was *caused* by heap
> > corruption we'd still crash even if the point at which the SEGV occurs
> > is in user code.
>
> Isn't crashing what you want in this case?
Of course not. I want a readable backtrace.
Andrew.