Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save KJTsanaktsidis/7a72d9ededbec2a01b8d550cc0c54d51 to your computer and use it in GitHub Desktop.
Save KJTsanaktsidis/7a72d9ededbec2a01b8d550cc0c54d51 to your computer and use it in GitHub Desktop.
recursive event hook backtrace
#0 rb_exec_event_hooks (trace_arg=0x7fad3ded3910, hooks=0x11260d0, pop_p=0) at vm_trace.c:370
#1 0x00007fad42b2d4e3 in rb_exec_event_hook_orig (ec=0x1f96900, hooks=0x11260d0, flag=2097152, self=18549560, id=0, called_id=0, klass=0, data=140381822381360, pop_p=0)
at /home/kj/.rbenv/sources/3.0.4/ruby-3.0.4/vm_core.h:1985
#2 0x00007fad42b30203 in gc_event_hook_body (ec=0x1f96900, objspace=0x11257f0, event=2097152, data=140381822381360) at gc.c:2067
#3 0x00007fad42b317f8 in obj_free (objspace=0x11257f0, obj=140381822381360) at gc.c:2778
#4 0x00007fad42b35a65 in gc_page_sweep (objspace=0x11257f0, heap=0x1125818, sweep_page=0x7fad30a72b40) at gc.c:4891
#5 0x00007fad42b360c8 in gc_sweep_step (objspace=0x11257f0, heap=0x1125818) at gc.c:5098
#6 0x00007fad42b3624e in gc_sweep_rest (objspace=0x11257f0) at gc.c:5151
#7 0x00007fad42b3cd3a in gc_rest (objspace=0x11257f0) at gc.c:8336
#8 0x00007fad42b42a5e in objspace_malloc_increase (objspace=0x11257f0, mem=0x7fad35dac7d0, new_size=904, old_size=0, type=MEMOP_TYPE_MALLOC) at gc.c:10453
#9 0x00007fad42b42ae3 in objspace_malloc_fixup (objspace=0x11257f0, mem=0x7fad35dac7d0, size=904) at gc.c:10535
#10 0x00007fad42b42b7b in objspace_xmalloc0 (objspace=0x11257f0, size=904) at gc.c:10606
#11 0x00007fad42b42d81 in ruby_xmalloc0 (size=904) at gc.c:10825
#12 0x00007fad42b42db3 in ruby_xmalloc_body (size=904) at gc.c:10834
#13 0x00007fad42b47cbd in ruby_xmalloc (size=904) at gc.c:12801
#14 0x00007fad3ea01671 in backtracie_bt_capture_for_thread (thread=8) at public.c:49
#15 0x00007fad3ea01615 in backtracie_bt_capture () at public.c:38
#16 0x00007fad3e9df48a in collector_tphook_newobj_protected (ctxarg=140381909600176) at ../../../../ext/ruby_memprofiler_pprof/collector.c:395
#17 0x00007fad42b1eae6 in rb_protect (proc=0x7fad3e9df46c <collector_tphook_newobj_protected>, data=140381909600176, pstate=0x7fad3ded3e40) at eval.c:1120
#18 0x00007fad3e9df3b0 in collector_tphook_newobj (tpval=140381744295240, data=0x1f94da0) at ../../../../ext/ruby_memprofiler_pprof/collector.c:372
#19 0x00007fad42d414ba in tp_call_trace (tpval=140381744295240, trace_arg=0x7fad3ded3fd0) at vm_trace.c:1115
#20 0x00007fad42d3f8e1 in exec_hooks_body (ec=0x1f96900, list=0x11260d0, trace_arg=0x7fad3ded3fd0) at vm_trace.c:304
#21 0x00007fad42d3f9bf in exec_hooks_unprotected (ec=0x1f96900, list=0x11260d0, trace_arg=0x7fad3ded3fd0) at vm_trace.c:333
#22 0x00007fad42d3fc0c in rb_exec_event_hooks (trace_arg=0x7fad3ded3fd0, hooks=0x11260d0, pop_p=0) at vm_trace.c:378
#23 0x00007fad42b2d4e3 in rb_exec_event_hook_orig (ec=0x1f96900, hooks=0x11260d0, flag=1048576, self=18549560, id=0, called_id=0, klass=0, data=140381820423840, pop_p=0)
at /home/kj/.rbenv/sources/3.0.4/ruby-3.0.4/vm_core.h:1985
#24 0x00007fad42b30203 in gc_event_hook_body (ec=0x1f96900, objspace=0x11257f0, event=1048576, data=140381820423840) at gc.c:2067
#25 0x00007fad42b30642 in newobj_slowpath (wb_protected=1, cr=0x11260c0, objspace=0x11257f0, flags=5, klass=18720840) at gc.c:2266
#26 newobj_slowpath_wb_protected (klass=18720840, flags=5, objspace=0x11257f0, cr=0x11260c0) at gc.c:2281
#27 0x00007fad42b3093b in newobj_of0 (klass=18720840, flags=5, wb_protected=1, cr=0x11260c0) at gc.c:2320
#28 0x00007fad42b3099a in newobj_of (klass=18720840, flags=5, v1=0, v2=0, v3=0, wb_protected=1) at gc.c:2330
#29 0x00007fad42b30a7b in rb_wb_protected_newobj_of (klass=18720840, flags=5) at gc.c:2352
#30 0x00007fad42ca2c8c in str_alloc (klass=18720840) at string.c:784
#31 0x00007fad42ca2dac in str_new0 (klass=18720840,
ptr=0x7fad35e00897 " end\n\n # Attempt to serve static files from public directory. Throws :halt when\n # a matching file is found, returns nil otherwise.\n def static!(options = {})\n return if (public_dir ="..., len=8, termlen=1) at string.c:806
#32 0x00007fad42ca2f77 in str_new (klass=18720840,
ptr=0x7fad35e00897 " end\n\n # Attempt to serve static files from public directory. Throws :halt when\n # a matching file is found, returns nil otherwise.\n def static!(options = {})\n return if (public_dir ="..., len=8) at string.c:826
#33 0x00007fad42ca2fa6 in rb_str_new (
ptr=0x7fad35e00897 " end\n\n # Attempt to serve static files from public directory. Throws :halt when\n # a matching file is found, returns nil otherwise.\n def static!(options = {})\n return if (public_dir ="..., len=8) at string.c:832
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment