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

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


--IoCMmVDh1/K3iHvq
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Helmer Kr=E4mer (hkraemer@freenet.de) wrote:

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

> > 26-May-03 7:21:43 PM (freenet.interfaces.LocalInterface, Interface # tc=
p/8888, ERROR): Unhandled throw accepting connections: Interface # tcp/8888
> > java.lang.NullPointerException
> >         at freenet.transport.tcpConnection.<init>(tcpConnection.java:12=
3)
> >         at freenet.transport.tcpListener.accept(tcpListener.java:48)
> >         at freenet.interfaces.Interface.acceptConnections(Interface.jav=
a:214)
> >         at freenet.interfaces.Interface.run(Interface.java:169)
>=20
> 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@yahoo.com) wrote:

> Helmer's --with-extension patch should have fixed that. Now you have to
> explicitely enable kaffe's extensions ;)
>=20
> Tim's need_version=3Dyes 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 !=3D 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=3D36) at mem/gc-mem.c:324
#4  0x40037af8 in gcMalloc (gcif=3D0x40086790, size=3D28, fidx=3D0)
    at mem/gc-incremental.c:867
#5  0x4004ad92 in newObjectChecked (class=3D0x291a40, info=3D0x1e77834)
    at object.c:39
#6  0x4004e4e6 in soft_new (c=3D0x291a40) 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=3D0xadd880, func=3D0xa75010, obj=3D0x10=
1e680,=20
    args=3D0x1e77f94 "C<\005@`", ret=3D0x1e77bec) at ../../config/i386/comm=
on.h:38
#22 0x40040a51 in Kaffe_CallVoidMethodV (env=3D0x40081c68, obj=3D0x101e680,=
=20
    meth=3D0xadd880, args=3D0x1e77f94 "C<\005@`") at jni.c:1094
#23 0x40040aee in Kaffe_CallVoidMethod (env=3D0x40081c68, obj=3D0x101e680,=
=20
    meth=3D0xadd880) at jni.c:1107
#24 0x4005418f in firstStartThread (arg=3D0x101e680) at thread.c:357
#25 0x4006f9c8 in start_this_sucker_on_a_new_frame () at jthread.c:1266
#26 0x4006fae6 in jthread_create (pri=3D28867744,=20
    func=3D0x4006f5ce <jthread_enable_stop+14>, daemon=3D1074266208, jlThre=
ad=3D0x0,=20
    threadStackSize=3D11971056) at jthread.c:1336

--=20
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

--IoCMmVDh1/K3iHvq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE+0+vAkAkqAYpL9t8RAt9EAKC/mG0GHsyJkorVyRQjaT+1vjxPHgCeLDzK
vWd2Xh1GAtHrQKXVf41fSIY=
=F2cO
-----END PGP SIGNATURE-----

--IoCMmVDh1/K3iHvq--