crash just after loading Deflater.class

Alexandre Oliva oliva at dcc.unicamp.br
Mon Sep 14 06:42:49 PDT 1998


Alexandre Oliva <oliva at dcc.unicamp.br> writes:

> I've noticed that, with the latest snapshots of Kaffe, I've become
> unable to run jar.  For a command line as simple as:

> kaffe -verbosejit -verbosegc -verbose sun.tools.jar.Main -c0vf test.jar .

> /home/msc/oliva/src/kaffe/kaffe/kaffevm/mem/gc-mem.c:254: failed assertion `blk->free != 0'
> Abort (core dumped)

That was a minor thinko in the malloc() statement that allocated the
dstream data structure.  Here's a fix for that problem, and some other
potential problems I have foreseen.

Now I can run `jar' with kaffe 0.10.1, but not with 1.0.b1, because
ZipOutputStream is not fully implemented.

-- 
Alexandre Oliva
mailto:oliva at dcc.unicamp.br mailto:aoliva at acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deflater.diff
Type: application/octet-stream
Size: 1592 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/19980914/161e8c47/attachment-0007.obj 


More information about the kaffe mailing list