[#86520] [Ruby trunk Bug#14681] `syswrite': stream closed in another thread (IOError) — samuel@...
Issue #14681 has been reported by ioquatix (Samuel Williams).
3 messages
2018/04/12
[#86755] [Ruby trunk Feature#14723] [WIP] sleepy GC — normalperson@...
Issue #14723 has been reported by normalperson (Eric Wong).
6 messages
2018/04/29
[ruby-core:86548] [Ruby trunk Bug#14689] bootsnap gets object index out of range: 266287972352 (IndexError) since r63113
From:
yasuo.honda@...
Date:
2018-04-16 06:52:35 UTC
List:
ruby-core #86548
Issue #14689 has been reported by yahonda (Yasuo Honda).
----------------------------------------
Bug #14689: bootsnap gets object index out of range: 266287972352 (IndexError) since r63113
https://bugs.ruby-lang.org/issues/14689
* Author: yahonda (Yasuo Honda)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.0dev (2018-04-16 trunk 63163) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
# Steps to reproduce
~~~ text
$ rbenv install 2.6.0-dev
$ rbenv global 2.6.0-dev
$ git clone https://github.com/Shopify/bootsnap
$ cd bootsnap
$ bundle
$ rake
$ bundle exec bin/testunit
~~~
# Expected result as of r63112
~~~
$ ruby -v
ruby 2.6.0dev (2018-04-07 trunk 63112) [x86_64-linux]
$ bundle exec bin/testunit
... snip ....
# Running:
.....................................................................................................................
Finished in 0.098554s, 1187.1708 runs/s, 2059.7920 assertions/s.
117 runs, 203 assertions, 0 failures, 0 errors, 0 skips
$
~~~
# Actual result since r63113
~~~
$ ruby -v
ruby 2.6.0dev (2018-04-07 trunk 63113) [x86_64-linux]
$ bundle exec bin/testunit
... snip ...
Traceback (most recent call last):
9: from /home/yahonda/.rbenv/versions/2.6.0-dev_yahonda/lib/ruby/gems/2.6.0/gems/minitest-5.11.3/lib/minitest.rb:63:in `block in autorun'
8: from /home/yahonda/.rbenv/versions/2.6.0-dev_yahonda/lib/ruby/gems/2.6.0/gems/minitest-5.11.3/lib/minitest.rb:121:in `run'
7: from /home/yahonda/.rbenv/versions/2.6.0-dev_yahonda/lib/ruby/gems/2.6.0/gems/minitest-5.11.3/lib/minitest.rb:92:in `load_plugins'
6: from /home/yahonda/.rbenv/versions/2.6.0-dev_yahonda/lib/ruby/gems/2.6.0/gems/minitest-5.11.3/lib/minitest.rb:92:in `each'
5: from /home/yahonda/.rbenv/versions/2.6.0-dev_yahonda/lib/ruby/gems/2.6.0/gems/minitest-5.11.3/lib/minitest.rb:98:in `block in load_plugins'
4: from /home/yahonda/.rbenv/versions/2.6.0-dev_yahonda/lib/ruby/gems/2.6.0/gems/minitest-5.11.3/lib/minitest.rb:98:in `require'
3: from /home/yahonda/git/bootsnap/lib/bootsnap/compile_cache/iseq.rb:37:in `load_iseq'
2: from /home/yahonda/git/bootsnap/lib/bootsnap/compile_cache/iseq.rb:37:in `fetch'
1: from /home/yahonda/git/bootsnap/lib/bootsnap/compile_cache/iseq.rb:18:in `storage_to_output'
/home/yahonda/git/bootsnap/lib/bootsnap/compile_cache/iseq.rb:18:in `load_from_binary': object index out of range: 266287972352 (IndexError)
$
~~~
### iseq.rb:18 executes RubyVM::InstructionSequence.load_from_binary
https://github.com/Shopify/bootsnap/blob/30ac9d332d758d8641e5775541e7b0b2f13bff58/lib/bootsnap/compile_cache/iseq.rb#L18
~~~
RubyVM::InstructionSequence.load_from_binary(binary)
~~~
--
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>