Skip to content

Ruby 3 (dev) tracking of issues #4

@raygun-ruby

Description

@raygun-ruby

CPU peg observed

MiB Swap:    980,0 total,      0,0 free,    980,0 used.   3368,6 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                                                    
1040965 raygun-ruby   20   0 2392048 380736      0 S 100,0   2,4   9:51.66 /usr/local/bin/ruby -w -Ilib:test:lib /usr/local/lib/ruby/gems/3.1.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb test/raygun/apm_gc_stress_test.rb test/raygun/apm_test.rb test/raygun/apm_thread_inher+ 
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56008b982f44) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56008b983a78, cond=0x56008b982f18) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x56008b982f18, mutex=mutex@entry=0x56008b983a78) at pthread_cond_wait.c:638
#3  0x000056008aecc8eb in rb_native_cond_wait (mutex=0x56008b983a78, cond=0x56008b982f18) at thread_pthread.c:545
#4  gvl_acquire_common (gvl=gvl@entry=0x56008b983a70, th=th@entry=0x56008b982ea0) at thread_pthread.c:292
#5  0x000056008aeccdf4 in gvl_yield (th=0x56008b982ea0, gvl=0x56008b983a70) at thread_pthread.c:374
#6  rb_thread_schedule_limits (limits_us=limits_us@entry=0) at thread.c:1593
#7  0x000056008aed285f in rb_thread_schedule () at thread.c:1603
#8  0x00007f14a2660f85 in rb_rg_batched_sink (context=<optimized out>, userdata=0x560093c6f158, event=<optimized out>, buflen=<optimized out>) at ../../../../ext/raygun/raygun_tracer.c:580
#9  0x00007f14a265d975 in rg_begin (context=0x56009b150da0, userdata=userdata@entry=0x560093c6f158, tid=<optimized out>, func=<optimized out>, instance=instance@entry=139726589853520) at ../../../../ext/raygun/raygun_encoder.c:661
#10 0x00007f14a2661f3a in rb_rg_begin (tracer=tracer@entry=0x560093c6f080, trace_context=trace_context@entry=0x56008d06c280, tid=<optimized out>, instance=instance@entry=139726589853520, function_id=<optimized out>) at ../../../../ext/raygun/raygun_tracer.c:1204
#11 0x00007f14a26658b2 in rb_rg_tracing_hook_i (tpval=<optimized out>, data=0x56008d06c280) at ../../../../ext/raygun/raygun_tracer.c:1566
#12 0x000056008af355cd in tp_call_trace (tpval=<optimized out>, trace_arg=<optimized out>) at vm_trace.c:1119
#13 0x000056008af35726 in exec_hooks_body (ec=ec@entry=0x56008b983710, trace_arg=trace_arg@entry=0x7ffd2a122ff0, list=<optimized out>) at vm_trace.c:304
#14 0x000056008af35dd9 in exec_hooks_protected (ec=ec@entry=0x56008b983710, list=0x56008b983930, trace_arg=trace_arg@entry=0x7ffd2a122ff0) at vm_trace.c:351
#15 0x000056008af38974 in rb_exec_event_hooks (trace_arg=trace_arg@entry=0x7ffd2a122ff0, hooks=hooks@entry=0x56008b983930, pop_p=pop_p@entry=0) at vm_trace.c:395
#16 0x000056008af07ae5 in rb_exec_event_hook_orig (pop_p=0, data=52, klass=0, called_id=0, id=0, self=139726589853520, flag=8, hooks=0x56008b983930, ec=0x56008b983710) at vm_core.h:2002
#17 vm_trace_hook (reg_cfp=0x7f14a5e7b950, reg_cfp=0x7f14a5e7b950, pc=<optimized out>, val=52, local_hooks=0x0, global_hooks=0x56008b983930, target_event=266, pc_events=9, ec=0x56008b983710) at vm_insnhelper.c:5271
#18 vm_trace (ec=0x56008b983710, reg_cfp=0x7f14a5e7b950) at vm_insnhelper.c:5358
#19 0x000056008af22c1e in vm_exec_core (ec=0x56008b983710, initial=128) at vm.inc:4576
#20 0x000056008af161ae in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at vm.c:2160
#21 0x000056008af19f1e in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=139726593514000, iseq=0x7f14a1fb7bd0, ec=0x56008b983710) at vm.c:1260
#22 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7ffd2a1232d8, argc=1, self=139726593514000, captured=<optimized out>, ec=0x56008b983710) at vm.c:1332
#23 invoke_block_from_c_bh (argc=<optimized out>, kw_splat=<optimized out>, passed_block_handler=<optimized out>, cref=<optimized out>, is_lambda=<optimized out>, force_blockarg=<optimized out>, argv=<optimized out>, block_handler=<optimized out>, ec=<optimized out>)
    at vm.c:1350
#24 vm_yield (argc=1, kw_splat=0, argv=0x7ffd2a1232d8, ec=0x56008b983710) at vm.c:1395
#25 rb_yield_0 (argv=0x7ffd2a1232d8, argc=1) at vm_eval.c:1344
#26 rb_yield (val=<optimized out>) at vm_eval.c:1360

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions