Skip to content

scout_apm: events_to_events_array: unknown event 0x100000 (ArgumentError) #1983

@deepj

Description

@deepj
truffleruby 20.1.0-dev-6887e1fd, like ruby 2.6.5, GraalVM CE Native [x86_64-darwin]

To reproduce:

gem install scout_apm
ruby -rscout_apm

Error:

~/.rubies/truffleruby-dev/lib/truffle/truffle/cext.rb:939:in `events_to_events_array': unknown event 0x100000 (ArgumentError)
	from ~/.rubies/truffleruby-dev/lib/truffle/truffle/cext.rb:924:in `rb_tracepoint_new'
	from ruby.c:2893:in `rb_tracepoint_new'
	from ~/.gem/truffleruby/2.6.5/gems/scout_apm-2.6.7/ext/allocations/allocations.c:41:in `set_gc_hook'
	from ~/.gem/truffleruby/2.6.5/gems/scout_apm-2.6.7/ext/allocations/allocations.c:50:in `Init_hooks'
	from ~/.gem/truffleruby/2.6.5/gems/scout_apm-2.6.7/ext/allocations/allocations.c:61:in `Init_allocations'
	from ~/.rubies/truffleruby-dev/lib/mri/rubygems/core_ext/kernel_require.rb:65:in `gem_original_require'
	from ~/.rubies/truffleruby-dev/lib/mri/rubygems/core_ext/kernel_require.rb:65:in `require'
	from ~/.gem/truffleruby/2.6.5/gems/scout_apm-2.6.7/lib/scout_apm.rb:96:in `<top (required)>'
	from ~/.rubies/truffleruby-dev/lib/mri/rubygems/core_ext/kernel_require.rb:130:in `gem_original_require'
	from ~/.rubies/truffleruby-dev/lib/mri/rubygems/core_ext/kernel_require.rb:130:in `require'
	from ~/.rubies/truffleruby-dev/bin/irb:1:in `call'
	from ~/.rubies/truffleruby-dev/bin/irb:1:in `require'
	from ~/.rubies/truffleruby-dev/bin/irb:1:in `<main>'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions