Hi, On Thu, 2007-06-28 at 14:00 +0200, Christian Thalinger wrote: > > > I've implemented putObject and park (only an empty stub, like jamvm). > > > If more is missing, let me know. > > > > At the risk of sounding silly: Does that mean that it's available in the > > cacao svn repository? > > Yes, exactly :-) Thanks. Unfortunately compiling and running cacao trunk reliably produces this: LOG: [0xb7daf6c0] We received a SIGSEGV and tried to handle it, but we were LOG: [0xb7daf6c0] unable to find a Java method at: LOG: [0xb7daf6c0] LOG: [0xb7daf6c0] PC=0xb7394449 LOG: [0xb7daf6c0] Jamvm however gets much further. Most components run smoothly, but at some point this happens: *** glibc detected *** jamvm: free(): invalid next size (fast): 0x083c3ab0 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb7e4e7cd] /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7e51e30] jamvm[0x8059ced] /usr/local//lib/classpath/libjavalang.so(Java_java_lang_VMDouble_parseDouble+0x65)[0xad4abe25] jamvm[0x80664de] jamvm(callJNIWrapper+0x71)[0x8052901] jamvm[0x8056b34] jamvm[0x80542a8] jamvm[0x8054355] jamvm(threadStart+0x71)[0x8063ac1] /lib/tls/i686/cmov/libpthread.so.0[0xb7f2d31b] /lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7eb657e] ======= Memory map: ======== 08048000-0806b000 r-xp 00000000 08:01 27773083 /usr/local/jamvm/bin/jamvm 0806b000-0806d000 rw-p 00022000 08:01 27773083 /usr/local/jamvm/bin/jamvm 0806d000-083e5000 rw-p 0806d000 00:00 0 [heap] a92fa000-a92fb000 ---p a92fa000 00:00 0 a92fb000-a9afb000 rw-p a92fb000 00:00 0 a9afb000-a9afc000 ---p a9afb000 00:00 0 a9afc000-aa2fc000 rw-p a9afc000 00:00 0 aa2fc000-aa2fd000 ---p aa2fc000 00:00 0 aa2fd000-aaafd000 rw-p aa2fd000 00:00 0 aaafd000-aaafe000 ---p aaafd000 00:00 0 aaafe000-ab2fe000 rw-p aaafe000 00:00 0 ab2fe000-ab2ff000 ---p ab2fe000 00:00 0 ab2ff000-abaff000 rw-p ab2ff000 00:00 0 abaff000-abb00000 ---p abaff000 00:00 0 abb00000-ac357000 rw-p abb00000 00:00 0 ac357000-ac400000 ---p ac357000 00:00 0 ac428000-ac433000 r-xp 00000000 08:01 27607149 /lib/libgcc_s.so.1 ac433000-ac434000 rw-p 0000a000 08:01 27607149 /lib/libgcc_s.so.1 ac43b000-ac43c000 ---p ac43b000 00:00 0 ac43c000-acc3c000 rw-p ac43c000 00:00 0 acc3c000-acc3d000 ---p acc3c000 00:00 0 acc3d000-ad43d000 rw-p acc3d000 00:00 0 ad43d000-ad44c000 r-xp 00000000 08:01 27625136 /lib/tls/i686/cmov/libresolv-2.5.so ad44c000-ad44e000 rw-p 0000f000 08:01 27625136 /lib/tls/i686/cmov/libresolv-2.5.so ad44e000-ad450000 rw-p ad44e000 00:00 0 ad450000-ad454000 r-xp 00000000 08:01 27625129 /lib/tls/i686/cmov/libnss_dns-2.5.so ad454000-ad456000 rw-p 00003000 08:01 27625129 /lib/tls/i686/cmov/libnss_dns-2.5.so ad456000-ad45f000 r-xp 00000000 08:01 27625130 /lib/tls/i686/cmov/libnss_files-2.5.so ad45f000-ad461000 rw-p 00008000 08:01 27625130 /lib/tls/i686/cmov/libnss_files-2.5.so ad461000-ad482000 rw-p ad461000 00:00 0 ad482000-ad491000 r-xp 00000000 08:01 29147713 /usr/lib/libmagic.so.1.0.0 ad491000-ad492000 rw-p 0000f000 08:01 29147713 /usr/lib/libmagic.so.1.0.0 ad497000-ad498000 r-xp 00000000 08:01 27741617 /usr/local/lib/classpath/libjavalangreflect.so.0.0.0 ad498000-ad499000 rw-p 00000000 08:01 27741617 /usr/local/lib/classpath/libjavalangreflect.so.0.0.0 ad499000-ad4a5000 r-xp 00000000 08:01 27741625 /usr/local/lib/classpath/libjavanet.so.0.0.0 ad4a5000-ad4a6000 rw-p 0000b000 08:01 27741625 /usr/local/lib/classpath/libjavanet.so.0.0.0 ad4a6000-ad4a7000 rw-p ad4a6000 00:00 0 ad4a7000-ad4ba000 r-xp 00000000 08:01 27741613 /usr/local/lib/classpath/libjavalang.so.0.0.0 ad4ba000-ad4bb000 rw-p 00012000 08:01 27741613 /usr/local/lib/classpath/libjavalang.so.0.0.0 ad4bb000-ad4bc000 rw-p ad4bb000 00:00 0 ad4bc000-ad4c4000 r-xp 00000000 08:01 27741609 /usr/local/lib/classpath/libjavaio.so.0.0.0 ad4c4000-ad4c5000 rw-p 00007000 08:01 27741609 /usr/local/lib/classpath/libjavaio.so.0.0.0 ad4c5000-ad4c6000 rw-p ad4c5000 00:00 0 ad4c6000-ad4d3000 r-xp 00000000 08:01 27741629 /usr/local/lib/classpath/libjavanio.so.0.0.0 ad4d3000-ad4d4000 rw-p 0000c000 08:01 27741629 /usr/local/lib/classpath/libjavanio.so.0.0.0 ad4d4000-ad4d5000 rw-p ad4d4000 00:00 0 ad4d5000-ad4d6000 ---p ad4d5000 00:00 0 ad4d6000-adcd6000 rw-p ad4d6000 00:00 0 adcd6000-adcd7000 ---p adcd6000 00:00 0 adcd7000-ae4d7000 rw-p adcd7000 00:00 0 ae4d7000-ae4d8000 ---p ae4d7000 00:00 0 ae4d8000-aecd8000 rw-p ae4d8000 00:00 0 aecd8000-aecd9000 ---p aecd8000 00:00 0 aecd9000-af4fa000 rw-p aecd9000 00:00 0 af4fa000-afde6000 rw-p 00000000 08:01 27741590 /usr/local/share/classpath/glibj.zip afde6000-b7de7000 rw-p afde6000 00:00 0 b7de7000-b7f22000 r-xp 00000000 08:01 27625121 /lib/tls/i686/cmov/libcAborted (core dumped) Can you tell me if I should look for the problem in native/jni/java-lang/java_lang_VMDouble.c or is it actually in jamvm somewhere? In both cases, classpath 0.95 is used. -- Søren O. "Oh, bother" said the Borg, "we've assimilated Pooh".