[#114181] [Ruby master Bug#19767] [Not really a bug, but more a not ideal notification] "historical binary regexp match" when using the "n" modifier in a ruby regex — "rubyFeedback (robert heiler) via ruby-core" <ruby-core@...>
SXNzdWUgIzE5NzY3IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IHJ1YnlGZWVkYmFjayAocm9iZXJ0IGhl
3 messages
2023/07/14
[ruby-core:114291] [Ruby master Bug#19738] `ObjectSpace.each_object.to_a` crashes in `make runirb`.
From:
"marcelojr63 (Marcelo Marcinio Pereira Junior) via ruby-core" <ruby-core@...>
Date:
2023-07-25 23:07:30 UTC
List:
ruby-core #114291
Issue #19738 has been updated by marcelojr63 (Marcelo Marcinio Pereira Junior).
I found a bug in `PP` when call `PP.pp(Thread.current[:__recursive_key__], ''.dup)` and this resolved the problem with `ObjectSpace.each_object.to_a` to me.
[Link of PR](https://github.com/ruby/pp/pull/15)
----------------------------------------
Bug #19738: `ObjectSpace.each_object.to_a` crashes in `make runirb`.
https://bugs.ruby-lang.org/issues/19738#change-103989
* Author: ioquatix (Samuel Williams)
* Status: Open
* Priority: Normal
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN
----------------------------------------
```
> make runirb
RUBY_ON_BUG='gdb -x ./.gdbinit -p' ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems -r irb -e 'IRB.start("make runirb")'
irb(main):001:0> ObjectSpace.each_object.to_a
Assertion Failed: ./vm_method.c:1366:callable_method_entry_or_negative:RB_TYPE_P(klass, T_CLASS) || RB_TYPE_P(klass, T_ICLASS)
ruby 3.3.0dev (2023-06-19T19:19:45Z master 9ff4399dec) [arm64-darwin22]
```
I have no idea why.
---Files--------------------------------
error.txt (12.9 KB)
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/