[kaffe] build failure if old version present, ServletContext.setAttribute

Greg Wooledge greg at wooledge.org
Tue May 27 15:48:01 PDT 2003


Helmer Krämer (hkraemer at freenet.de) wrote:

> Greg Wooledge <greg at wooledge.org> wrote:

> > 26-May-03 7:21:43 PM (freenet.interfaces.LocalInterface, Interface # tcp/8888, ERROR): Unhandled throw accepting connections: Interface # tcp/8888
> > java.lang.NullPointerException
> >         at freenet.transport.tcpConnection.<init>(tcpConnection.java:123)
> >         at freenet.transport.tcpListener.accept(tcpListener.java:48)
> >         at freenet.interfaces.Interface.acceptConnections(Interface.java:214)
> >         at freenet.interfaces.Interface.run(Interface.java:169)
> 
> should be fixed by now, so I'm waiting for the next one ;)

Ask and ye shall receive....

> From the traces you've sent in this thread, I would assume
> that this assertion failure only occurrs when you get a
> NullPointerException, is that correct?

The past two times, that seemed to be the case.  However, it's
different today, as shown below.


Dalibor Topic (robilad at yahoo.com) wrote:

> Helmer's --with-extension patch should have fixed that. Now you have to
> explicitely enable kaffe's extensions ;)
> 
> Tim's need_version=yes OpenBSD fix should also help with libtool.

Yes, both of these seem to be fixed.  I didn't have to edit libtool
by hand, or remove servlet.jar after installation.

> And I'm sure one day the assertions will be solved, too ;)

This one occurs after clicking a few things on the web interface,
less than a minute after the node has finished initializing.  There
is no accompanying message in freenet.log, and stdout/stderr has
only this:

assertion "blk->free != 0" failed: file "mem/gc-mem.c", line 324

The backtrace:

#0  0x401df27b in kill ()
#1  0x401debd7 in abort ()
#2  0x40199f53 in __assert ()
#3  0x40025331 in gc_heap_malloc (sz=36) at mem/gc-mem.c:324
#4  0x40037af8 in gcMalloc (gcif=0x40086790, size=28, fidx=0)
    at mem/gc-incremental.c:867
#5  0x4004ad92 in newObjectChecked (class=0x291a40, info=0x1e77834)
    at object.c:39
#6  0x4004e4e6 in soft_new (c=0x291a40) at soft.c:52
#7  0x35238f in ?? ()
#8  0x945f36 in ?? ()
#9  0x915f04 in ?? ()
#10 0x227e561 in ?? ()
#11 0x47ce33 in ?? ()
#12 0x481c55 in ?? ()
#13 0xe1e950 in ?? ()
#14 0xe11c36 in ?? ()
#15 0xe14221 in ?? ()
#16 0xdfef58 in ?? ()
#17 0x147ff12 in ?? ()
#18 0xe01cd8 in ?? ()
#19 0xdff810 in ?? ()
#20 0xa752d6 in ?? ()
#21 0x400532be in callMethodV (meth=0xadd880, func=0xa75010, obj=0x101e680, 
    args=0x1e77f94 "C<\005@`", ret=0x1e77bec) at ../../config/i386/common.h:38
#22 0x40040a51 in Kaffe_CallVoidMethodV (env=0x40081c68, obj=0x101e680, 
    meth=0xadd880, args=0x1e77f94 "C<\005@`") at jni.c:1094
#23 0x40040aee in Kaffe_CallVoidMethod (env=0x40081c68, obj=0x101e680, 
    meth=0xadd880) at jni.c:1107
#24 0x4005418f in firstStartThread (arg=0x101e680) at thread.c:357
#25 0x4006f9c8 in start_this_sucker_on_a_new_frame () at jthread.c:1266
#26 0x4006fae6 in jthread_create (pri=28867744, 
    func=0x4006f5ce <jthread_enable_stop+14>, daemon=1074266208, jlThread=0x0, 
    threadStackSize=11971056) at jthread.c:1336

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030527/2bf31de8/attachment-0002.pgp 


More information about the kaffe mailing list