Actions
Bug #17740
closedSegmentation Fault on const_get when running `srb init` (sorbet gem)
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
Description
Here is the full logs of the segfault: https://gist.github.com/dorianmariefr/c414a7c2d48671be12fbf0fe6769882b
The issue I raised on the sorbet gem: https://github.com/sorbet/sorbet/issues/4104
Updated by dorianmariefr (Dorian Marié) about 3 years ago
Added a puts debugging, and I get:
puts "CONSTANT #{constant.inspect} CONST_GET NAME #{name.inspect}"
(other constants)
...
CONSTANT InheritedResources CONST_GET NAME "BaseHelper"
Updated by dorianmariefr (Dorian Marié) about 3 years ago
It's from an ActiveAdmin gem.
Also removed Bootsnap and it didn't fix it.
Updated by dorianmariefr (Dorian Marié) about 3 years ago
Apparently it's fixed in https://github.com/ruby/ruby/pull/4175
Updated by hsbt (Hiroshi SHIBATA) about 3 years ago
- Status changed from Open to Closed
Duplicate with https://bugs.ruby-lang.org/issues/17622
Actions
Like0
Like0Like0Like0Like0