Forum: Ruby on Rails ar_mailer intermittent SystemStackError

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
LAB (Guest)
on 2009-05-31 23:01
(Received via mailing list)
Hello!  I am really hoping someone can help me figure this out.  I am
hitting this intermittent error.  It doesn't always happen when I am
doing a delivery action, but it happens sometimes.  Its not always
against the same action (contactEmail) below, but I've seen it
sporadically across 3 other mailing actions. It's tough to reproduce,
but is definitely causing me some big problems!

Because the stack level is too deep, I feel like I'm not able to see
the entire error.  If you can offer any ideas or insight, I would
greatly appreciate it!!

Rails 2.1.0
ar_mailer 1.3.1

----------------
SystemStackError (stack level too deep):
    /usr/lib64/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
attribute_methods.rb:64:in `generated_methods?'
    /usr/lib64/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
attribute_methods.rb:237:in `method_missing'
    /usr/lib64/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
attribute_methods.rb:245:in `method_missing'
    /usr/lib64/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
transactions.rb:116:in `rollback_active_record_state!'
    /usr/lib64/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
transactions.rb:106:in `save'
    /usr/lib64/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:640:in `create'
    /usr/lib64/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/
ar_mailer.rb:92:in `perform_delivery_activerecord'
    /usr/lib64/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/
ar_mailer.rb:91:in `each'
    /usr/lib64/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/
ar_mailer.rb:91:in `perform_delivery_activerecord'
    /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/
base.rb:508:in `__send__'
    /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/
base.rb:508:in `deliver!'
    /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/
base.rb:383:in `method_missing'
    /app/controllers/main_controller.rb:433:in `contactEmail'

LAB
This topic is locked and can not be replied to.