Project

General

Profile

Actions

Bug #15290

closed

load_from_binary Bus error on Solaris sparc

Added by Kulikjak (Jakub Kulik) over 5 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.5.3p105 (2018-10-18 revision 65156) [sparcv9-solaris2.11]
[ruby-core:89749]

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

ruby2.5.3-configure.txt (25.5 KB) ruby2.5.3-configure.txt Kulikjak (Jakub Kulik), 11/07/2018 11:20 AM
ruby2.5.3-compilation.txt (95.8 KB) ruby2.5.3-compilation.txt Kulikjak (Jakub Kulik), 11/07/2018 11:20 AM
ruby2.5.3-test.txt (134 KB) ruby2.5.3-test.txt Kulikjak (Jakub Kulik), 11/07/2018 11:20 AM

Updated by ngoto (Naohisa Goto) over 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) over 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) over 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) over 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.

Actions #5

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Open to Closed
Actions #6

Updated by usa (Usaku NAKAMURA) over 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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0