Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created July 16, 2018 13:50
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 dogbert17/0fdd3e6627c6783dc349b5918e6d9230 to your computer and use it in GitHub Desktop.
Save dogbert17/0fdd3e6627c6783dc349b5918e6d9230 to your computer and use it in GitHub Desktop.
uthash
ok 108 - Priming :(@a?, @b?) with \($[1]) gave :(@b?)
ok 109 - Priming :(@a = 2) with \($[1]) gave :()
ok 110 - Priming :(@a = 4, @b = 2) with \($[1]) gave :(@b?)
Program received signal SIGSEGV, Segmentation fault.
HASH_EXPAND_BUCKETS (tbl=0x804f160, tc=0x804c628) at src/strings/uthash.h:577
577 _he_bkt = WHICH_BUCKET( _he_thh->hashv, new_num_bkts, new_log2_num_buckets);
(gdb) bt
#0 HASH_EXPAND_BUCKETS (tbl=0x804f160, tc=0x804c628) at src/strings/uthash.h:577
#1 HASH_ADD_TO_BKT (table=<optimized out>, addhh=<optimized out>, bucket=<optimized out>, tc=0x804c628) at src/strings/uthash.h:620
#2 MVM_sc_create (tc=0x804c628, handle=<optimized out>) at src/6model/sc.c:11
#3 0xb7b1d66b in MVM_interp_run (tc=tc@entry=0x804c628, initial_invoke=initial_invoke@entry=0xb7c4e720 <toplevel_initial_invoke>, invoke_data=0x0) at src/core/interp.c:2988
#4 0xb7c4f78c in MVM_vm_run_file (instance=0x804c008, filename=0xbffff2d8 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:412
#5 0x08048efc in main (argc=10, argv=0xbfffefe4) at src/main.c:299
(gdb) q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment