crash just after loading Deflater.class

Alexandre Oliva oliva at dcc.unicamp.br
Wed Sep 9 22:04:13 PDT 1998


Hi there!

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 .

I always get output like:

[...]
Loading java/util/zip/Deflater.class(/tmp/kaffe-inst/share/kaffe/Klasses.jar) [compressed]
<JIT: java/util/zip/ZipOutputStream.<init>(Ljava/io/OutputStream;)V time 0ms (126ms) @ 3ddb78>
<JIT: java/util/zip/DeflaterOutputStream.<init>(Ljava/io/OutputStream;)V time 1ms (127ms) @ a37e0>
<JIT: java/util/zip/Deflater.<clinit>()V time 0ms (127ms) @ 55b828>
<JIT: java/util/zip/Deflater.<init>()V time 1ms (128ms) @ 55b8c0>
<JIT: java/util/zip/Deflater.<init>(IZ)V time 0ms (128ms) @ 566638>
<JIT: java/util/zip/DeflaterOutputStream.<init>(Ljava/io/OutputStream;Ljava/util/zip/Deflater;I)V time 1ms (129ms) @ a3890>
<JIT: java/util/zip/ZipOutputStream.setMethod(I)V time 0ms (129ms) @ 4ea250>
/home/msc/oliva/src/kaffe/kaffe/kaffevm/mem/gc-mem.c:254: failed assertion `blk->free != 0'
Abort (core dumped)

This is not JIT-related, as the same problem occurs with an
interpreter-only engine.  It is not platform-dependent either, as I
can reproduce it on Solaris/sparc, IRIX 6.3 and RedHat Linux 5.0.  Can
anyone else reproduce it?  If that matters, I'm using zlib 1.1.3.

-- 
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



More information about the kaffe mailing list