Created
February 3, 2022 17:43
-
-
Save dogbert17/34f979acee7d605b06f3e4038b8ee21f to your computer and use it in GitHub Desktop.
SEGV in t/02-rakudo/repl.t
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
dogbert@dogbert-VirtualBox:~/repos/rakudo$ gdb install/bin/moar core.moar.1000.b2d97e39327e49f583d2b42f2f4e8691.358445.1643821268000000000000 | |
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2 | |
Copyright (C) 2020 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. | |
Type "show copying" and "show warranty" for details. | |
This GDB was configured as "x86_64-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>. | |
Find the GDB manual and other documentation resources online at: | |
<http://www.gnu.org/software/gdb/documentation/>. | |
For help, type "help". | |
Type "apropos word" to search for commands related to "word"... | |
Reading symbols from install/bin/moar... | |
[New LWP 358445] | |
[New LWP 358446] | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
Core was generated by `/home/dogbert/repos/rakudo/install/bin/moar --execname=/home/dogbert/repos/raku'. | |
Program terminated with signal SIGSEGV, Segmentation fault. | |
#0 scan_lexicals (frame=0x3618c07c028, worklist=0x3618c5f1920, tc=0x3618c030080) at src/gc/roots.c:475 | |
475 MVM_gc_worklist_add(tc, worklist, &frame->env[i].o); | |
[Current thread is 1 (Thread 0x7f830e93b440 (LWP 358445))] | |
(gdb) bt | |
#0 scan_lexicals (frame=0x3618c07c028, worklist=0x3618c5f1920, tc=0x3618c030080) at src/gc/roots.c:475 | |
#1 MVM_gc_root_add_frame_roots_to_worklist (tc=0x3618c030080, worklist=0x3618c5f1920, cur_frame=0x3618c07c028) at src/gc/roots.c:430 | |
#2 0x00007f830ef1cda9 in process_worklist (tc=tc@entry=0x3618c030080, worklist=worklist@entry=0x3618c5f1920, wtp=wtp@entry=0x7ffec15cd310, gen=gen@entry=0 '\000') at src/gc/collect.c:331 | |
#3 0x00007f830ef1cef9 in MVM_gc_collect (tc=tc@entry=0x3618c030080, what_to_do=what_to_do@entry=0 '\000', gen=<optimized out>) at src/gc/collect.c:123 | |
#4 0x00007f830ef16b8a in run_gc (tc=tc@entry=0x3618c030080, what_to_do=what_to_do@entry=0 '\000') at src/gc/orchestrate.c:444 | |
#5 0x00007f830ef17c4f in MVM_gc_enter_from_allocator (tc=tc@entry=0x3618c030080) at src/gc/orchestrate.c:599 | |
#6 0x00007f830ef17f71 in MVM_gc_allocate_nursery (tc=0x3618c030080, size=32) at src/gc/allocation.c:37 | |
#7 0x00007f830eed85cd in fastcreate (cur_op=<optimized out>, tc=<optimized out>) at src/core/interp.c:98 | |
#8 MVM_interp_run (tc=0x3618c030080, initial_invoke=0x3618c5f1920, invoke_data=0x3618c5f1920, outer_runloop=0x0) at src/core/interp.c:5893 | |
#9 0x000055c048a277fb in main (argc=7, argv=0x7ffec15cdac8) at src/main.c:307 | |
(gdb) l | |
470 type_map = frame->static_info->body.lexical_types; | |
471 count = frame->static_info->body.num_lexicals; | |
472 } | |
473 for (i = 0; i < count; i++) | |
474 if (type_map[i] == MVM_reg_str || type_map[i] == MVM_reg_obj) | |
475 MVM_gc_worklist_add(tc, worklist, &frame->env[i].o); | |
476 } | |
477 } | |
(gdb) info threads | |
Id Target Id Frame | |
* 1 Thread 0x7f830e93b440 (LWP 358445) scan_lexicals (frame=0x3618c07c028, worklist=0x3618c5f1920, tc=0x3618c030080) at src/gc/roots.c:475 | |
2 Thread 0x7f830e939700 (LWP 358446) futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x3618c25a090) at ../sysdeps/nptl/futex-internal.h:183 | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment