boris@domov ~/doc/dev/classpath/classpath/install $ valgrind bin/cacao -cp share/classpath -Dawt.toolkit=gnu.java.awt.peer.gtk.GtkToolkit gnu.classpath.examples.awt.Demo ==12284== Memcheck, a memory error detector. ==12284== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==12284== Using LibVEX rev 1575, a library for dynamic binary translation. ==12284== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==12284== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==12284== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==12284== For more details, rerun with: -v ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x400B5CB: _dl_relocate_object (in /lib/ld-2.4.so) ==12284== by 0x40033A5: dl_main (in /lib/ld-2.4.so) ==12284== by 0x40145CD: _dl_sysdep_start (in /lib/ld-2.4.so) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x400B601: _dl_relocate_object (in /lib/ld-2.4.so) ==12284== by 0x40033A5: dl_main (in /lib/ld-2.4.so) ==12284== by 0x40145CD: _dl_sysdep_start (in /lib/ld-2.4.so) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x400B712: _dl_relocate_object (in /lib/ld-2.4.so) ==12284== by 0x40033A5: dl_main (in /lib/ld-2.4.so) ==12284== by 0x40145CD: _dl_sysdep_start (in /lib/ld-2.4.so) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x400B737: _dl_relocate_object (in /lib/ld-2.4.so) ==12284== by 0x40033A5: dl_main (in /lib/ld-2.4.so) ==12284== by 0x40145CD: _dl_sysdep_start (in /lib/ld-2.4.so) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x400BDC0: _dl_relocate_object (in /lib/ld-2.4.so) ==12284== by 0x40033A5: dl_main (in /lib/ld-2.4.so) ==12284== by 0x40145CD: _dl_sysdep_start (in /lib/ld-2.4.so) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x400B5CB: _dl_relocate_object (in /lib/ld-2.4.so) ==12284== by 0x4003441: dl_main (in /lib/ld-2.4.so) ==12284== by 0x40145CD: _dl_sysdep_start (in /lib/ld-2.4.so) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x400B601: _dl_relocate_object (in /lib/ld-2.4.so) ==12284== by 0x4003441: dl_main (in /lib/ld-2.4.so) ==12284== by 0x40145CD: _dl_sysdep_start (in /lib/ld-2.4.so) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x400B737: _dl_relocate_object (in /lib/ld-2.4.so) ==12284== by 0x4003441: dl_main (in /lib/ld-2.4.so) ==12284== by 0x40145CD: _dl_sysdep_start (in /lib/ld-2.4.so) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x40B72CE: GC_push_all_eager (mark.c:1470) ==12284== by 0x40B863F: GC_push_current_stack (mark_rts.c:494) ==12284== by 0x40C0532: GC_with_callee_saves_pushed (mach_dep.c:479) ==12284== by 0x40C056C: GC_generic_push_regs (mach_dep.c:490) ==12284== by 0x40B8784: GC_push_roots (mark_rts.c:634) ==12284== by 0x40B5CEE: GC_mark_some (mark.c:327) ==12284== by 0x40AE3A2: GC_stopped_mark (alloc.c:532) ==12284== by 0x40ADF6B: GC_try_to_collect_inner (alloc.c:379) ==12284== by 0x40B920D: GC_init_inner (misc.c:788) ==12284== by 0x40AEF59: GC_expand_hp (alloc.c:997) ==12284== by 0x4044106: gc_init (boehm.c:96) ==12284== by 0x40536EC: vm_create (vm.c:1116) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x40B72D6: GC_push_all_eager (mark.c:1470) ==12284== by 0x40B863F: GC_push_current_stack (mark_rts.c:494) ==12284== by 0x40C0532: GC_with_callee_saves_pushed (mach_dep.c:479) ==12284== by 0x40C056C: GC_generic_push_regs (mach_dep.c:490) ==12284== by 0x40B8784: GC_push_roots (mark_rts.c:634) ==12284== by 0x40B5CEE: GC_mark_some (mark.c:327) ==12284== by 0x40AE3A2: GC_stopped_mark (alloc.c:532) ==12284== by 0x40ADF6B: GC_try_to_collect_inner (alloc.c:379) ==12284== by 0x40B920D: GC_init_inner (misc.c:788) ==12284== by 0x40AEF59: GC_expand_hp (alloc.c:997) ==12284== by 0x4044106: gc_init (boehm.c:96) ==12284== by 0x40536EC: vm_create (vm.c:1116) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x40B6509: GC_mark_from (mark.c:763) ==12284== by 0x40B5D69: GC_mark_some (mark.c:362) ==12284== by 0x40AE3A2: GC_stopped_mark (alloc.c:532) ==12284== by 0x40ADF6B: GC_try_to_collect_inner (alloc.c:379) ==12284== by 0x40B920D: GC_init_inner (misc.c:788) ==12284== by 0x40AEF59: GC_expand_hp (alloc.c:997) ==12284== by 0x4044106: gc_init (boehm.c:96) ==12284== by 0x40536EC: vm_create (vm.c:1116) ==12284== by 0x4049EBC: JNI_CreateJavaVM (jni.c:5858) ==12284== by 0x80495EB: main (cacao.c:216) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x40B653A: GC_mark_from (mark.c:773) ==12284== by 0x40B5D69: GC_mark_some (mark.c:362) ==12284== by 0x40AE3A2: GC_stopped_mark (alloc.c:532) ==12284== by 0x40ADF6B: GC_try_to_collect_inner (alloc.c:379) ==12284== by 0x40B920D: GC_init_inner (misc.c:788) ==12284== by 0x40AEF59: GC_expand_hp (alloc.c:997) ==12284== by 0x4044106: gc_init (boehm.c:96) ==12284== by 0x40536EC: vm_create (vm.c:1116) ==12284== by 0x4049EBC: JNI_CreateJavaVM (jni.c:5858) ==12284== by 0x80495EB: main (cacao.c:216) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x40B6545: GC_mark_from (mark.c:773) ==12284== by 0x40B5D69: GC_mark_some (mark.c:362) ==12284== by 0x40AE3A2: GC_stopped_mark (alloc.c:532) ==12284== by 0x40ADF6B: GC_try_to_collect_inner (alloc.c:379) ==12284== by 0x40B920D: GC_init_inner (misc.c:788) ==12284== by 0x40AEF59: GC_expand_hp (alloc.c:997) ==12284== by 0x4044106: gc_init (boehm.c:96) ==12284== by 0x40536EC: vm_create (vm.c:1116) ==12284== by 0x4049EBC: JNI_CreateJavaVM (jni.c:5858) ==12284== by 0x80495EB: main (cacao.c:216) ==12284== ==12284== Conditional jump or move depends on uninitialised value(s) ==12284== at 0x40B6514: GC_mark_from (mark.c:763) ==12284== by 0x40B5D69: GC_mark_some (mark.c:362) ==12284== by 0x40AE3A2: GC_stopped_mark (alloc.c:532) ==12284== by 0x40ADF6B: GC_try_to_collect_inner (alloc.c:379) ==12284== by 0x40B920D: GC_init_inner (misc.c:788) ==12284== by 0x40AEF59: GC_expand_hp (alloc.c:997) ==12284== by 0x4044106: gc_init (boehm.c:96) ==12284== by 0x40536EC: vm_create (vm.c:1116) ==12284== by 0x4049EBC: JNI_CreateJavaVM (jni.c:5858) ==12284== by 0x80495EB: main (cacao.c:216) ==12284== ==12284== Invalid read of size 4 ==12284== at 0x40B64F7: GC_mark_from (mark.c:760) ==12284== by 0x40B5D69: GC_mark_some (mark.c:362) ==12284== by 0x40AE3A2: GC_stopped_mark (alloc.c:532) ==12284== by 0x40ADF6B: GC_try_to_collect_inner (alloc.c:379) ==12284== by 0x40B920D: GC_init_inner (misc.c:788) ==12284== by 0x40AEF59: GC_expand_hp (alloc.c:997) ==12284== by 0x4044106: gc_init (boehm.c:96) ==12284== by 0x40536EC: vm_create (vm.c:1116) ==12284== by 0x4049EBC: JNI_CreateJavaVM (jni.c:5858) ==12284== by 0x80495EB: main (cacao.c:216) ==12284== Address 0xBE998084 is not stack'd, malloc'd or (recently) free'd ==12284== ==12284== Process terminating with default action of signal 11 (SIGSEGV) ==12284== Access not within mapped region at address 0xBE998084 ==12284== at 0x40B64F7: GC_mark_from (mark.c:760) ==12284== by 0x40B5D69: GC_mark_some (mark.c:362) ==12284== by 0x40AE3A2: GC_stopped_mark (alloc.c:532) ==12284== by 0x40ADF6B: GC_try_to_collect_inner (alloc.c:379) ==12284== by 0x40B920D: GC_init_inner (misc.c:788) ==12284== by 0x40AEF59: GC_expand_hp (alloc.c:997) ==12284== by 0x4044106: gc_init (boehm.c:96) ==12284== by 0x40536EC: vm_create (vm.c:1116) ==12284== by 0x4049EBC: JNI_CreateJavaVM (jni.c:5858) ==12284== by 0x80495EB: main (cacao.c:216) ==12284== ==12284== ERROR SUMMARY: 4409 errors from 15 contexts (suppressed: 0 from 0) ==12284== malloc/free: in use at exit: 316 bytes in 11 blocks. ==12284== malloc/free: 12 allocs, 1 frees, 318 bytes allocated. ==12284== For counts of detected errors, rerun with: -v ==12284== searching for pointers to 11 not-freed blocks. ==12284== checked 283,996 bytes. ==12284== ==12284== LEAK SUMMARY: ==12284== definitely lost: 16 bytes in 1 blocks. ==12284== possibly lost: 32 bytes in 2 blocks. ==12284== still reachable: 268 bytes in 8 blocks. ==12284== suppressed: 0 bytes in 0 blocks. ==12284== Use --leak-check=full to see details of leaked memory. Segmentation fault