Here is a test which consistently segfaults on my Lucid box.

bug_test.tar.gz contains two files: 
testdata.xml - a ~1MB data file of XML
test.rb - a script that opens and parses that data file several times to cause 
the crash

Example run:
$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
$ ./test.rb 
parsed 0
parsed 1
parsed 2
/var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/xml_mini/libxml.rb:125:
 [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]

Aborted

** Attachment added: "Tarball of test script and supporting data file"
   
https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/670571/+attachment/1869547/+files/bug_test.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/670571

Title:
  Segmentation fault in Marshal.load

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to