ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:70912] [Ruby trunk - Bug #11551] [Open] Segfault for unidentified reasons
       [not found] <redmine.issue-11551.20150925134147@ruby-lang.org>
@ 2015-09-25 13:41 ` sean
  2015-09-25 13:45 ` [ruby-core:70913] [Ruby trunk - Bug #11551] " sean
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sean @ 2015-09-25 13:41 UTC (permalink / raw
  To: ruby-core

Issue #11551 has been reported by Sean Griffin.

----------------------------------------
Bug #11551: Segfault for unidentified reasons
https://bugs.ruby-lang.org/issues/11551

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:70913] [Ruby trunk - Bug #11551] Segfault for unidentified reasons
       [not found] <redmine.issue-11551.20150925134147@ruby-lang.org>
  2015-09-25 13:41 ` [ruby-core:70912] [Ruby trunk - Bug #11551] [Open] Segfault for unidentified reasons sean
@ 2015-09-25 13:45 ` sean
  2015-09-25 13:57   ` [ruby-core:70914] " Ekta Rathi
  2015-09-26  3:12 ` [ruby-core:70917] [Ruby trunk - Bug #11551] [Feedback] `[BUG] cfp consistency error` " nobu
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 7+ messages in thread
From: sean @ 2015-09-25 13:45 UTC (permalink / raw
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:70914] Re: [Ruby trunk - Bug #11551] Segfault for unidentified reasons
  2015-09-25 13:45 ` [ruby-core:70913] [Ruby trunk - Bug #11551] " sean
@ 2015-09-25 13:57   ` Ekta Rathi
  0 siblings, 0 replies; 7+ messages in thread
From: Ekta Rathi @ 2015-09-25 13:57 UTC (permalink / raw
  To: Ruby developers

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

unsubscribe


On Fri, Sep 25, 2015 at 2:45 PM, <sean@seantheprogrammer.com> wrote:

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

[-- Attachment #2: Type: text/html, Size: 2080 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:70917] [Ruby trunk - Bug #11551] [Feedback] `[BUG] cfp consistency error` for unidentified reasons
       [not found] <redmine.issue-11551.20150925134147@ruby-lang.org>
  2015-09-25 13:41 ` [ruby-core:70912] [Ruby trunk - Bug #11551] [Open] Segfault for unidentified reasons sean
  2015-09-25 13:45 ` [ruby-core:70913] [Ruby trunk - Bug #11551] " sean
@ 2015-09-26  3:12 ` nobu
  2015-10-06 21:42 ` [ruby-core:71005] [Ruby trunk - Bug #11551] " sean
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: nobu @ 2015-09-26  3:12 UTC (permalink / raw
  To: ruby-core

Issue #11551 has been updated by Nobuyoshi Nakada.

Subject changed from Segfault for unidentified reasons to `[BUG] cfp consistency error` for unidentified reasons
Status changed from Open to Feedback

Can't you make short code to reproduce it?

----------------------------------------
Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
https://bugs.ruby-lang.org/issues/11551#change-54280

* Author: Sean Griffin
* Status: Feedback
* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:71005] [Ruby trunk - Bug #11551] `[BUG] cfp consistency error` for unidentified reasons
       [not found] <redmine.issue-11551.20150925134147@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2015-09-26  3:12 ` [ruby-core:70917] [Ruby trunk - Bug #11551] [Feedback] `[BUG] cfp consistency error` " nobu
@ 2015-10-06 21:42 ` sean
  2015-10-06 21:52 ` [ruby-core:71006] " sean
  2015-10-07 13:26 ` [ruby-core:71011] [Ruby trunk - Bug #11551] [Rejected] " nobu
  5 siblings, 0 replies; 7+ messages in thread
From: sean @ 2015-10-06 21:42 UTC (permalink / raw
  To: ruby-core

Issue #11551 has been updated by Sean Griffin.


I've tried to create an isolated script to reproduce the problem, but haven't been able to thus far. I'll keep seeing if I can, but at the moment it appears to be a weird interaction between the code linked and the rest of rails.

----------------------------------------
Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
https://bugs.ruby-lang.org/issues/11551#change-54379

* Author: Sean Griffin
* Status: Feedback
* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:71006] [Ruby trunk - Bug #11551] `[BUG] cfp consistency error` for unidentified reasons
       [not found] <redmine.issue-11551.20150925134147@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2015-10-06 21:42 ` [ruby-core:71005] [Ruby trunk - Bug #11551] " sean
@ 2015-10-06 21:52 ` sean
  2015-10-07 13:26 ` [ruby-core:71011] [Ruby trunk - Bug #11551] [Rejected] " nobu
  5 siblings, 0 replies; 7+ messages in thread
From: sean @ 2015-10-06 21:52 UTC (permalink / raw
  To: ruby-core

Issue #11551 has been updated by Sean Griffin.


Aha, I got it. It has to do with minitest. Reproduction script: https://gist.github.com/sgrif/720b7473c5ce9a51d6e2

----------------------------------------
Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
https://bugs.ruby-lang.org/issues/11551#change-54380

* Author: Sean Griffin
* Status: Feedback
* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:71011] [Ruby trunk - Bug #11551] [Rejected] `[BUG] cfp consistency error` for unidentified reasons
       [not found] <redmine.issue-11551.20150925134147@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2015-10-06 21:52 ` [ruby-core:71006] " sean
@ 2015-10-07 13:26 ` nobu
  5 siblings, 0 replies; 7+ messages in thread
From: nobu @ 2015-10-07 13:26 UTC (permalink / raw
  To: ruby-core

Issue #11551 has been updated by Nobuyoshi Nakada.

Status changed from Feedback to Rejected

It occurred a system stack overflow.
Ruby tries to catch it as possible, but it is very hard (or nearly impossible) to handle it flawlessly, as it can occur in a critical section, other external libraries, and so on.

----------------------------------------
Bug #11551: `[BUG] cfp consistency error` for unidentified reasons
https://bugs.ruby-lang.org/issues/11551#change-54385

* Author: Sean Griffin
* Status: Rejected
* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-07 13:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-11551.20150925134147@ruby-lang.org>
2015-09-25 13:41 ` [ruby-core:70912] [Ruby trunk - Bug #11551] [Open] Segfault for unidentified reasons sean
2015-09-25 13:45 ` [ruby-core:70913] [Ruby trunk - Bug #11551] " sean
2015-09-25 13:57   ` [ruby-core:70914] " Ekta Rathi
2015-09-26  3:12 ` [ruby-core:70917] [Ruby trunk - Bug #11551] [Feedback] `[BUG] cfp consistency error` " nobu
2015-10-06 21:42 ` [ruby-core:71005] [Ruby trunk - Bug #11551] " sean
2015-10-06 21:52 ` [ruby-core:71006] " sean
2015-10-07 13:26 ` [ruby-core:71011] [Ruby trunk - Bug #11551] [Rejected] " nobu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).