-
-
Save MasterDuke17/e028a3c3b2c55b4dbd8d89657eca4b8e to your computer and use it in GitHub Desktop.
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
[dan@alexandria nqp]$ coredumpctl debug | |
PID: 403391 (moar) | |
UID: 1000 (dan) | |
GID: 100 (users) | |
Signal: 11 (SEGV) | |
Timestamp: Tue 2021-06-29 05:26:13 EDT (28min ago) | |
Command Line: /home/dan/Source/perl6/install/bin/moar --execname=/home/dan/Source/perl6/rakudo/rakudo-m --libpath=/home/dan/Source/perl6/rakudo --libpath=/home/dan/Source/perl6/rakudo/blib --libpath=/home/dan/Source/perl6/install/share/nqp/lib /home/dan/Source/perl6/rakudo/rakudo.moarvm t/09-moar/Line_Break__LineBreak.t | |
Executable: /home/dan/Source/perl6/install/bin/moar | |
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.yakuake-8e2e647b9f2a47b19929338299d4e853.scope | |
Unit: user@1000.service | |
User Unit: app-org.kde.yakuake-8e2e647b9f2a47b19929338299d4e853.scope | |
Slice: user-1000.slice | |
Owner UID: 1000 (dan) | |
Boot ID: 60cfb9ebcc9c48458b9f55a3a415f5c7 | |
Machine ID: 30686bbe4d464a1a82a55c49d07cc072 | |
Hostname: alexandria | |
Storage: /var/lib/systemd/coredump/core.moar.1000.60cfb9ebcc9c48458b9f55a3a415f5c7.403391.1624958773000000.zst (present) | |
Disk Size: 8.8M | |
Message: Process 403391 (moar) of user 1000 dumped core. | |
Stack trace of thread 403392: | |
#0 0x00007f360fdf6df6 n/a (n/a + 0x0) | |
GNU gdb (GDB) 10.2 | |
Copyright (C) 2021 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-pc-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<https://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/dan/Source/perl6/install/bin/moar... | |
[New LWP 403392] | |
[New LWP 403391] | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/usr/lib/libthread_db.so.1". | |
Core was generated by `/home/dan/Source/perl6/install/bin/moar --execname=/home/dan/Source/perl6/rakud'. | |
Program terminated with signal SIGSEGV, Segmentation fault. | |
#0 MVM_spesh_stats_cleanup (tc=0x562a1ab5f770, check_frames=0xd30) at src/spesh/stats.c:665 | |
665 MVMSpeshStats *ss = spesh->body.spesh_stats; | |
[Current thread is 1 (Thread 0x7f360f25b640 (LWP 403392))] | |
(gdb) bt | |
#0 MVM_spesh_stats_cleanup (tc=0x562a1ab5f770, check_frames=0xd30) at src/spesh/stats.c:665 | |
#1 0x00000000000000c0 in ?? () | |
#2 0x0000000000000073 in ?? () | |
#3 0x00007f360fdf496d in worker (tc=0x562a1afbcfc8, callsite=<optimized out>, args=<optimized out>) at src/spesh/worker.c:24 | |
#4 0x00007f360fd60581 in thread_initial_invoke (tc=0x562a1ab5f770, data=<optimized out>) at src/core/threads.c:58 | |
#5 0x00007f360fd36476 in MVM_interp_run (tc=0x8, tc@entry=0x562a1ab5f770, initial_invoke=0x7f360feb5220, initial_invoke@entry=0x7f360fd60540 <thread_initial_invoke>, invoke_data=0x7f360feb5220, | |
invoke_data@entry=0x7f360fd60540 <thread_initial_invoke>, outer_runloop=0x562a1ab292a0, outer_runloop@entry=0x0) at src/core/interp.c:158 | |
#6 0x00007f360fd60619 in start_thread (data=0x562a1ab60b00) at src/core/threads.c:91 | |
#7 0x00007f360f7ce259 in start_thread () from /usr/lib/libpthread.so.0 | |
#8 0x00007f360fa285e3 in clone () from /usr/lib/libc.so.6 | |
(gdb)p ss | |
$1 = <optimized out> | |
(gdb) p *ss | |
value has been optimized out | |
(gdb) p spesh | |
$2 = (MVMStaticFrameSpesh *) 0x10c5 | |
(gdb) p *spesh | |
Cannot access memory at address 0x10c5 | |
(gdb) list | |
660 MVMint64 insert_pos = 0; | |
661 MVMint64 i; | |
662 for (i = 0; i < elems; i++) { | |
663 MVMStaticFrame *sf = (MVMStaticFrame *)MVM_repr_at_pos_o(tc, check_frames, i); | |
664 MVMStaticFrameSpesh *spesh = sf->body.spesh; | |
665 MVMSpeshStats *ss = spesh->body.spesh_stats; | |
666 if (!ss) { | |
667 /* No stats; already destroyed, don't keep this frame under | |
668 * consideration. */ | |
669 } | |
(gdb) p sf | |
$3 = (MVMStaticFrame *) 0x562a1ab292a0 | |
(gdb) p *sf | |
$4 = {common = {header = {sc_forward_u = {forwarder = 0x0, sc = {sc_idx = 0, idx = 0}, st = 0x0}, owner = 1, flags1 = 1 '\001', flags2 = 2 '\002', size = 24}, st = 0x562a1ab1cbf0}, body = { | |
bytecode = 0xffffffff00000001 <error: Cannot access memory at address 0xffffffff00000001>, cu = 0x18020100000001, local_types = 0x562a1ab1ccb8, lexical_types = 0xffffffff00000001, lexical_names = {table = 0x18020100000001}, | |
lexical_names_list = 0x562a1ab1cd80, static_env = 0xffffffff00000001, static_env_flags = 0x18020100000001 <error: Cannot access memory at address 0x18020100000001>, has_state_vars = 72 'H', allocate_on_heap = 206 '\316', | |
no_inline = 177 '\261', specializable = 26 '\032', instrumentation_level = 22058, spesh = 0xffffffff00000001, env_size = 1, work_size = 1573377, num_lexicals = 447860496, num_annotations = 22058, work_initial = 0xffffffff00000001, | |
bytecode_size = 1, num_locals = 1573377, handlers = 0x562a1ab1cfd8, num_handlers = 0, fully_deserialized = 0 '\000', is_thunk = 0 '\000', has_exit_handler = 0 '\000', cuuid = 0x18020100000001, name = 0x562a1ab1d0a0, | |
outer = 0xffffffff00000001, static_code = 0x18020100000001, annotations_data = 0x562a1ab1d168 "\001", orig_bytecode = 0x0, frame_data_pos = 0x18020100000001 <error: Cannot access memory at address 0x18020100000001>, | |
frame_static_lex_pos = 0x562a1ab1d230 "", code_obj_sc_dep_idx = 1, code_obj_sc_idx = -1, instrumentation = 0x18020100000001}} | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment