Skip to content

Instantly share code, notes, and snippets.

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 robertlemmen/7d71303ec38a0e0f3c7bb635de45dfa8 to your computer and use it in GitHub Desktop.
Save robertlemmen/7d71303ec38a0e0f3c7bb635de45dfa8 to your computer and use it in GitHub Desktop.
moar core dump
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f8d68c74349 in uv.write () from //home/robertle/perl6source/target/lib/libmoar.so
[Current thread is 1 (Thread 0x7f8d6938e700 (LWP 22608))]
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7f8d6938e700 (LWP 22608) 0x00007f8d68c74349 in uv.write ()
from //home/robertle/perl6source/target/lib/libmoar.so
2 Thread 0x7f8d65848700 (LWP 22609) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
3 Thread 0x7f8d373fd700 (LWP 22655) 0x00007f8d68ba7ce7 in MVM_frame_invoke (tc=0x7f8d3001cc70,
static_frame=<optimized out>, callsite=0x7f8d691818c0 <two_args_callsite>, args=0x5593cbb907f8,
outer=<optimized out>, code_ref=<optimized out>, spesh_cand=-1) at src/core/frame.c:439
4 Thread 0x7f8d4a7fa700 (LWP 22643) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
5 Thread 0x7f8d5ebe5700 (LWP 22631) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
6 Thread 0x7f8d5d3e0700 (LWP 22633) __lll_lock_wait ()
at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
7 Thread 0x7f8d37fff700 (LWP 22654) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
8 Thread 0x7f8d64c44700 (LWP 22610) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
9 Thread 0x7f8d34ff7700 (LWP 22658) __lll_lock_wait ()
at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
10 Thread 0x7f8d48ff6700 (LWP 22645) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
11 Thread 0x7f8d5f7fd700 (LWP 22622) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
12 Thread 0x7f8d4b3fc700 (LWP 22642) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
13 Thread 0x7f8d367fb700 (LWP 22656) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
14 Thread 0x7f8d5dfe3700 (LWP 22632) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
15 Thread 0x7f8d1bfff700 (LWP 22667) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
16 Thread 0x7f8d49bf8700 (LWP 22644) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
17 Thread 0x7f8d35bf9700 (LWP 22657) pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
18 Thread 0x7f8d1b3fd700 (LWP 22668) __lll_lock_wait ()
at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
(gdb) bt
#0 0x00007f8d68c74349 in uv.write () from //home/robertle/perl6source/target/lib/libmoar.so
#1 0x00007f8d68c74dad in uv.stream_io () from //home/robertle/perl6source/target/lib/libmoar.so
#2 0x00007f8d68c6d1e3 in uv_run () from //home/robertle/perl6source/target/lib/libmoar.so
#3 0x00007f8d68bc8863 in MVM_io_syncstream_write_bytes (tc=0x5593ca76e7e0, h=<optimized out>,
buf=<optimized out>, bytes=30) at src/io/syncstream.c:248
#4 0x00007f8d68bc65b0 in MVM_io_write_bytes (tc=0x5593ca76e7e0, oshandle=0x5593ca781360,
buffer=<optimized out>) at src/io/io.c:244
#5 0x00007f8d68b91c2e in MVM_interp_run (tc=0x0, tc@entry=0x5593ca76e7e0, initial_invoke=0x4e,
invoke_data=0x10) at src/core/interp.c:3872
#6 0x00007f8d68c57629 in MVM_vm_run_file (instance=0x5593ca76e010,
filename=0x7ffe9ab5a490 "/home/robertle/perl6source/target/share/perl6/runtime/perl6.moarvm")
at src/moar.c:323
#7 0x00005593c88991ef in main (argc=8, argv=0x7ffe9ab58448) at src/main.c:246
(gdb) thread 3
[Switching to thread 3 (Thread 0x7f8d373fd700 (LWP 22655))]
#0 0x00007f8d68ba7ce7 in MVM_frame_invoke (tc=0x7f8d3001cc70, static_frame=<optimized out>,
callsite=0x7f8d691818c0 <two_args_callsite>, args=0x5593cbb907f8, outer=<optimized out>,
code_ref=<optimized out>, spesh_cand=-1) at src/core/frame.c:439
439 if (!arg) {
(gdb) bt
#0 0x00007f8d68ba7ce7 in MVM_frame_invoke (tc=0x7f8d3001cc70, static_frame=<optimized out>,
callsite=0x7f8d691818c0 <two_args_callsite>, args=0x5593cbb907f8, outer=<optimized out>,
code_ref=<optimized out>, spesh_cand=-1) at src/core/frame.c:439
#1 0x00007f8d68be36e3 in invoke_handler (tc=<optimized out>, invokee=<optimized out>,
callsite=<optimized out>, args=<optimized out>) at src/6model/reprs/MVMCode.c:10
#2 0x00007f8d68bab754 in MVM_frame_try_return (tc=0x7f8d3001cc70) at src/core/frame.c:887
#3 0x00007f8d68b9ad2e in MVM_interp_run (tc=0x5593cbb907f8, tc@entry=0x7f8d3001cc70,
initial_invoke=0x5593cccf47b0, invoke_data=0x2, invoke_data@entry=0x7f8d3001c150)
at src/core/interp.c:460
#4 0x00007f8d68baee3e in start_thread (data=0x7f8d3001c150) at src/core/threads.c:86
#5 0x00007f8d68c76137 in uv.thread_start () from //home/robertle/perl6source/target/lib/libmoar.so
#6 0x00007f8d68160494 in start_thread (arg=0x7f8d373fd700) at pthread_create.c:333
#7 0x00007f8d68762aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment