-
-
Save MasterDuke17/f579615e8d6eea1ae6a2f938b0b23750 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
(gdb) r | |
Starting program: /home/dan/Source/perl6/install/bin/moar --libpath=blib --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/nqp/lib perl6.moarvm --nqp-lib=blib --setting=NULL --ll-exception --optimize=3 --target=mbc --stagestats --output=CORE.setting.moarvm gen/moar/CORE.setting | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
[New Thread 0x7ffff5fcf700 (LWP 11769)] | |
Stage start : 0.000 | |
Stage parse : | |
Thread 1 "moar" hit Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0x7ffff77ea1f8 "Fixed size allocator: wrong size in free, expected %lu, got %lu") at src/core/exceptions.c:686 | |
686 void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) { | |
(gdb) bt | |
#0 MVM_panic (exitCode=1, messageFormat=0x7ffff77ea1f8 "Fixed size allocator: wrong size in free, expected %lu, got %lu") at src/core/exceptions.c:686 | |
#1 0x00007ffff76d80b1 in MVM_fixed_size_free (tc=0x5555557589a0, al=0x555555759e70, bytes=96, to_free=0x555568797608) at src/core/fixedsizealloc.c:278 | |
#2 0x00007ffff770418f in gc_free (tc=0x5555557589a0, obj=0x7fffef553d30) at src/6model/reprs/MVMString.c:87 | |
#3 0x00007ffff76e7a5a in MVM_gc_collect_free_nursery_uncopied (tc=0x5555557589a0, limit=0x7fffef811fe8) at src/gc/collect.c:581 | |
#4 0x00007ffff76e0bf9 in finish_gc (tc=0x5555557589a0, gen=0 '\000', is_coordinator=1 '\001') at src/gc/orchestrate.c:230 | |
#5 0x00007ffff76e0fc6 in run_gc (tc=0x5555557589a0, what_to_do=0 '\000') at src/gc/orchestrate.c:363 | |
#6 0x00007ffff76e13f5 in MVM_gc_enter_from_allocator (tc=0x5555557589a0) at src/gc/orchestrate.c:472 | |
#7 0x00007ffff76e180d in MVM_gc_allocate_nursery (tc=0x5555557589a0, size=48) at src/gc/allocation.c:32 | |
#8 0x00007ffff76e1710 in MVM_gc_allocate (tc=0x5555557589a0, size=48) at src/gc/allocation.h:13 | |
#9 0x00007ffff76e188d in MVM_gc_allocate_zeroed (tc=0x5555557589a0, size=48) at src/gc/allocation.c:49 | |
#10 0x00007ffff76e1a54 in MVM_gc_allocate_object (tc=0x5555557589a0, st=0x55555579cfd0) at src/gc/allocation.c:86 | |
#11 0x00007ffff76fdfb0 in MVM_repr_alloc_init (tc=0x5555557589a0, type=0x5555557a9800) at src/6model/reprconv.c:17 | |
#12 0x00007ffff778244f in MVM_string_concatenate (tc=0x5555557589a0, a=0x5555572af6d0, b=0x5555572af760) at src/strings/ops.c:715 | |
#13 0x00007ffff769254c in MVM_interp_run (tc=0x5555557589a0, initial_invoke=0x7ffff77ab450 <toplevel_initial_invoke>, invoke_data=0x5555557d0010) at src/core/interp.c:1573 | |
#14 0x00007ffff77ab5b5 in MVM_vm_run_file (instance=0x555555758010, filename=0x7fffffffe17f "perl6.moarvm") at src/moar.c:387 | |
#15 0x00005555555556ab in main (argc=13, argv=0x7fffffffdd08) at src/main.c:255 |
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
Stage parse : Address 0xDF08090 len 16 defined | |
==27816== Address 0xdf08090 is 0 bytes inside a block of size 20 alloc'd | |
==27816== at 0x4C2DB2F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==27816== by 0x50222A4: MVM_malloc (alloc.h:2) | |
==27816== by 0x50222A4: MVM_fixed_size_alloc (fixedsizealloc.c:178) | |
==27816== by 0x50BB9EF: MVM_unicode_codepoints_c_array_to_nfg_string (normalize.c:96) | |
==27816== by 0x50A07A8: MVM_string_concatenate (ops.c:672) | |
==27816== by 0x5006C1D: MVM_interp_run (interp.c:1573) | |
==27816== by 0x50CCEF1: MVM_vm_run_file (moar.c:387) | |
==27816== by 0x10941E: main (main.c:255) | |
**27816** Fixed size allocator: wrong size in free: expected 12, got 8 at 0x5021FB5: VALGRIND_PRINTF_BACKTRACE.constprop.2 (valgrind.h:6818) | |
==27816== by 0x5022464: MVM_fixed_size_free (fixedsizealloc.c:283) | |
==27816== by 0x5041A2C: gc_free (MVMString.c:87) | |
==27816== by 0x502C654: MVM_gc_collect_free_nursery_uncopied (collect.c:581) | |
==27816== by 0x50282F0: finish_gc (orchestrate.c:230) | |
==27816== by 0x50282F0: run_gc (orchestrate.c:363) | |
==27816== by 0x5028CA0: MVM_gc_enter_from_allocator (orchestrate.c:472) | |
==27816== by 0x5028E57: MVM_gc_allocate_nursery (allocation.c:32) | |
==27816== by 0x502912D: MVM_gc_allocate_frame (allocation.c:99) | |
==27816== by 0x500E3C7: MVM_frame_move_to_heap (frame.c:624) | |
==27816== by 0x500E7EF: MVM_frame_force_to_heap (frame.h:193) | |
==27816== by 0x500E7EF: allocate_frame (frame.c:241) | |
==27816== by 0x500E983: MVM_frame_invoke (frame.c:484) | |
==27816== by 0x504CD12: invoke_handler (MVMCode.c:10) | |
Address 0x277D98F0 len 104 not defined: | |
Uninitialised value at 0x277D990C | |
==27816== Address 0x277d98f0 is 0 bytes inside a block of size 152 alloc'd | |
==27816== at 0x4C2DB2F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==27816== by 0x50222A4: MVM_malloc (alloc.h:2) | |
==27816== by 0x50222A4: MVM_fixed_size_alloc (fixedsizealloc.c:178) | |
==27816== by 0x50A04C8: allocate_strands (ops.c:152) | |
==27816== by 0x50A04C8: MVM_string_concatenate (ops.c:715) | |
==27816== by 0x5006C1D: MVM_interp_run (interp.c:1573) | |
==27816== by 0x50CCEF1: MVM_vm_run_file (moar.c:387) | |
==27816== by 0x10941E: main (main.c:255) | |
**27816** Fixed size allocator: wrong size in free: expected 144, got 96 at 0x5021FB5: VALGRIND_PRINTF_BACKTRACE.constprop.2 (valgrind.h:6818) | |
==27816== by 0x5022464: MVM_fixed_size_free (fixedsizealloc.c:283) | |
==27816== by 0x5041A2C: gc_free (MVMString.c:87) | |
==27816== by 0x502C654: MVM_gc_collect_free_nursery_uncopied (collect.c:581) | |
==27816== by 0x50282F0: finish_gc (orchestrate.c:230) | |
==27816== by 0x50282F0: run_gc (orchestrate.c:363) | |
==27816== by 0x5028CA0: MVM_gc_enter_from_allocator (orchestrate.c:472) | |
==27816== by 0x5028E57: MVM_gc_allocate_nursery (allocation.c:32) | |
==27816== by 0x502912D: MVM_gc_allocate_frame (allocation.c:99) | |
==27816== by 0x500E3C7: MVM_frame_move_to_heap (frame.c:624) | |
==27816== by 0x500E7EF: MVM_frame_force_to_heap (frame.h:193) | |
==27816== by 0x500E7EF: allocate_frame (frame.c:241) | |
==27816== by 0x500E983: MVM_frame_invoke (frame.c:484) | |
==27816== by 0x504CD12: invoke_handler (MVMCode.c:10) |
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
==17516== Memcheck, a memory error detector | |
==17516== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. | |
==17516== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info | |
==17516== Command: /home/dan/Source/perl6/install/bin/moar --libpath=blib --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/nqp/lib perl6.moarvm --nqp-lib=blib --setting=NULL --ll-exception --optimize=3 --target=mbc --stagestats --output=CORE.setting.moarvm gen/moar/CORE.setting | |
==17516== | |
Stage start : 0.000 | |
Stage parse : Address 0x1EEB8440 len 16 defined | |
==17516== Address 0x1eeb8440 is 0 bytes inside a block of size 20 alloc'd | |
==17516== at 0x4C2DB2F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==17516== by 0x50222A4: MVM_malloc (alloc.h:2) | |
==17516== by 0x50222A4: MVM_fixed_size_alloc (fixedsizealloc.c:178) | |
==17516== by 0x50BB9C9: MVM_unicode_codepoints_c_array_to_nfg_string (normalize.c:98) | |
==17516== by 0x50A07A8: MVM_string_concatenate (ops.c:672) | |
==17516== by 0x5006C1D: MVM_interp_run (interp.c:1573) | |
==17516== by 0x50CCE81: MVM_vm_run_file (moar.c:387) | |
==17516== by 0x10941E: main (main.c:255) | |
**17516** Fixed size allocator: wrong size in free: expected 12, got 8 at 0x5021FB5: VALGRIND_PRINTF_BACKTRACE.constprop.2 (valgrind.h:6818) | |
==17516== by 0x5022464: MVM_fixed_size_free (fixedsizealloc.c:283) | |
==17516== by 0x5041A2C: gc_free (MVMString.c:87) | |
==17516== by 0x502C654: MVM_gc_collect_free_nursery_uncopied (collect.c:581) | |
==17516== by 0x50282F0: finish_gc (orchestrate.c:230) | |
==17516== by 0x50282F0: run_gc (orchestrate.c:363) | |
==17516== by 0x5028CA0: MVM_gc_enter_from_allocator (orchestrate.c:472) | |
==17516== by 0x5028E57: MVM_gc_allocate_nursery (allocation.c:32) | |
==17516== by 0x502909A: MVM_gc_allocate_object (allocation.c:86) | |
==17516== by 0x503D592: MVM_repr_alloc_init (reprconv.c:17) | |
==17516== by 0x50578FE: MVM_nfa_run_proto (NFA.c:753) | |
==17516== by 0x50064C2: MVM_interp_run (interp.c:1759) | |
==17516== by 0x50CCE81: MVM_vm_run_file (moar.c:387) | |
Address 0x24A1D800 len 104 not defined: | |
Uninitialised value at 0x24A1D81C | |
==17516== Address 0x24a1d800 is 0 bytes inside a block of size 152 alloc'd | |
==17516== at 0x4C2DB2F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==17516== by 0x50222A4: MVM_malloc (alloc.h:2) | |
==17516== by 0x50222A4: MVM_fixed_size_alloc (fixedsizealloc.c:178) | |
==17516== by 0x50A04C8: allocate_strands (ops.c:152) | |
==17516== by 0x50A04C8: MVM_string_concatenate (ops.c:715) | |
==17516== by 0x5006C1D: MVM_interp_run (interp.c:1573) | |
==17516== by 0x50CCE81: MVM_vm_run_file (moar.c:387) | |
==17516== by 0x10941E: main (main.c:255) | |
**17516** Fixed size allocator: wrong size in free: expected 144, got 96 at 0x5021FB5: VALGRIND_PRINTF_BACKTRACE.constprop.2 (valgrind.h:6818) | |
==17516== by 0x5022464: MVM_fixed_size_free (fixedsizealloc.c:283) | |
==17516== by 0x5041A2C: gc_free (MVMString.c:87) | |
==17516== by 0x502C654: MVM_gc_collect_free_nursery_uncopied (collect.c:581) | |
==17516== by 0x50282F0: finish_gc (orchestrate.c:230) | |
==17516== by 0x50282F0: run_gc (orchestrate.c:363) | |
==17516== by 0x5028CA0: MVM_gc_enter_from_allocator (orchestrate.c:472) | |
==17516== by 0x5028E57: MVM_gc_allocate_nursery (allocation.c:32) | |
==17516== by 0x502909A: MVM_gc_allocate_object (allocation.c:86) | |
==17516== by 0x503D592: MVM_repr_alloc_init (reprconv.c:17) | |
==17516== by 0x50578FE: MVM_nfa_run_proto (NFA.c:753) | |
==17516== by 0x50064C2: MVM_interp_run (interp.c:1759) | |
==17516== by 0x50CCE81: MVM_vm_run_file (moar.c:387) |
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
Address 0x4453A8D0 len 104 not defined: | |
Uninitialised value at 0x4453A8EC | |
==25628== Address 0x4453a8d0 is 0 bytes inside a block of size 152 alloc'd | |
==25628== at 0x4C2DB2F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==25628== by 0x50222A4: MVM_malloc (alloc.h:2) | |
==25628== by 0x50222A4: MVM_fixed_size_alloc (fixedsizealloc.c:178) | |
==25628== by 0x50A04C8: allocate_strands (ops.c:152) | |
==25628== by 0x50A04C8: MVM_string_concatenate (ops.c:715) | |
==25628== by 0x5006C1D: MVM_interp_run (interp.c:1573) | |
==25628== by 0x50CCED1: MVM_vm_run_file (moar.c:387) | |
==25628== by 0x10941E: main (main.c:255) | |
**25628** Fixed size allocator: wrong size in free: expected 144, got 96 at 0x5021FB5: VALGRIND_PRINTF_BACKTRACE.constprop.2 (valgrind.h:6818) | |
==25628== by 0x5022464: MVM_fixed_size_free (fixedsizealloc.c:283) | |
==25628== by 0x5041A2C: gc_free (MVMString.c:87) | |
==25628== by 0x502C654: MVM_gc_collect_free_nursery_uncopied (collect.c:581) | |
==25628== by 0x50282F0: finish_gc (orchestrate.c:230) | |
==25628== by 0x50282F0: run_gc (orchestrate.c:363) | |
==25628== by 0x5028CA0: MVM_gc_enter_from_allocator (orchestrate.c:472) | |
==25628== by 0x5028E57: MVM_gc_allocate_nursery (allocation.c:32) | |
==25628== by 0x502909A: MVM_gc_allocate_object (allocation.c:86) | |
==25628== by 0x500471E: MVM_interp_run (interp.c:1857) | |
==25628== by 0x50CCED1: MVM_vm_run_file (moar.c:387) | |
==25628== by 0x10941E: main (main.c:255) |
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
Stage parse : Address 0x18698BB0 len 48 defined | |
==26930== Address 0x18698bb0 is 0 bytes inside a block of size 56 alloc'd | |
==26930== at 0x4C2DB2F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==26930== by 0x5026004: MVM_malloc (alloc.h:2) | |
==26930== by 0x5026004: MVM_fixed_size_alloc (fixedsizealloc.c:178) | |
==26930== by 0x509ACAE: MVM_string_utf8_decode (utf8.c:183) | |
==26930== by 0x500ECF4: MVM_cu_obtain_string (compunit.c:240) | |
==26930== by 0x500F83A: MVM_cu_string (compunit.h:10) | |
==26930== by 0x500F83A: get_heap_string (bytecode.c:131) | |
==26930== by 0x500F83A: MVM_bytecode_finish_frame (bytecode.c:620) | |
==26930== by 0x50118AF: prepare_and_verify_static_frame (frame.c:29) | |
==26930== by 0x50118AF: instrumentation_level_barrier (frame.c:92) | |
==26930== by 0x5012609: MVM_frame_invoke (frame.c:379) | |
==26930== by 0x5050B52: invoke_handler (MVMCode.c:10) | |
==26930== by 0x4FF8D2C: MVM_interp_run (interp.c:990) | |
==26930== by 0x50D0EB1: MVM_vm_run_file (moar.c:400) | |
==26930== by 0x10941E: main (main.c:257) | |
**26930** Fixed size allocator: wrong size in free: expected 48, got 40 at 0x5025D15: VALGRIND_PRINTF_BACKTRACE.constprop.2 (valgrind.h:6818) | |
==26930== by 0x50261C4: MVM_fixed_size_free (fixedsizealloc.c:283) | |
==26930== by 0x504586C: gc_free (MVMString.c:87) | |
==26930== by 0x50306D5: MVM_gc_collect_free_gen2_unmarked (collect.c:703) | |
==26930== by 0x502C359: finish_gc (orchestrate.c:220) | |
==26930== by 0x502C359: run_gc (orchestrate.c:363) | |
==26930== by 0x502CAA0: MVM_gc_enter_from_allocator (orchestrate.c:472) | |
==26930== by 0x502CC57: MVM_gc_allocate_nursery (allocation.c:32) | |
==26930== by 0x502CF2D: MVM_gc_allocate_frame (allocation.c:99) | |
==26930== by 0x50124DB: allocate_frame (frame.c:242) | |
==26930== by 0x50126D3: MVM_frame_invoke (frame.c:487) | |
==26930== by 0x5012F15: MVM_frame_invoke_code (frame.c:363) | |
==26930== by 0x108011FF: ??? | |
Address 0x17EC39C0 len 52 defined | |
==26930== Address 0x17ec39c0 is 0 bytes inside a block of size 60 alloc'd | |
==26930== at 0x4C2DB2F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==26930== by 0x5026004: MVM_malloc (alloc.h:2) | |
==26930== by 0x5026004: MVM_fixed_size_alloc (fixedsizealloc.c:178) | |
==26930== by 0x509ACAE: MVM_string_utf8_decode (utf8.c:183) | |
==26930== by 0x500ECF4: MVM_cu_obtain_string (compunit.c:240) | |
==26930== by 0x500F83A: MVM_cu_string (compunit.h:10) | |
==26930== by 0x500F83A: get_heap_string (bytecode.c:131) | |
==26930== by 0x500F83A: MVM_bytecode_finish_frame (bytecode.c:620) | |
==26930== by 0x50118AF: prepare_and_verify_static_frame (frame.c:29) | |
==26930== by 0x50118AF: instrumentation_level_barrier (frame.c:92) | |
==26930== by 0x5012609: MVM_frame_invoke (frame.c:379) | |
==26930== by 0x5050B52: invoke_handler (MVMCode.c:10) | |
==26930== by 0x4FF8D2C: MVM_interp_run (interp.c:990) | |
==26930== by 0x50D0EB1: MVM_vm_run_file (moar.c:400) | |
==26930== by 0x10941E: main (main.c:257) | |
**26930** Fixed size allocator: wrong size in free: expected 52, got 44 at 0x5025D15: VALGRIND_PRINTF_BACKTRACE.constprop.2 (valgrind.h:6818) | |
==26930== by 0x50261C4: MVM_fixed_size_free (fixedsizealloc.c:283) | |
==26930== by 0x504586C: gc_free (MVMString.c:87) | |
==26930== by 0x50306D5: MVM_gc_collect_free_gen2_unmarked (collect.c:703) | |
==26930== by 0x502C359: finish_gc (orchestrate.c:220) | |
==26930== by 0x502C359: run_gc (orchestrate.c:363) | |
==26930== by 0x502CAA0: MVM_gc_enter_from_allocator (orchestrate.c:472) | |
==26930== by 0x502CC57: MVM_gc_allocate_nursery (allocation.c:32) | |
==26930== by 0x502CF2D: MVM_gc_allocate_frame (allocation.c:99) | |
==26930== by 0x50124DB: allocate_frame (frame.c:242) | |
==26930== by 0x50126D3: MVM_frame_invoke (frame.c:487) | |
==26930== by 0x5012F15: MVM_frame_invoke_code (frame.c:363) | |
==26930== by 0x108011FF: ??? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment