Issue #15290 has been updated by ngoto (Naohisa Goto).


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(?).


----------------------------------------
Bug #15290: load_from_binary Bus error on Solaris sparc
https://bugs.ruby-lang.org/issues/15290#change-74797

* Author: Kulikjak (Jakub Kulik)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [sparcv9-solaris2.11]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
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-compilation.txt (95.8 KB)
ruby2.5.3-test.txt (134 KB)


-- 
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>