Ruby Seg Faults With Deep Partials
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby1.8 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ruby1.8
I switched to from Windows to Linux for doing Rails development. When running my code, ruby will Segmentation Fault. The following happens:
1. The code renders a partial, which renders a partial, which renders a partial.
2. In that partial, I can 'puts' the inspection of an object.
3. When I then try to access any of the properties of the object, Rails segmentation faults.
I was running the 1.8.5 version of ruby in Feisty. I was running 1.8.6 in Windows, so I grabbed the source packages from archive.ubuntu.com and recompiles the package and then installed it. Same results. I then uninstalled all of the gems and reinstalled them. Same results.
I then pulled the Ruby sources from ruby-lang.org and compiled them into /opt/ruby. I compile gem using that ruby as well as installed all of the necessary gems. Running script/server with /opt/ruby/bin/ruby will not crash.
- which architecture is this?
- could you attach the example code to this report?