Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created April 17, 2020 10:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/e08f50c7a98e3b1f935e229d547e0199 to your computer and use it in GitHub Desktop.
Save dogbert17/e08f50c7a98e3b1f935e229d547e0199 to your computer and use it in GitHub Desktop.
New SEGV
dogbert@dogbert-VirtualBox ~ $ perl6 -v
This is Rakudo version 2020.02.1-326-ga4906a7 built on MoarVM version 2020.02.1-81-g1aa555f
implementing Raku 6.d.
dogbert@dogbert-VirtualBox ~/repos/CSV $ perl6 --profile --profile-kind=heap -Ilib t/46_eol_si.t
Segmentation fault (core dumped)
dogbert@dogbert-VirtualBox ~/repos/CSV $ gdb perl6 core
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 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 perl6...done.
[New LWP 9578]
[New LWP 9579]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `perl6 --profile --profile-kind=heap -Ilib t/46_eol_si.t'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f39d926c356 in MVM_spesh_plugin_guard_list_mark (tc=0x1077d70, guards=0x51b2ea0, num_guards=6, worklist=0x0) at src/spesh/plugin.c:965
965 MVM_gc_worklist_add(tc, worklist, &guards[i].u.type);
[Current thread is 1 (Thread 0x7f39d9ca8700 (LWP 9578))]
(gdb) bt
#0 0x00007f39d926c356 in MVM_spesh_plugin_guard_list_mark (tc=0x1077d70, guards=0x51b2ea0, num_guards=6, worklist=0x0) at src/spesh/plugin.c:965
#1 0x00007f39d9191bb6 in MVM_gc_root_add_tc_roots_to_worklist (tc=0x1077d70, worklist=0x0, snapshot=0x7ffcb2c3b3d0) at src/gc/roots.c:218
#2 0x00007f39d92be55a in process_workitems (tc=0x1077d70, ss=0x7ffcb2c3b3d0) at src/profiler/heapsnapshot.c:681
#3 0x00007f39d92bebd9 in record_snapshot (tc=0x1077d70, col=0x54cf630, hs=0x5638880) at src/profiler/heapsnapshot.c:800
#4 0x00007f39d92bfcee in MVM_profile_heap_take_snapshot (tc=0x1077d70) at src/profiler/heapsnapshot.c:1892
#5 0x00007f39d9188ebf in finish_gc (tc=0x1077d70, gen=1 '\001', is_coordinator=1 '\001') at src/gc/orchestrate.c:188
#6 0x00007f39d918978c in run_gc (tc=0x1077d70, what_to_do=0 '\000') at src/gc/orchestrate.c:448
#7 0x00007f39d9189e3e in MVM_gc_enter_from_allocator (tc=0x1077d70) at src/gc/orchestrate.c:599
#8 0x00007f39d918a6ba in MVM_gc_allocate_nursery (tc=0x1077d70, size=40) at src/gc/allocation.c:37
#9 0x00007f39d918a4b5 in MVM_gc_allocate (tc=0x1077d70, size=40) at src/gc/allocation.h:18
#10 0x00007f39d918a743 in MVM_gc_allocate_zeroed (tc=0x1077d70, size=40) at src/gc/allocation.c:56
#11 0x00007f39d918aae6 in MVM_gc_allocate_object (tc=0x1077d70, st=0x10e2188) at src/gc/allocation.c:93
#12 0x00007f39d91b76ac in MVM_repr_alloc_init (tc=0x1077d70, type=0x10ed728) at src/6model/reprconv.c:17
#13 0x00007f39d9269778 in add_resolution_to_guard_set (tc=0x1077d70, sr_data=0x56386e0) at src/spesh/plugin.c:324
#14 0x00007f39d9150f2b in remove_one_frame (tc=0x1077d70, unwind=0 '\000') at src/core/frame.c:949
#15 0x00007f39d915131e in MVM_frame_try_return (tc=0x1077d70) at src/core/frame.c:1042
#16 0x00007f39d9114358 in MVM_interp_run (tc=0x1077d70, initial_invoke=0x7f39d92c929b <toplevel_initial_invoke>, invoke_data=0x1114c08) at src/core/interp.c:563
#17 0x00007f39d92c9439 in MVM_vm_run_file (instance=0x1077260, filename=0x10771e0 "/home/dogbert/.rakudobrew/versions/moar-master/install/share/perl6/runtime/perl6.moarvm") at src/moar.c:463
#18 0x00000000004011aa in main (argc=<optimized out>, argv=0x7ffcb2c3da98) at src/vm/moar/runner/main.c:392
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment