[#70843] Re: [ruby-cvs:58952] hsbt:r51801 (trunk): * lib/rubygems: Update to RubyGems HEAD(fe61e4c112). — Eric Wong <normalperson@...>
hsbt@ruby-lang.org wrote:
3 messages
2015/09/17
[ruby-core:70913] [Ruby trunk - Bug #11551] Segfault for unidentified reasons
From:
sean@...
Date:
2015-09-25 13:45:45 UTC
List:
ruby-core #70913
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/