Issue #3174 has been updated by Aaron Patterson.

File reproduce_crash.rb added

I was able to run the script (with slight modifications) from Ruby 1.9.2 trunk and had no crashes.  I've attached my version of the script.

Here is the output from my run:

$ ruby reproduce_crash.rb 
create table 
NOTICE:  table "crash_table" does not exist, skipping
NOTICE:  table "crash_table" does not exist, skipping
fill table 
queries
server_a : Session : 250000
server_b : Session : 250000
server_c : Session : 250000
server_d : Session : 250000
server_e : Session : 250000
$ ruby -v
ruby 1.9.2dev (2010-04-17 trunk 27378) [x86_64-darwin10.2.0]
$
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3174

----------------------------------------
http://redmine.ruby-lang.org