Ruby Seg Faults With Deep Partials

Bug #132491 reported by Stack
2
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.

Revision history for this message
Matthias Klose (doko) wrote :

- which architecture is this?
- could you attach the example code to this report?

Changed in ruby1.8:
status: New → Incomplete
Revision history for this message
Stack (sgerstacker) wrote :

I'm having a bit of a problem reproducing this now, but it did happen on Feisty i386 and Gutsy i386. I can't post the code directly because it's an internal project. I'll try to get some example code soon.

Revision history for this message
Ryan Kavanagh (ryanakca) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in ruby1.8:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.