Issue #11657 has been updated by Andrew Hodgkinson.


Nobuyoshi Nakada wrote:

> We love to see your "isolated test case". Thank you.

OK, unsure if I will be able to replicate it isolated since it seems to need the entire currently-closed-source component to be present. I'll work on it.

----------------------------------------
Bug #11657: Abort Trap 6 when running a test suite
https://bugs.ruby-lang.org/issues/11657#change-54911

* Author: Andrew Hodgkinson
* Status: Open
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15] *OR* ruby 2.3.0dev (2015-11-01 trunk 52421) [x86_64-darwin15]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
An internal Ruby gem I develop for my company has a test suite that works fine on Ruby 2.1.x but crashes on **2.2.3 and 2.3.0-dev** with:

~~~
[BUG] Stack consistency error (sp: 273, bp: 271)
~~~

I've tried this on both OS X (10.11.1) and a Debian build in a Virtualbox VM to try and eliminate OS X as the problem, with the same results (as in, an abort and a 'stack consistency error' in the logs). I have attached the backtrace log data from both the OS X and Debian builds, from Ruby 2.2.3p173 (though as I say, I did try 2.3.0-dev too and the same stack error arose).

At present, the component in question is closed source. We are actually planning to open source it, but it'll be a while. I'm unable to replicate this as some isolated test case at present I'm afraid - it seems quite a lot of "stuff" needs to happen before it dies.

---Files--------------------------------
ruby_crash_osx.log (141 KB)
ruby_crash_debian.log (160 KB)


-- 
https://bugs.ruby-lang.org/