Skip to content

Instantly share code, notes, and snippets.

@kunalb
Created November 16, 2020 18:47
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 kunalb/80f212039d95d87501a73477ea07dd5d to your computer and use it in GitHub Desktop.
Save kunalb/80f212039d95d87501a73477ea07dd5d to your computer and use it in GitHub Desktop.
gtoolkit segfault
Thread 1 "glamoroustoolki" received signal SIGILL, Illegal instruction.
0x00007fffe5af7617 in ffi_closure_alloc () from /home/knl/build/gtoolkit/./lib/libffi.so.7
(gdb) bt
#0 0x00007fffe5af7617 in ffi_closure_alloc () from /home/knl/build/gtoolkit/./lib/libffi.so.7
#1 0x00007fffe5d0543a in callback_new (runner=0x7fffe5f08280 <sameThreadRunner>, parameters=0x555555839890, count=1, returnType=0x7fffe5afd1a0 <ffi_type_uint32>)
at /home/runner/work/threadedFFI-Plugin/threadedFFI-Plugin/plugin/src/callbacks/callbacks.c:43
#2 0x00007fffe5d05000 in primitiveRegisterCallback () at /home/runner/work/threadedFFI-Plugin/threadedFFI-Plugin/plugin/src/callbacks/callbackPrimitives.c:136
#3 0x00007ffff7cdea2a in primitiveExternalCall () at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/build/generated/vm/src/gcc3x-cointerp.c:76740
#4 0x00007ffff7ced325 in interpret () at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/build/generated/vm/src/gcc3x-cointerp.c:6023
#5 0x00007ffff7cf1964 in enterSmalltalkExecutiveImplementation () at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/build/generated/vm/src/gcc3x-cointerp.c:17127
#6 0x00007ffff7ce3ee5 in interpret () at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/build/generated/vm/src/gcc3x-cointerp.c:2763
#7 0x00007ffff7c71765 in vm_run_interpreter () at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/src/client.c:54
#8 0x00007ffff7c719b0 in vm_main_with_parameters (parameters=0x7fffffffe5d0) at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/src/client.c:112
#9 0x00007ffff7c71b88 in vm_main (argc=<optimized out>, argv=<optimized out>, env=<optimized out>) at /home/runner/work/opensmalltalk-vm/opensmalltalk-vm/src/client.c:156
#10 0x00007ffff7ab0152 in __libc_start_main () from /lib/libc.so.6
#11 0x000055555555479a in _start ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment