From: sean@... Date: 2015-09-25T13:45:45+00:00 Subject: [ruby-core:70913] [Ruby trunk - Bug #11551] Segfault for unidentified reasons Issue #11551 has been updated by Sean Griffin. There is a typo in the `method_missing` definition which is the cause here. Changing `attribute_defintion` to `attribute_definition` fixes it, so the bug appears to have something to do with a `method_missing` invocation when it's defined this way. ---------------------------------------- Bug #11551: Segfault for unidentified reasons https://bugs.ruby-lang.org/issues/11551#change-54278 * Author: Sean Griffin * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- The code changes https://github.com/sgrif/rails/commit/ddbed0040f5e99a751b130de8213f7cc7e0d155d cause a segfault when running the test case in `activemodel/test/cases/validations/acceptance_validations_test`. The code to reproduce is on that repo on the branch sg-segfault-example. The output from the crash is here: https://gist.github.com/sgrif/8775e4fa6b915868a893 -- https://bugs.ruby-lang.org/