[kaffe] KAFFE_DEBUG set but doesn't enter into gdb
robilad at kaffe.org
Mon Mar 27 00:06:31 PST 2006
On Mon, Mar 27, 2006 at 01:40:49PM +0800, ktlam at cs.hku.hk wrote:
> Sorry for belated, I did not yet merge the later Kaffe classes into Jessica2
> as was much occuppied by other jobs earlier. I would try to resume it now. But
> now I face some bugs in Jesscia2 when running TPC-W benchmark. Tutors are
> helping to solve.
> FYI, the bugs should be related to JIT code, leading to nullException, which
> comes from SIGSEGV of signal.c in unix-jthreads. Appreciate if you have any
If you are running it on i686-linux, I'd suggest giving valgrind a go,
it is a dynamic memory checker.
See Kaffe's current kaffe script for how to make it work like gdb, with
> > ktlam debug: nullException
> > ktlam debug: dispatchException
> > ktlam debug: unhandledException, cname=java/lang/NullPointerException
> > host
> > Internal error: caught an unexpected exception.
> > Please check your CLASSPATH and your installation.
> > java/lang/NullPointerException
> > 'host' is the thread's name.
> > Trust this comes from SIGSEGV of signal.c in unix-jthreads.
> > But dun know why comes out such bad memory accesses.
> Quoting Dalibor Topic <robilad at kaffe.org>:
> > On Mon, 2006-03-27 at 02:17 +0800, ktlam at cs.hku.hk wrote:
> > > Hi Dalibor,
> > >
> > > OIC. Overlooked really. Thanks a lot for reminder.
> > I hope it works ;) Did you manage to get past the problems you had with
> > the Jessica/Kaffe update/merge?
> > cheers,
> > dalibor topic
> This mail sent through IMP: http://horde.org/imp/
More information about the kaffe