Created
October 26, 2017 18:15
-
-
Save dogbert17/6257f2d6d3b713207e31b6b260ef8a29 to your computer and use it in GitHub Desktop.
SEGV while running t/spec/S12-attributes/undeclared.t with MVN_SPESH_NODELAY=1
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
| (gdb) r | |
| Starting program: /home/dogbert/repos/rakudo/install/bin/moar --execname=./perl6-gdb-m --libpath=. --libpath=blib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib /home/dogbert/repos/rakudo/perl6.moarvm --nqp-lib=blib t/spec/S12-attributes/undeclared.t | |
| [Thread debugging using libthread_db enabled] | |
| Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". | |
| [New Thread 0xb7459b40 (LWP 23611)] | |
| 1..11 | |
| ok 1 - Test Undeclared public attribute assignment from a class | |
| ok 2 - Test Undeclared public attribute assignment from a role | |
| 1..2 | |
| ok 1 - ' class D { method d { $!d = 1 }}; D.new.d; ' died | |
| ok 2 - right exception type (X::Attribute::Undeclared) | |
| ok 3 - Test Undeclared private attribute assignment from a class | |
| 1..2 | |
| ok 1 - ' role E { method e { $!e = 1 }};class F does E { }; F.new.e; ' died | |
| ok 2 - right exception type (X::Attribute::Undeclared) | |
| ok 4 - Test Undeclared private attribute assignment from a role | |
| ok 5 - Test Undeclared public attribute access from a class | |
| ok 6 - Test Undeclared public attribute access from a role | |
| 1..2 | |
| ok 1 - ' class K { method k { $!k }}; K.new.k; ' died | |
| ok 2 - right exception type (X::Attribute::Undeclared) | |
| ok 7 - Test Undeclared private attribute access from a class | |
| 1..2 | |
| ok 1 - ' role L { method l { $!l }};class M does L { }; M.new.l; ' died | |
| ok 2 - right exception type (X::Attribute::Undeclared) | |
| ok 8 - Test Undeclared private attribute access from a role | |
| 1..2 | |
| ok 1 - ' role R { method r { $!r := 1 }};class S does R { }; S.new.r; ' died | |
| ok 2 - right exception type (X::Attribute::Undeclared) | |
| ok 9 - Test Undeclared private attribute binding from a role | |
| 1..2 | |
| Program received signal SIGSEGV, Segmentation fault. | |
| 0xb7c58ede in MVM_spesh_arg_guard_run (tc=0x804c5f8, ag=0x8130c80, cs=0x81dc348, args=0xa8439c0, certain=0x0) at src/spesh/arg_guard.c:411 | |
| 411 current_node = IS_CONCRETE(test) && test->st == agn->st | |
| (gdb) bt | |
| #0 0xb7c58ede in MVM_spesh_arg_guard_run (tc=0x804c5f8, ag=0x8130c80, cs=0x81dc348, args=0xa8439c0, certain=0x0) at src/spesh/arg_guard.c:411 | |
| #1 0xb7bafc3d in MVM_frame_invoke (tc=0x804c5f8, static_frame=0x81ee540, callsite=0x81dc348, args=0xa8439c0, outer=0xa5efb88, code_ref=0x81f7380, spesh_cand=-1) at src/core/frame.c:473 | |
| #2 0xb7c008a9 in invoke_handler (tc=0x804c5f8, invokee=0x81f7380, callsite=0x81dc348, args=0xa8439c0) at src/6model/reprs/MVMCode.c:10 | |
| #3 0xb7b894a5 in MVM_interp_run (tc=0x804c5f8, initial_invoke=0xb7c8b7ca <toplevel_initial_invoke>, invoke_data=0x80bb7a8) at src/core/interp.c:993 | |
| #4 0xb7c8b929 in MVM_vm_run_file (instance=0x804c008, filename=0xbffff279 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:401 | |
| #5 0x08048f4f in main (argc=10, argv=0xbfffef74) at src/main.c:257 | |
| (gdb) info threads | |
| Id Target Id Frame | |
| 2 Thread 0xb7459b40 (LWP 23611) "moar" 0xb7c40146 in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a8273c) at src/spesh/graph.c:1077 | |
| * 1 Thread 0xb789d700 (LWP 23609) "moar" 0xb7c58ede in MVM_spesh_arg_guard_run (tc=0x804c5f8, ag=0x8130c80, cs=0x81dc348, args=0xa8439c0, certain=0x0) at src/spesh/arg_guard.c:411 | |
| (gdb) t 2 | |
| [Switching to thread 2 (Thread 0xb7459b40 (LWP 23611))] | |
| #0 0xb7c40146 in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a8273c) at src/spesh/graph.c:1077 | |
| 1077 MVMuint16 orig = a->operands[i].reg.orig; | |
| (gdb) bt | |
| #0 0xb7c40146 in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a8273c) at src/spesh/graph.c:1077 | |
| #1 0xb7c4051e in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a82708) at src/spesh/graph.c:1129 | |
| #2 0xb7c4051e in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a826d4) at src/spesh/graph.c:1129 | |
| #3 0xb7c4051e in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a824cc) at src/spesh/graph.c:1129 | |
| #4 0xb7c4051e in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a82498) at src/spesh/graph.c:1129 | |
| #5 0xb7c4051e in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a82464) at src/spesh/graph.c:1129 | |
| #6 0xb7c4051e in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a8218c) at src/spesh/graph.c:1129 | |
| #7 0xb7c4051e in rename_locals (tc=0x808f2b0, g=0xb4f25868, var_info=0xb507d1c8, x=0xb4a81b60) at src/spesh/graph.c:1129 | |
| #8 0xb7c406d2 in ssa (tc=0x808f2b0, g=0xb4f25868) at src/spesh/graph.c:1167 | |
| #9 0xb7c4096a in MVM_spesh_graph_create (tc=0x808f2b0, sf=0x8870b98, cfg_only=0, insert_object_nulls=1) at src/spesh/graph.c:1212 | |
| #10 0xb7c420f7 in MVM_spesh_candidate_add (tc=0x808f2b0, p=0xb4f1b99c) at src/spesh/candidate.c:44 | |
| #11 0xb7c5449e in worker (tc=0x808f2b0, callsite=0xb7fd74a4 <null_args_callsite>, args=0x0) at src/spesh/worker.c:13 | |
| #12 0xb7bf9107 in invoke_handler (tc=0x808f2b0, invokee=0x8085570, callsite=0xb7fd74a4 <null_args_callsite>, args=0x0) at src/6model/reprs/MVMCFunction.c:9 | |
| #13 0xb7bb8800 in thread_initial_invoke (tc=0x808f2b0, data=0x80aff90) at src/core/threads.c:59 | |
| #14 0xb7b834fb in MVM_interp_run (tc=0x808f2b0, initial_invoke=0xb7bb8777 <thread_initial_invoke>, invoke_data=0x80aff90) at src/core/interp.c:93 | |
| #15 0xb7bb88b1 in start_thread (data=0x80aff90) at src/core/threads.c:85 | |
| #16 0xb78b3f72 in start_thread (arg=0xb7459b40) at pthread_create.c:312 | |
| #17 0xb79fe3ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129 | |
| (gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment