Project

General

Profile

Actions

Bug #4008

closed

Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2

Added by Feanor (mike pusti) over 13 years ago. Updated about 7 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
Backport:

Description

I requested the route http://localhost:3000/authorization_rules of my Rails 3 project when the development server crashed.

http://github.com/stffn/declarative_authorization

Arch Linux( Kernel: 2.6.35-ARCH )
rvm 1.0.18


Files

crash.log (1.16 MB) crash.log Logfile of the crash (rails s 2&> crash.log) Feanor (mike pusti), 10/31/2010 08:49 PM
crash.log (1.32 MB) crash.log Logfile of the crash with libruby errors (rails s 2&> crash.log) Feanor (mike pusti), 10/31/2010 08:59 PM
Actions #1

Updated by Feanor (mike pusti) over 13 years ago

It produces 2 different outputs

Actions #2

Updated by nobu (Nobuyoshi Nakada) over 13 years ago

  • Priority changed from 5 to 3

It's infinite recurring, seems to fail to check if the SEGV is stack orverflow, but it's not always guaranteed.

Updated by naruse (Yui NARUSE) almost 13 years ago

  • Status changed from Open to Assigned
  • Assignee set to nahi (Hiroshi Nakamura)
Actions #4

Updated by nahi (Hiroshi Nakamura) almost 13 years ago

  • Target version changed from 1.9.2 to 1.9.3

Updated by nahi (Hiroshi Nakamura) almost 13 years ago

  • Assignee changed from nahi (Hiroshi Nakamura) to ko1 (Koichi Sasada)

Here's a summary of crash.log: https://gist.github.com/1048296
As nobu said, infinite recursion should be the cause.

mike, would you please contact to declarative_authorization author for help?

Sasada-san, please close this ticket as 'Rejected(Not a bug)' if you're OK. I'm assigning you since I heard that you wanted to detect some kinds of infinite recursions as 'SystemStackError'. I don't know it's the one or not.

Updated by ko1 (Koichi Sasada) almost 13 years ago

  • Target version changed from 1.9.3 to 2.0.0

I send it to 1.9.x. (don't touch it before 1.9.3).

Updated by ko1 (Koichi Sasada) almost 12 years ago

  • Status changed from Assigned to Feedback

Could you try on current trunk?

Updated by ko1 (Koichi Sasada) over 11 years ago

  • Target version changed from 2.0.0 to 2.6

Updated by zzak (zzak _) about 10 years ago

No feedback for over a year, should we close this?

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

  • Description updated (diff)

Seems stack overflow, probably.
1.9.2 has died long ago, and there are many changes for it.
I think there is no chance for new release.

Updated by zzak (zzak _) about 10 years ago

I am concerned about what Nahi said regarding infinite recursion handling. Also, after 2.0 Koichi asked for reproduce on trunk which makes me think he anticipates this issue > 1.9.2.

I'll leave this ticket for ko1 to determine whether or not it should be closed

Updated by ko1 (Koichi Sasada) about 7 years ago

  • Status changed from Feedback to Closed

Sorry I didn't check it.
Please reopen this ticket if someone has trouble yet.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0