Project

General

Profile

Actions

Bug #17740

closed

Segmentation Fault on const_get when running `srb init` (sorbet gem)

Bug #17740: Segmentation Fault on const_get when running `srb init` (sorbet gem)

Added by dorianmariefr (Dorian Marié) about 5 years ago. Updated about 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
[ruby-core:102966]

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 5 years ago Actions #1 [ruby-core:102967]

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 5 years ago Actions #2 [ruby-core:102968]

It's from an ActiveAdmin gem.

Also removed Bootsnap and it didn't fix it.

Updated by hsbt (Hiroshi SHIBATA) about 5 years ago Actions #4 [ruby-core:102970]

  • Status changed from Open to Closed
Actions

Also available in: PDF Atom