Skip to content

Instantly share code, notes, and snippets.

@niner
Created March 2, 2020 15:58
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 niner/eeb3f329cb34dda0c8444c91fe4b9f93 to your computer and use it in GitHub Desktop.
Save niner/eeb3f329cb34dda0c8444c91fe4b9f93 to your computer and use it in GitHub Desktop.
nine@lavm-matikon-1:~> sudo coredumpctl gdb 7477
[sudo] password for nine:
PID: 7477 (perl6)
UID: 30 (wwwrun)
GID: 8 (www)
Signal: 11 (SEGV)
Timestamp: Sat 2020-02-29 03:27:07 CET (2 days ago)
Command Line: /usr/bin/perl6 -I/srv/www/cgi-bin/mein-Atikon/lib /srv/www/cgi-bin/mein-Atikon/automated_mails.pl6
Executable: /usr/bin/perl6
Control Group: /system.slice/automated_mails.service
Unit: automated_mails.service
Slice: system.slice
Boot ID: bc4d03eb13fa41f0ac1c127c2eb564d1
Machine ID: 8cdee5eed8d04edfba07ccf50f0ec41e
Hostname: lavm-matikon-1
Storage: /var/lib/systemd/coredump/core.perl6.30.bc4d03eb13fa41f0ac1c127c2eb564d1.7477.1582943227000000.lz4
Message: Process 7477 (perl6) of user 30 dumped core.
Stack trace of thread 7484:
#0 0x00007f797c142bbf gc_mark (libmoar.so)
#1 0x00007f797c0fa7d7 MVM_gc_root_add_gen2s_to_worklist (libmoar.so)
#2 0x00007f797c0fc2cb MVM_gc_collect (libmoar.so)
#3 0x00007f797c0f7082 run_gc (libmoar.so)
#4 0x00007f797c0f791f MVM_gc_enter_from_interrupt (libmoar.so)
#5 0x00007f797c16f37c worker (libmoar.so)
#6 0x00007f797c0d9cd1 thread_initial_invoke (libmoar.so)
#7 0x00007f797c0b326c MVM_interp_run (libmoar.so)
#8 0x00007f797c0d9d56 start_thread (libmoar.so)
#9 0x00007f797b5bb569 start_thread (libpthread.so.0)
#10 0x00007f797bc029ef __clone (libc.so.6)
Stack trace of thread 7477:
#0 0x00007f797c0fba0f process_worklist (libmoar.so)
#1 0x00007f797c0fbfca MVM_gc_collect (libmoar.so)
#2 0x00007f797c0f7082 run_gc (libmoar.so)
#3 0x00007f797c0f7f73 MVM_gc_enter_from_allocator (libmoar.so)
#4 0x00007f797c0f8476 MVM_gc_allocate_nursery (libmoar.so)
#5 0x00007f797c0f870e MVM_gc_allocate_frame (libmoar.so)
#6 0x00007f797c0d04fc MVM_frame_move_to_heap (libmoar.so)
#7 0x00007f797c0d0a48 MVM_frame_force_to_heap (libmoar.so)
#8 0x00007f797c0d0c52 MVM_frame_invoke (libmoar.so)
#9 0x00007f797c1214a3 invoke_handler (libmoar.so)
#10 0x00007f7973c5f85d n/a (n/a)
GNU gdb (GDB; openSUSE Leap 15.1) 8.3.1
Copyright (C) 2019 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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
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 /usr/bin/perl6...
Reading symbols from /usr/lib/debug/usr/bin/perl6-2020.01-lp151.115.1.x86_64.debug...
[New LWP 7484]
[New LWP 7477]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/perl6 -I/srv/www/cgi-bin/mein-Atikon/lib /srv/www/cgi-bin/mein-Atikon/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f797c142bbf in gc_mark (tc=0x561d64379d10, st=<optimized out>, data=0x7f797471e088, worklist=0x7f7975b8db00) at src/6model/reprs/MVMSpeshLog.c:56
56 MVM_gc_worklist_add(tc, worklist, &(log->entries[i].invoke.sf));
[Current thread is 1 (Thread 0x7f797ada6700 (LWP 7484))]
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.26-lp151.18.7.x86_64
(gdb) bt
#0 0x00007f797c142bbf in gc_mark (tc=0x561d64379d10, st=<optimized out>, data=0x7f797471e088, worklist=0x7f7975b8db00) at src/6model/reprs/MVMSpeshLog.c:56
#1 0x00007f797c0fa7d7 in MVM_gc_root_add_gen2s_to_worklist (tc=tc@entry=0x561d64379d10, worklist=worklist@entry=0x7f7975b8db00) at src/gc/roots.c:342
#2 0x00007f797c0fc2cb in MVM_gc_collect (tc=tc@entry=0x561d64379d10, what_to_do=what_to_do@entry=1 '\001', gen=<optimized out>) at src/gc/collect.c:155
#3 0x00007f797c0f7082 in run_gc (tc=tc@entry=0x561d64379d10, what_to_do=what_to_do@entry=1 '\001') at src/gc/orchestrate.c:444
#4 0x00007f797c0f791f in MVM_gc_enter_from_interrupt (tc=tc@entry=0x561d64379d10) at src/gc/orchestrate.c:687
#5 0x00007f797c16f37c in worker (tc=0x561d64379d10, callsite=<optimized out>, args=<optimized out>) at src/spesh/worker.c:20
#6 0x00007f797c0d9cd1 in thread_initial_invoke (tc=0x561d64379d10, data=<optimized out>) at src/core/threads.c:59
#7 0x00007f797c0b326c in MVM_interp_run (tc=0x532, tc@entry=0x561d64379d10, initial_invoke=0x176ae800f8, invoke_data=0x7f79762150b0, invoke_data@entry=0x561d6437b0a0) at src/core/interp.c:162
#8 0x00007f797c0d9d56 in start_thread (data=0x561d6437b0a0) at src/core/threads.c:87
#9 0x00007f797b5bb569 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f797bc029ef in clone () from /lib64/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment