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
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: gems/1. 8/gems/ activesupport- 2.3.2/lib/ active_ support/ xml_mini/ libxml. rb:125: [BUG] Segmentation fault
$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
$ ./test.rb
parsed 0
parsed 1
parsed 2
/var/lib/
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
Aborted