-
-
Save MasterDuke17/ee516fde9916dc4dfc6ab74ca4e72e82 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
dan@hermes:~/Source/perl6/modules$ MVM_JIT_DISABLE=1 ../install/bin/perl6-gdb-m -I perl6-all-modules/github/jonathanstowe/LibraryCheck/lib -I perl6-msgpack/lib test-msgpack.pl6 | |
================================================================================================ | |
This is Rakudo Perl 6 running in the GNU debugger, which often allows the user to generate useful back- | |
traces to debug or report issues in Rakudo, the MoarVM backend or the currently running code. | |
This Rakudo version is 2017.10.103.gef.84.aafc.0 built on MoarVM version 2017.10.35.g.9.b.9.bd.1.bf.4, | |
Cannot find method 'archetypes' on object of type | |
in block <unit> at -e line 9 | |
Reading symbols from /home/dan/Source/perl6/install/bin/moar...done. | |
Starting program: /home/dan/Source/perl6/install/bin/moar --execname=../install/bin/perl6-gdb-m --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/perl6/lib --libpath=/home/dan/Source/perl6/install/share/perl6/runtime /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm -I perl6-all-modules/github/jonathanstowe/LibraryCheck/lib -I perl6-msgpack/lib test-msgpack.pl6 | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
[New Thread 0x7ffff6359700 (LWP 9461)] | |
===SORRY!=== | |
Attempt to unlock mutex by thread not holding it | |
Unhandled exception: Attempt to unlock mutex by thread not holding it | |
at SETTING::src/core/Exception.pm:395 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:print_exception) | |
from SETTING::src/core/Exception.pm:452 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:<anon>) | |
from gen/moar/stage2/NQPHLL.nqp:1708 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:command_eval) | |
from src/Perl6/Compiler.nqp:42 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Compiler.moarvm:command_eval) | |
from gen/moar/stage2/NQPHLL.nqp:1630 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:command_line) | |
from gen/moar/main.nqp:47 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:MAIN) | |
from gen/moar/main.nqp:38 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<mainline>) | |
from <unknown>:1 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<main>) | |
from <unknown>:1 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<entry>) | |
[Thread 0x7ffff7fb4740 (LWP 9457) exited] | |
[Inferior 1 (process 9457) exited with code 01] |
This file contains hidden or 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
dan@hermes:~/Source/perl6/modules$ MVM_GC_DEBUG=1 MVM_SPESH_DISABLE=1 ../install/bin/perl6-valgrind-m -I perl6-all-modules/github/jonathanstowe/LibraryCheck/lib -I perl6-msgpack/lib test-msgpack.pl6 | |
================================================================================================ | |
This is Rakudo Perl 6 running in valgrind, a tool for debugging and profiling programs. | |
Running a program in valgrind usually takes *a lot* more time than running it directly, | |
so please be patient. | |
Valgrind options can be added with MVM_VALGRIND_OPTS environment variable. | |
This Rakudo version is 2017.10.113.g.32412170.b built on MoarVM version 2017.10.55.gac.0282.af.2, | |
Segmentation fault (core dumped) | |
==32424== Memcheck, a memory error detector | |
==32424== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
==32424== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info | |
==32424== Command: /home/dan/Source/perl6/install/bin/moar --execname=../install/bin/perl6-valgrind-m --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/perl6/lib --libpath=/home/dan/Source/perl6/install/share/perl6/runtime /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm -I perl6-all-modules/github/jonathanstowe/LibraryCheck/lib -I perl6-msgpack/lib test-msgpack.pl6 | |
==32424== | |
1 | |
==32424== | |
==32424== Process terminating with default action of signal 11 (SIGSEGV) | |
==32424== General Protection Fault | |
==32424== at 0x505DCF0: unmanaged_size (NFA.c:239) | |
==32424== by 0x50343D0: process_worklist (collect.c:301) | |
==32424== by 0x5034A1A: MVM_gc_collect (collect.c:157) | |
==32424== by 0x502FFCE: run_gc (orchestrate.c:369) | |
==32424== by 0x5030AB2: MVM_gc_enter_from_allocator (orchestrate.c:486) | |
==32424== by 0x5030F37: MVM_gc_allocate_nursery (allocation.c:32) | |
==32424== by 0x503116A: MVM_gc_allocate_object (allocation.c:86) | |
==32424== by 0x4FF72DD: MVM_args_slurpy_named (args.c:652) | |
==32424== by 0x4FFBD9A: MVM_interp_run (interp.c:1161) | |
==32424== by 0x50D7C84: MVM_vm_run_file (moar.c:401) | |
==32424== by 0x1094BF: main (main.c:257) | |
==32424== | |
==32424== HEAP SUMMARY: | |
==32424== in use at exit: 72,662,105 bytes in 216,451 blocks | |
==32424== total heap usage: 371,521 allocs, 24,982 frees, 104,035,797 bytes allocated | |
==32424== | |
Memcheck: mc_main.c:5837 (vgMemCheck_is_valid_aligned_word): Assertion 'VG_IS_WORD_ALIGNED(a)' failed. | |
host stacktrace: | |
==32424== at 0x580441BA: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) | |
sched status: | |
running_tid=1 | |
Note: see also the FAQ in the source distribution. | |
It contains workarounds to several common problems. | |
In particular, if Valgrind aborted or crashed after | |
identifying problems in your program, there's a good chance | |
that fixing those problems will prevent Valgrind aborting or | |
crashing, especially if it happened in m_mallocfree.c. | |
If that doesn't help, please report this bug to: www.valgrind.org | |
In the bug report, send all the above text, the valgrind | |
version, and what OS and version you are using. Thanks. |
This file contains hidden or 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
dan@hermes:~/Source/perl6/modules$ MVM_JIT_DISABLE=1 ../install/bin/perl6-gdb-m -I perl6-all-modules/github/jonathanstowe/LibraryCheck/lib -I perl6-msgpack/lib test-msgpack.pl6 | |
================================================================================================ | |
This is Rakudo Perl 6 running in the GNU debugger, which often allows the user to generate useful back- | |
traces to debug or report issues in Rakudo, the MoarVM backend or the currently running code. | |
This Rakudo version is 2017.10.103.gef.84.aafc.0 built on MoarVM version 2017.10.35.g.9.b.9.bd.1.bf.4, | |
Cannot find method 'archetypes' on object of type | |
in block <unit> at -e line 9 | |
Reading symbols from /home/dan/Source/perl6/install/bin/moar...done. | |
Starting program: /home/dan/Source/perl6/install/bin/moar --execname=../install/bin/perl6-gdb-m --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/perl6/lib --libpath=/home/dan/Source/perl6/install/share/perl6/runtime /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm -I perl6-all-modules/github/jonathanstowe/LibraryCheck/lib -I perl6-msgpack/lib test-msgpack.pl6 | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
[New Thread 0x7ffff6359700 (LWP 9385)] | |
Thread 1 "moar" received signal SIGSEGV, Segmentation fault. | |
MVM_interp_run (tc=tc@entry=0x555555758c40, initial_invoke=0x555556c11658, invoke_data=0x0) at src/core/interp.c:5591 | |
5591 MVM_ASSIGN_REF(tc, &(o->header), *((MVMObject **)((char *)o + GET_UI16(cur_op, 2))), value); | |
(gdb) bt | |
#0 MVM_interp_run (tc=tc@entry=0x555555758c40, initial_invoke=0x555556c11658, invoke_data=0x0) at src/core/interp.c:5591 | |
#1 0x00007ffff7754065 in MVM_vm_run_file (instance=0x555555758260, filename=<optimized out>) at src/moar.c:401 | |
#2 0x00005555555554c0 in main (argc=11, argv=0x7fffffffdc98) at src/main.c:257 | |
(gdb) call MVM_dump_backtrace(tc) | |
at SETTING::src/core/Lock.pm:23 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:protect) | |
from SETTING::src/core/CompUnit/PrecompilationUnit.pm:8 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:new) | |
from SETTING::src/core/CompUnit/Repository/FileSystem.pm:57 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:comp-unit-id) | |
from SETTING::src/core/CompUnit/Repository/FileSystem.pm:126 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:) | |
from SETTING::src/core/CompUnit/Repository/FileSystem.pm:121 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:need) | |
from SETTING::src/core/CompUnit/Repository/FileSystem.pm:148 (/home/dan/Source/perl6/install/share/perl6/runtime/CORE.setting.moarvm:need) | |
from src/Perl6/World.nqp:1224 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/World.moarvm:load_module) | |
from src/Perl6/World.nqp:1154 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/World.moarvm:do_pragma_or_load_module) | |
from src/Perl6/Grammar.nqp:1657 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Grammar.moarvm:statement_control:sym<use>) | |
from gen/moar/stage2/QRegex.nqp:1721 (/home/dan/Source/perl6/install/share/nqp/lib/QRegex.moarvm:!protoregex) | |
from <unknown>:1 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Grammar.moarvm:statement_control) | |
from src/Perl6/Grammar.nqp:1314 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Grammar.moarvm:statement) | |
from src/Perl6/Grammar.nqp:1246 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Grammar.moarvm:statementlist) | |
from gen/moar/stage2/NQPHLL.nqp:1118 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:LANG) | |
from src/Perl6/Grammar.nqp:1680 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Grammar.moarvm:FOREIGN_LANG) | |
from src/Perl6/Grammar.nqp:1210 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Grammar.moarvm:comp_unit) | |
from src/Perl6/Grammar.nqp:512 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Grammar.moarvm:TOP) | |
from gen/moar/stage2/QRegex.nqp:2330 (/home/dan/Source/perl6/install/share/nqp/lib/QRegex.moarvm:parse) | |
from gen/moar/stage2/NQPHLL.nqp:1886 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:parse) | |
from gen/moar/stage2/NQPHLL.nqp:1802 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:execute_stage) | |
from gen/moar/stage2/NQPHLL.nqp:1835 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:run) | |
from gen/moar/stage2/NQPHLL.nqp:1838 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:) | |
from gen/moar/stage2/NQPHLL.nqp:1824 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:compile) | |
from gen/moar/stage2/NQPHLL.nqp:1524 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:eval) | |
from gen/moar/stage2/NQPHLL.nqp:1779 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:evalfiles) | |
from gen/moar/stage2/NQPHLL.nqp:1671 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:command_eval) | |
from src/Perl6/Compiler.nqp:42 (/home/dan/Source/perl6/install/share/nqp/lib/Perl6/Compiler.moarvm:command_eval) | |
from gen/moar/stage2/NQPHLL.nqp:1630 (/home/dan/Source/perl6/install/share/nqp/lib/NQPHLL.moarvm:command_line) | |
from gen/moar/main.nqp:47 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:MAIN) | |
from gen/moar/main.nqp:38 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<mainline>) | |
from <unknown>:1 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<main>) | |
from <unknown>:1 (/home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm:<entry>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment