[kaffe] Kaffe and Freenet, round (N+1)

Greg Wooledge greg at wooledge.org
Mon Jun 2 16:35:01 PDT 2003


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

> Hi Greg,

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

> I've just commited a small patch that will hopefully fix this one.

I'm pleased to report that today's Kaffe CVS can run Freenet without
crashing!

However, it is also not working correctly.  The node initializes
properly, and seems to respond to web interface requests (servlets).
However, any time I attempt to view an actual Freenet document
("Freesite") through the web interface, I get an error like this
one in the logfile:

02-Jun-03 7:10:04 PM (freenet.node.Node, QThread-4, ERROR): Error while receiving message freenet.client.InternalClient$ClientMessageVector at e5be98 in state New Internal Get @ 35ff4a474f6a8c98: java.lang.ArithmeticException: Negative bit address
java.lang.ArithmeticException: Negative bit address
        at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
        at java.lang.Throwable.<init>(Throwable.java:44)
        at java.lang.Exception.<init>(Exception.java:24)
        at java.lang.RuntimeException.<init>(RuntimeException.java:21)
        at java.lang.ArithmeticException.<init>(ArithmeticException.java:21)
        at java.math.BigInteger.checkIfBitAddressIsNotNegative(BigInteger.java:177)
        at java.math.BigInteger.testBit(BigInteger.java:358)
        at java.math.BigInteger.intValue(BigInteger.java:531)
        at java.math.BigInteger.longValue(BigInteger.java:543)
        at freenet.client.Document.<init>(Document.java:199)
        at freenet.client.AbstractClientKey.decode(AbstractClientKey.java:197)
        at freenet.client.InternalClient$InternalGetToken.dataFound(InternalClient.java:335)
        at freenet.node.states.request.Pending.sendData(Pending.java:613)
        at freenet.node.states.request.Pending.searchData(Pending.java:648)
        at freenet.node.states.request.Pending.receivedRequestInitiator(Pending.java:233)
        at freenet.node.states.request.DataPending.receivedMessage(DataPending.java:69)
        at java.lang.reflect.Method.invoke0(Method.java:native)
        at java.lang.reflect.Method.invoke(Method.java:255)
        at freenet.node.State.received(State.java:126)
        at freenet.client.InternalClient$NewInternalGet.received(InternalClient.java:525)
        at freenet.node.StateChain.received(StateChain.java:161)
        at freenet.node.StateChain.received(StateChain.java:52)
        at freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.java:212)
        at freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java:159)
        at freenet.node.StandardMessageHandler$Ticket.access$0(StandardMessageHandler.java:line unknown, pc 0x1ecb1f1)
        at freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:68)
        at freenet.Ticker$Event.run(Ticker.java:229)
        at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:213)

I also tried downgrading my Freenet build to a month-old one just to
see what would happen; I got the same results.  My logfile is chock
full of these "Negative bit address" errors.

Tech stuff: Freenet build 6043 or 593, Kaffe CVS from 2003-06-02,
on OpenBSD 3.2 x86.  Kaffe was configured with "./configure
--with-includes=/usr/local/include --with-libraries=/usr/local/lib
--with-engine=jit3 --enable-debug".  Freenet was built with jikes 1.14
on a Debian "unstable" x86 box.

-- 
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/20030602/ee4458f5/attachment-0002.pgp 


More information about the kaffe mailing list