Skip to content

Instantly share code, notes, and snippets.

@surki
Created August 27, 2020 12:51
Show Gist options
  • Save surki/252711d0f8797777a0b6ae5b3bade733 to your computer and use it in GitHub Desktop.
Save surki/252711d0f8797777a0b6ae5b3bade733 to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 17327.17570]
0x000055a2009a52b2 in rb_get_alloc_func (klass=94154489136320) at vm_method.c:554
554             rb_alloc_func_t allocator = RCLASS_EXT(klass)->allocator;
 
 
(rr) bt
#0  0x000055a2009a52b2 in rb_get_alloc_func (klass=94154489136320) at vm_method.c:554
#1  0x000055a2008cb58f in rb_obj_alloc (klass=94154328666000) at object.c:1815
#2  0x000055a2008cb686 in rb_class_new_instance (argc=1, argv=0x7fe8247ae140, klass=94154328666000) at object.c:1861
#3  0x000055a200998b41 in call_cfunc_m1 (func=0x55a2008cb667 <rb_class_new_instance>, recv=94154328666000, argc=1, argv=0x7fe8247ae140) at vm_insnhelper.c:1208
#4  0x000055a200999845 in vm_call_cfunc_with_frame (th=0x55a21d62c900, reg_cfp=0x7fe8248ab6c0, ci=0x55a21266f438) at vm_insnhelper.c:1380
#5  0x000055a200999b5c in vm_call_cfunc (th=0x55a21d62c900, reg_cfp=0x7fe8248ab6c0, ci=0x55a21266f438) at vm_insnhelper.c:1473
#6  0x000055a20099edb7 in vm_exec_core (th=0x55a21d62c900, initial=0) at insns.def:1040
#7  0x000055a2009b062d in vm_exec (th=0x55a21d62c900) at vm.c:1440
#8  0x000055a2009ae68f in invoke_block_from_c (th=0x55a21d62c900, block=0x55a217e377c0, self=94154332221600, argc=0, argv=0x55a20385c510, blockptr=0x0, cref=0x0, defined_class=94154340325760, splattable=0) at vm.c:818
#9  0x000055a2009aec09 in vm_invoke_proc (th=0x55a21d62c900, proc=0x55a217e377c0, self=94154332221600, defined_class=94154340325760, argc=0, argv=0x55a20385c510, blockptr=0x0) at vm.c:883
#10 0x000055a2009aecca in rb_vm_invoke_proc (th=0x55a21d62c900, proc=0x55a217e377c0, argc=0, argv=0x55a20385c510, blockptr=0x0) at vm.c:902
#11 0x000055a2009bd8ad in thread_start_func_2 (th=0x55a21d62c900, stack_start=0x7fe8247ad000) at thread.c:577
#12 0x000055a2009bbf89 in thread_start_func_1 (th_ptr=0x55a21d62c900) at thread_pthread.c:869
#13 0x00007fe844856de5 in start_thread (arg=0x7fe8247ac700) at pthread_create.c:308
#14 0x00007fe843e43bad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment