Skip to content

Instantly share code, notes, and snippets.

@robertlemmen
Created September 12, 2018 19:02
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/5691c653b2016535e1133185f463c986 to your computer and use it in GitHub Desktop.
Save robertlemmen/5691c653b2016535e1133185f463c986 to your computer and use it in GitHub Desktop.
This is Rakudo version 2018.08-95-g213e3282b built on MoarVM version
2018.08-63-ga8dfd4793
code in question:
https://github.com/robertlemmen/p6bench/blob/cb5ad52/03-backend
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f09d021750b in MVM_interp_run (tc=tc@entry=0x7f09b408fb20,
initial_invoke=0x7f0990e0ac70,
invoke_data=0x0, invoke_data@entry=0x7f09b408d470) at src/core/interp.c:3913
3913 if (ctx->callsite->num_pos != ctx->callsite->arg_count)
[Current thread is 1 (Thread 0x7f09adffb700 (LWP 26522))]
(gdb) bt
#0 0x00007f09d021750b in MVM_interp_run (tc=tc@entry=0x7f09b408fb20,
initial_invoke=0x7f0990e0ac70,
invoke_data=0x0, invoke_data@entry=0x7f09b408d470) at src/core/interp.c:3913
#1 0x00007f09d0234d46 in start_thread (data=0x7f09b408d470) at
src/core/threads.c:87
#2 0x00007f09cf785494 in start_thread (arg=0x7f09adffb700) at
pthread_create.c:333
#3 0x00007f09cfd87acf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97
robertle@megamecha:~/work/p6bench$ perl6 --ll-exception 03-backend
starting http server on 127.0.0.1:6060
starting http server on 127.0.0.1:6061
starting http server on 127.0.0.1:6062
running benchmark...
Unhandled exception in code scheduled on thread 4
Not enough positional arguments; needed at least 2
in sub cas at SETTING::src/core/atomicops.pm6 line 22
in block at SETTING::src/core/Lock/Async.pm6 line 76
in method lock at SETTING::src/core/Lock/Async.pm6 line 64
in method protect at SETTING::src/core/Lock/Async.pm6 line 123
in block at SETTING::src/core/IO/Socket/Async.pm6 line 96
in block at SETTING::src/core/ThreadPoolScheduler.pm6 line 243
in block at SETTING::src/core/ThreadPoolScheduler.pm6 line 242
in block at SETTING::src/core/ThreadPoolScheduler.pm6 line 241
in method run-one at SETTING::src/core/ThreadPoolScheduler.pm6 line 236
in block at SETTING::src/core/ThreadPoolScheduler.pm6 line 304
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment