[kaffe] (sigh) Kaffe 1.1 can't do FEC decoding

Greg Wooledge greg@wooledge.org
Thu Jun 12 15:28:01 2003


--00sTfE/IIAT5d2r5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

So, after a week of failures every time I tried to download an FEC
splitfile from Freenet, using Kaffe 1.1 (or the CVS version from
right before the release), I decided that perhaps it's Kaffe that's
causing the problem, rather than Freenet.

I attempted to download a small FEC splitfile

SSK@hNO8nRj~jh8X2zrebLAXuybO3g4PAgM/music/frank_zappa_-_the_best_band_you_n=
ever_heard_in_your_life_-_10_-_mr._green_genes.mp3

(from the "Colours" site) with two different Freenet builds, using
Kaffe 1.1.  It failed both times, despite having all the blocks.

Then I went back to the early-May Kaffe (and gmp-3.1.1) and the
most recent Freenet build I have; I clicked it, took the defaults
on the web form, and the operation finished in 37 seconds.  I had
the file.

This message appeared in freenet.log somewhere around the last time
my attempt to download that file failed:

12-Jun-03 2:10:27 PM (freenet.node.Node, QThread-636, ERROR): Error while r=
eceiv
ing message freenet.Message: Accepted @freenet.ConnectionHandler@35bc048 @ =
4b45f
6dd6eacf444 in state freenet.node.states.request.TransferInsertPending: key=
=3D2f8f
8c3a9b1468a89dc417aa676dd8fee045b37b110302, hopsToLive=3D10, id=3D4b45f6dd6=
eacf444,f
t=3Dfreenet.node.states.FNP.FNPFeedbackToken@24cd278, routedTime=3D10554414=
22380: ja
va.lang.IllegalStateException: null stream from buffer
java.lang.IllegalStateException: null stream from buffer
        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.IllegalStateException.<init>(IllegalStateException.jav=
a:21)
        at freenet.node.ds.FSDataStoreElement$KeyInputStreamImpl.<init>(FSD=
ataSt
oreElement.java:237)
        at freenet.node.ds.FSDataStoreElement.getKeyInputStream(FSDataStore=
Eleme
nt.java:46)
        at freenet.node.ds.FSDataStoreElement$KeyOutputStreamImpl.getKeyInp=
utStr
eam(FSDataStoreElement.java:137)
        at freenet.node.states.data.ReceiveData.getKeyInputStream(ReceiveDa=
ta.ja
va:68)
        at freenet.node.states.request.InsertPending.relayInsert(InsertPend=
ing.j
ava:321)
        at freenet.node.states.request.TransferInsertPending.receivedMessag=
e(Tra
nsferInsertPending.java:190)
        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.node.StateChain.received(StateChain.java:161)
        at freenet.node.StateChain.received(StateChain.java:52)
        at freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHa=
ndler
=2Ejava:212)
        at freenet.node.StandardMessageHandler$Ticket.received(StandardMess=
ageHa
ndler.java:159)
        at freenet.node.StandardMessageHandler$Ticket.access$0(StandardMess=
ageHa
ndler.java:line unknown, pc 0x149c471)
        at freenet.node.StandardMessageHandler.handle(StandardMessageHandle=
r.jav
a:68)
        at freenet.Ticker$Event.run(Ticker.java:229)
        at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:21=
3)
12-Jun-03 2:11:31 PM (freenet.client.http.SFRContext$RequestThread, Thread-=
3, ER
ROR): Finished RequestThread

(Forgive me for not sewing the lines back together.)  I don't know
if this error is directly related to the FEC splitfile errors; but
on my system at least, Kaffe 1.1 fails to even *begin* an FEC decode,
100% consistently.  (And it leaks memory like an upside-down bucket.)

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

--00sTfE/IIAT5d2r5
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+6P8FkAkqAYpL9t8RApjFAJ0aZRGY1Mqt0M7nl8aLcv5sfsTJfQCgxyaB
FIhSp3Pa6Y77xo0XOc+HYFQ=
=2nxI
-----END PGP SIGNATURE-----

--00sTfE/IIAT5d2r5--