Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created April 5, 2021 14:34
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/c6fa4ea72ba201fb35fb0c45171ff701 to your computer and use it in GitHub Desktop.
Save dogbert17/c6fa4ea72ba201fb35fb0c45171ff701 to your computer and use it in GitHub Desktop.
SEGV
dogbert@dogbert-VirtualBox:~$ gdb /home/dogbert/.rakudobrew/versions/moar-master/install/bin/perl6 core.perl6.1000.59de0174384f478c9484d199e26329ee.1027578.1617633051000000000000
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 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 /home/dogbert/.rakudobrew/versions/moar-master/install/bin/perl6...
(No debugging symbols found in /home/dogbert/.rakudobrew/versions/moar-master/install/bin/perl6)
[New LWP 1027579]
[New LWP 1027578]
[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 --ll-exception -Ilib repos/rakudo/t/spec/S17-supply/return-in-tap.t'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 unlink_chunk (p=p@entry=0x7f5134370ab0, av=0x7f5134000020) at malloc.c:1459
1459 malloc.c: No such file or directory.
[Current thread is 1 (Thread 0x7f513c059700 (LWP 1027579))]
(gdb) bt
#0 unlink_chunk (p=p@entry=0x7f5134370ab0, av=0x7f5134000020) at malloc.c:1459
#1 0x00007f513c6d200b in _int_free (av=0x7f5134000020, p=0x7f513436eaa0, have_lock=<optimized out>) at malloc.c:4342
#2 0x00007f513caeea7d in optimize_call (tc=tc@entry=0x55c48ea5fc90, g=g@entry=0x7f513448a500, bb=bb@entry=0x7f51343bd750, ins=ins@entry=0x7f51343bc080, p=p@entry=0x7f51343dc990, callee_idx=callee_idx@entry=1,
arg_info=0x7f513c058840) at src/spesh/optimize.c:2164
#3 0x00007f513caf0421 in optimize_bb_switch (tc=<optimized out>, g=0x7f513448a500, bb=0x7f51343bd750, p=0x7f51343dc990) at src/spesh/optimize.c:2792
#4 0x00007f513caf17c0 in optimize_bb (tc=0x55c48ea5fc90, g=0x7f513448a500, bb=0x7f51343bd750, p=0x7f51343dc990) at src/spesh/optimize.c:3050
#5 0x00007f513caf17ec in optimize_bb (tc=0x55c48ea5fc90, g=0x7f513448a500, bb=0x7f51343bd570, p=0x7f51343dc990) at src/spesh/optimize.c:3054
#6 0x00007f513caf17ec in optimize_bb (tc=0x55c48ea5fc90, g=0x7f513448a500, bb=0x7f51343bd390, p=0x7f51343dc990) at src/spesh/optimize.c:3054
#7 0x00007f513caf17ec in optimize_bb (tc=0x55c48ea5fc90, g=0x7f513448a500, bb=0x7f51343bcf10, p=0x7f51343dc990) at src/spesh/optimize.c:3054
#8 0x00007f513caf1884 in optimize_bb (p=0x7f51343dc990, bb=0x7f51343bce28, g=0x7f513448a500, tc=0x55c48ea5fc90) at src/spesh/optimize.c:3054
#9 MVM_spesh_optimize (tc=tc@entry=0x55c48ea5fc90, g=g@entry=0x7f513448a500, p=p@entry=0x7f51343dc990) at src/spesh/optimize.c:3432
#10 0x00007f513cb02f22 in MVM_spesh_candidate_add (tc=tc@entry=0x55c48ea5fc90, p=0x7f51343dc990) at src/6model/reprs/MVMSpeshCandidate.c:250
#11 0x00007f513caf87a1 in worker (tc=0x55c48ea5fc90, callsite=<optimized out>, args=<optimized out>) at src/spesh/worker.c:24
#12 0x00007f513ca69de5 in thread_initial_invoke (tc=0x55c48ea5fc90, data=<optimized out>) at src/core/threads.c:58
#13 0x00007f513ca3e9b3 in MVM_interp_run (tc=0x7f5134370ab0, tc@entry=0x55c48ea5fc90, initial_invoke=0x0, initial_invoke@entry=0x7f513ca69da0 <thread_initial_invoke>, invoke_data=0x0,
invoke_data@entry=0x7f513ca69da0 <thread_initial_invoke>, outer_runloop=0x2351, outer_runloop@entry=0x0) at src/core/interp.c:159
#14 0x00007f513ca69e7d in start_thread (data=0x55c48ea61020) at src/core/threads.c:91
#15 0x00007f513c4cf609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x00007f513c75a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment