Forum: Ruby on Rails Trying to retrieve a model from the session that uses acts_a

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
125639ddcc0b9119bb84e29416ace63a?d=identicon&s=25 Scott (Guest)
on 2007-02-27 19:11
(Received via mailing list)
I am using acts_as_attachement on my Photo model to upload a photo. I
have a wizard-like set of pages that the user can step through. Rather
than save the photo to the db/filesystem I want to save it to the
session until the user hits save.

Saving to the session appears to work fine, however, when I try to
retrieve anything from the session afterwards, I get:

action_controller/session/active_record_store.rb:84: [BUG]
Segmentation fault

In fact, I need to delete the offending session entry in the db,
otherwise mongrel keeps getting that segmentation fault.

Anyone else run into this?


B893f527fda3493f1dc1e6dd8311a266?d=identicon&s=25 unknown (Guest)
on 2007-03-03 07:19
(Received via mailing list)
I'm receiving a ton of [BUG] Segmentation fault with both Mongrel &
Webrick. I'm not using ActiveRecord, but I am using sessions. I'm also
using the standard sessions pstore.

Its driving me nuts, did you ever come to a solution on your problems?

Some of my errors:
dependencies.rb:139: [BUG] Segmentation fault
c:/ruby/lib/ruby/1.8/timeout.rb:75: [BUG] Segmentation fault
c:/ruby/lib/ruby/1.8/pstore.rb:293: [BUG] Segmentation fault
routing.rb:29: [BUG] Segmentation fault
c:/ruby/lib/ruby/1.8/yaml/rubytypes.rb:39: [BUG] Segmentation fault
c:/ruby/lib/ruby/1.8/pstore.rb:348: [BUG] Segmentation fault

c:/ruby/lib/ruby/1.8/yaml.rb:380: [BUG] Segmentation fault
c:/ruby/lib/ruby/1.8/timeout.rb:75: [BUG] Segmentation fault
c:/ruby/lib/ruby/1.8/timeout.rb:52: [BUG] Segmentation fault

... all end this way:
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
This topic is locked and can not be replied to.