Skip to content

Instantly share code, notes, and snippets.

@schmurfy
Created July 12, 2016 14:53
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 schmurfy/242821ca142ea3ba168d213d3f337fb7 to your computer and use it in GitHub Desktop.
Save schmurfy/242821ca142ea3ba168d213d3f337fb7 to your computer and use it in GitHub Desktop.
error
* thread #1: tid = 0x55bf9, 0x0000000100015e48 mruby`mrb_realloc_simple(mrb=0x746e65746e6f0006, p=0x0000000000000000, len=96) + 24 at gc.c:201, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x0000000100015e48 mruby`mrb_realloc_simple(mrb=0x746e65746e6f0006, p=0x0000000000000000, len=96) + 24 at gc.c:201
198 {
199 void *p2;
200
-> 201 p2 = (mrb->allocf)(mrb, p, len, mrb->allocf_ud);
202 if (!p2 && len > 0 && mrb->gc.heaps) {
203 mrb_full_gc(mrb);
204 p2 = (mrb->allocf)(mrb, p, len, mrb->allocf_ud);
(lldb) bt
* thread #1: tid = 0x55bf9, 0x0000000100015e48 mruby`mrb_realloc_simple(mrb=0x746e65746e6f0006, p=0x0000000000000000, len=96) + 24 at gc.c:201, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
* frame #0: 0x0000000100015e48 mruby`mrb_realloc_simple(mrb=0x746e65746e6f0006, p=0x0000000000000000, len=96) + 24 at gc.c:201
frame #1: 0x0000000100016025 mruby`mrb_realloc(mrb=0x746e65746e6f0006, p=0x0000000000000000, len=96) + 37 at gc.c:215
frame #2: 0x0000000100016134 mruby`mrb_malloc(mrb=0x746e65746e6f0006, len=96) + 36 at gc.c:235
frame #3: 0x00000001000161ce mruby`mrb_calloc(mrb=0x746e65746e6f0006, nelem=1, len=96) + 94 at gc.c:253
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment