Bug #15290
closedload_from_binary Bus error on Solaris sparc
Description
When we updated to recently released version 2.5.3, one test on sparc started to fail:
/.../ruby-25/ruby-2.5.3/test/ruby/test_iseq.rb:403: [BUG] Bus Error at 0x000000010d1de3ec
ruby 2.5.3p105 (2018-10-18 revision 65156) [sparcv9-solaris2.11]
-- Control frame information -----------------------------------------------
c:0029 p:---- s:0169 e:000168 CFUNC :load_from_binary
c:0028 p:0013 s:0164 e:000163 BLOCK /.../ruby-25/ruby-2.5.3/test/ruby/test_iseq.rb:403 [FINISH]
...
This is happening on sparc only (we also build the same thing for intel) and was not present in version 2.5.1. All other tests work.
Logs from configuration, build and whole test attached.
Files
Updated by ngoto (Naohisa Goto) almost 5 years ago
The bus error occurs in compile.c line 8883, in function ibf_load_object_string().
It seems that this bug is already fixed in the trunk by commits r62791, r62796, r63098(?), r63101(?), r63113, r63117, r63167, r63368, and r63413(?).
Updated by ngoto (Naohisa Goto) almost 5 years ago
- Assignee set to nagachika (Tomoyuki Chikanaga)
- Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: REQUIRED
In addition to the above, r63118, r63119, and r63120 are needed.
Updated by Kulikjak (Jakub Kulik) almost 5 years ago
I am not able to apply all these patches right now, but I managed to build latest Ruby 2.6.0 preview 3 and this issue is not there so it might be fixed.
It is however a little bit weird that this issue appeared with version 2.5.3 and was not present at 2.5.1. But maybe it was there always and tests didn't find it.
Updated by Kulikjak (Jakub Kulik) about 4 years ago
Hi,
I just installed Ruby 2.5.5 and indeed the problem is no longer reproducible.
I thus believe that this issue is fixed.
Updated by jeremyevans0 (Jeremy Evans) about 4 years ago
- Status changed from Open to Closed
Updated by usa (Usaku NAKAMURA) about 4 years ago
- Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: REQUIRED to 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: DONE