[#99868] [Ruby master Bug#17144] Tempfile.open { ... } does not unlink the file — eregontp@...
Issue #17144 has been reported by Eregon (Benoit Daloze).
15 messages
2020/09/03
[ruby-core:99937] [Ruby master Bug#16771] Segmentation fault when inspecting a bound method
From:
nagachika00@...
Date:
2020-09-05 10:28:21 UTC
List:
ruby-core #99937
Issue #16771 has been updated by nagachika (Tomoyuki Chikanaga).
Thank you jeremy for your investigation.
I reverted the commit at 2c9dd060ab487a96e391793bd782cef6fd471b83 according to your recommendation. thanks!
----------------------------------------
Bug #16771: Segmentation fault when inspecting a bound method
https://bugs.ruby-lang.org/issues/16771#change-87477
* Author: decuplet (Nikita Shilnikov)
* Status: Closed
* Priority: Normal
* ruby -v: 2.7.1
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: DONE
----------------------------------------
This piece of code leads to a crash in ruby 2.7.1.
```ruby
bound_method = Kernel.instance_method(:respond_to?).bind(Object.new)
100000.times { bound_method.inspect }
```
I cannot reproduce the error in 2.7.0 so this must be new.
I attached the output, didn't bother with the crash report log, though. It should be easily reproducible since I found it on CI which runs a different OS.
---Files--------------------------------
output.txt (41.3 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>