Created
October 28, 2010 23:35
-
-
Save erik/652560 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Programming/c/bijou$ valgrind ./bijouc sample/test.s | |
==25401== Memcheck, a memory error detector | |
==25401== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==25401== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info | |
==25401== Command: ./bijouc sample/test.s | |
==25401== | |
==25401== Conditional jump or move depends on uninitialised value(s) | |
==25401== at 0x80538A3: GC_push_all_eager (mark.c:1493) | |
==25401== by 0x80551F7: GC_push_current_stack (mark_rts.c:479) | |
==25401== by 0x805843D: GC_with_callee_saves_pushed (mach_dep.c:225) | |
==25401== by 0x8058478: GC_push_regs_and_stack (mach_dep.c:234) | |
==25401== by 0x805536F: GC_push_roots (mark_rts.c:613) | |
==25401== by 0x8054C51: GC_mark_some (mark.c:414) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== by 0x8052B2B: GC_malloc (malloc.c:286) | |
==25401== | |
==25401== Conditional jump or move depends on uninitialised value(s) | |
==25401== at 0x80538A8: GC_push_all_eager (mark.c:1493) | |
==25401== by 0x80551F7: GC_push_current_stack (mark_rts.c:479) | |
==25401== by 0x805843D: GC_with_callee_saves_pushed (mach_dep.c:225) | |
==25401== by 0x8058478: GC_push_regs_and_stack (mach_dep.c:234) | |
==25401== by 0x805536F: GC_push_roots (mark_rts.c:613) | |
==25401== by 0x8054C51: GC_mark_some (mark.c:414) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== by 0x8052B2B: GC_malloc (malloc.c:286) | |
==25401== | |
==25401== Use of uninitialised value of size 4 | |
==25401== at 0x8053717: GC_mark_and_push_stack (mark.c:1396) | |
==25401== by 0x80538B4: GC_push_all_eager (mark.c:1493) | |
==25401== by 0x80551F7: GC_push_current_stack (mark_rts.c:479) | |
==25401== by 0x805843D: GC_with_callee_saves_pushed (mach_dep.c:225) | |
==25401== by 0x8058478: GC_push_regs_and_stack (mach_dep.c:234) | |
==25401== by 0x805536F: GC_push_roots (mark_rts.c:613) | |
==25401== by 0x8054C51: GC_mark_some (mark.c:414) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== | |
==25401== Use of uninitialised value of size 4 | |
==25401== at 0x8053728: GC_mark_and_push_stack (mark.c:1396) | |
==25401== by 0x80538B4: GC_push_all_eager (mark.c:1493) | |
==25401== by 0x80551F7: GC_push_current_stack (mark_rts.c:479) | |
==25401== by 0x805843D: GC_with_callee_saves_pushed (mach_dep.c:225) | |
==25401== by 0x8058478: GC_push_regs_and_stack (mach_dep.c:234) | |
==25401== by 0x805536F: GC_push_roots (mark_rts.c:613) | |
==25401== by 0x8054C51: GC_mark_some (mark.c:414) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== | |
==25401== Use of uninitialised value of size 4 | |
==25401== at 0x805A72C: GC_add_to_black_list_stack (blacklst.c:199) | |
==25401== by 0x80538B4: GC_push_all_eager (mark.c:1493) | |
==25401== by 0x80551F7: GC_push_current_stack (mark_rts.c:479) | |
==25401== by 0x805843D: GC_with_callee_saves_pushed (mach_dep.c:225) | |
==25401== by 0x8058478: GC_push_regs_and_stack (mach_dep.c:234) | |
==25401== by 0x805536F: GC_push_roots (mark_rts.c:613) | |
==25401== by 0x8054C51: GC_mark_some (mark.c:414) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== | |
==25401== Use of uninitialised value of size 4 | |
==25401== at 0x805A746: GC_add_to_black_list_stack (blacklst.c:199) | |
==25401== by 0x80538B4: GC_push_all_eager (mark.c:1493) | |
==25401== by 0x80551F7: GC_push_current_stack (mark_rts.c:479) | |
==25401== by 0x805843D: GC_with_callee_saves_pushed (mach_dep.c:225) | |
==25401== by 0x8058478: GC_push_regs_and_stack (mach_dep.c:234) | |
==25401== by 0x805536F: GC_push_roots (mark_rts.c:613) | |
==25401== by 0x8054C51: GC_mark_some (mark.c:414) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== | |
==25401== Use of uninitialised value of size 4 | |
==25401== at 0x805A777: GC_add_to_black_list_stack (blacklst.c:209) | |
==25401== by 0x80538B4: GC_push_all_eager (mark.c:1493) | |
==25401== by 0x80551F7: GC_push_current_stack (mark_rts.c:479) | |
==25401== by 0x805843D: GC_with_callee_saves_pushed (mach_dep.c:225) | |
==25401== by 0x8058478: GC_push_regs_and_stack (mach_dep.c:234) | |
==25401== by 0x805536F: GC_push_roots (mark_rts.c:613) | |
==25401== by 0x8054C51: GC_mark_some (mark.c:414) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== | |
==25401== Conditional jump or move depends on uninitialised value(s) | |
==25401== at 0x8054650: GC_mark_from (mark.c:809) | |
==25401== by 0x8054D50: GC_mark_some (mark.c:384) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== by 0x8052B2B: GC_malloc (malloc.c:286) | |
==25401== by 0x804F277: BijouVM_new (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x804CC41: compile_file (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x8052556: main (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== | |
==25401== Conditional jump or move depends on uninitialised value(s) | |
==25401== at 0x805493B: GC_mark_from (mark.c:809) | |
==25401== by 0x8054D50: GC_mark_some (mark.c:384) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== by 0x8052B2B: GC_malloc (malloc.c:286) | |
==25401== by 0x804F277: BijouVM_new (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x804CC41: compile_file (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x8052556: main (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== | |
==25401== Conditional jump or move depends on uninitialised value(s) | |
==25401== at 0x805466A: GC_mark_from (mark.c:799) | |
==25401== by 0x8054D50: GC_mark_some (mark.c:384) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== by 0x8052B2B: GC_malloc (malloc.c:286) | |
==25401== by 0x804F277: BijouVM_new (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x804CC41: compile_file (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x8052556: main (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== | |
==25401== Conditional jump or move depends on uninitialised value(s) | |
==25401== at 0x805466F: GC_mark_from (mark.c:799) | |
==25401== by 0x8054D50: GC_mark_some (mark.c:384) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== by 0x8052B2B: GC_malloc (malloc.c:286) | |
==25401== by 0x804F277: BijouVM_new (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x804CC41: compile_file (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x8052556: main (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== | |
==25401== Invalid read of size 4 | |
==25401== at 0x8054661: GC_mark_from (mark.c:796) | |
==25401== by 0x8054D50: GC_mark_some (mark.c:384) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== by 0x8052B2B: GC_malloc (malloc.c:286) | |
==25401== by 0x804F277: BijouVM_new (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x804CC41: compile_file (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x8052556: main (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== Address 0xbefad0d4 is not stack'd, malloc'd or (recently) free'd | |
==25401== | |
==25401== | |
==25401== Process terminating with default action of signal 11 (SIGSEGV) | |
==25401== Access not within mapped region at address 0xBEFAD0D4 | |
==25401== at 0x8054661: GC_mark_from (mark.c:796) | |
==25401== by 0x8054D50: GC_mark_some (mark.c:384) | |
==25401== by 0x8059D57: GC_stopped_mark (alloc.c:504) | |
==25401== by 0x8059F66: GC_try_to_collect_inner (alloc.c:362) | |
==25401== by 0x8056399: GC_init_inner (misc.c:735) | |
==25401== by 0x805293D: GC_generic_malloc_inner (malloc.c:112) | |
==25401== by 0x80529E7: GC_generic_malloc (malloc.c:159) | |
==25401== by 0x8052B2B: GC_malloc (malloc.c:286) | |
==25401== by 0x804F277: BijouVM_new (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x804CC41: compile_file (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== by 0x8052556: main (in /home/erik/Programming/c/bijou/bijouc) | |
==25401== If you believe this happened as a result of a stack | |
==25401== overflow in your program's main thread (unlikely but | |
==25401== possible), you can try to increase the size of the | |
==25401== main thread stack using the --main-stacksize= flag. | |
==25401== The main thread stack size used in this run was 8388608. | |
==25401== | |
==25401== HEAP SUMMARY: | |
==25401== in use at exit: 704 bytes in 2 blocks | |
==25401== total heap usage: 2 allocs, 0 frees, 704 bytes allocated | |
==25401== | |
==25401== LEAK SUMMARY: | |
==25401== definitely lost: 0 bytes in 0 blocks | |
==25401== indirectly lost: 0 bytes in 0 blocks | |
==25401== possibly lost: 0 bytes in 0 blocks | |
==25401== still reachable: 704 bytes in 2 blocks | |
==25401== suppressed: 0 bytes in 0 blocks | |
==25401== Rerun with --leak-check=full to see details of leaked memory | |
==25401== | |
==25401== For counts of detected and suppressed errors, rerun with: -v | |
==25401== Use --track-origins=yes to see where uninitialised values come from | |
==25401== ERROR SUMMARY: 317 errors from 12 contexts (suppressed: 17 from 6) | |
Segmentation fault |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment