Actions
Bug #19262
closedSegmentation fault on RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin21]
Description
It seems that RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location
gives a Segmentation fault if any argument other than Thread::Backtrace::Location
is given.
repro:
$ ruby -e 'RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(1)'
Actions
Like0
Like0Like0Like0