ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:102966] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem)
@ 2021-03-20 22:26 dorian
  2021-03-20 22:29 ` [ruby-core:102967] " dorian
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dorian @ 2021-03-20 22:26 UTC (permalink / raw
  To: ruby-core

Issue #17740 has been reported by dorianmariefr (Dorian Marié).

----------------------------------------
Bug #17740: Segmentation Fault on const_get when running `srb init` (sorbet gem)
https://bugs.ruby-lang.org/issues/17740

* Author: dorianmariefr (Dorian Marié)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:102967] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem)
  2021-03-20 22:26 [ruby-core:102966] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem) dorian
@ 2021-03-20 22:29 ` dorian
  2021-03-20 22:33 ` [ruby-core:102968] " dorian
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dorian @ 2021-03-20 22:29 UTC (permalink / raw
  To: ruby-core

Issue #17740 has been updated by dorianmariefr (Dorian Marié).


Added a puts debugging, and I get:

```
puts "CONSTANT #{constant.inspect} CONST_GET NAME #{name.inspect}"

(other constants)
...
CONSTANT InheritedResources CONST_GET NAME "BaseHelper"
```

----------------------------------------
Bug #17740: Segmentation Fault on const_get when running `srb init` (sorbet gem)
https://bugs.ruby-lang.org/issues/17740#change-91029

* Author: dorianmariefr (Dorian Marié)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:102968] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem)
  2021-03-20 22:26 [ruby-core:102966] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem) dorian
  2021-03-20 22:29 ` [ruby-core:102967] " dorian
@ 2021-03-20 22:33 ` dorian
  2021-03-20 22:37 ` [ruby-core:102969] " dorian
  2021-03-20 22:56 ` [ruby-core:102970] " hsbt
  3 siblings, 0 replies; 5+ messages in thread
From: dorian @ 2021-03-20 22:33 UTC (permalink / raw
  To: ruby-core

Issue #17740 has been updated by dorianmariefr (Dorian Marié).


It's from an ActiveAdmin gem.

Also removed Bootsnap and it didn't fix it.

----------------------------------------
Bug #17740: Segmentation Fault on const_get when running `srb init` (sorbet gem)
https://bugs.ruby-lang.org/issues/17740#change-91030

* Author: dorianmariefr (Dorian Marié)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:102969] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem)
  2021-03-20 22:26 [ruby-core:102966] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem) dorian
  2021-03-20 22:29 ` [ruby-core:102967] " dorian
  2021-03-20 22:33 ` [ruby-core:102968] " dorian
@ 2021-03-20 22:37 ` dorian
  2021-03-20 22:56 ` [ruby-core:102970] " hsbt
  3 siblings, 0 replies; 5+ messages in thread
From: dorian @ 2021-03-20 22:37 UTC (permalink / raw
  To: ruby-core

Issue #17740 has been updated by dorianmariefr (Dorian Marié).


Apparently it's fixed in https://github.com/ruby/ruby/pull/4175

----------------------------------------
Bug #17740: Segmentation Fault on const_get when running `srb init` (sorbet gem)
https://bugs.ruby-lang.org/issues/17740#change-91031

* Author: dorianmariefr (Dorian Marié)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:102970] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem)
  2021-03-20 22:26 [ruby-core:102966] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem) dorian
                   ` (2 preceding siblings ...)
  2021-03-20 22:37 ` [ruby-core:102969] " dorian
@ 2021-03-20 22:56 ` hsbt
  3 siblings, 0 replies; 5+ messages in thread
From: hsbt @ 2021-03-20 22:56 UTC (permalink / raw
  To: ruby-core

Issue #17740 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Closed

Duplicate with https://bugs.ruby-lang.org/issues/17622

----------------------------------------
Bug #17740: Segmentation Fault on const_get when running `srb init` (sorbet gem)
https://bugs.ruby-lang.org/issues/17740#change-91032

* Author: dorianmariefr (Dorian Marié)
* Status: Closed
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-20 22:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-20 22:26 [ruby-core:102966] [Ruby master Bug#17740] Segmentation Fault on const_get when running `srb init` (sorbet gem) dorian
2021-03-20 22:29 ` [ruby-core:102967] " dorian
2021-03-20 22:33 ` [ruby-core:102968] " dorian
2021-03-20 22:37 ` [ruby-core:102969] " dorian
2021-03-20 22:56 ` [ruby-core:102970] " hsbt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).