From: Joao Pedrosa Date: 2004-10-18T16:13:24+09:00 Subject: Re: segfault with Ruby 1.9 "nightly" ------=_Part_87_20878195.1098083600032 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, > > I couldn't reproduce it with 100,000 iteration. Can't you show > > the stack trace? Does it sound weird that it varies with the number of blank lines that I put at the end of the file? It's weird. For example: 1) With no blank line at all I get: dewd@roller:~ $ ruby test.rb /usr/local/lib/ruby/site_ruby/1.9/arrayfields.rb:63: [BUG] Segmentation fault ruby 1.9.0 (2004-10-17) [i686-linux] 2) With one to three blank lines I get: dewd@roller:~ $ ruby test.rb /usr/local/lib/ruby/site_ruby/1.9/arrayfields.rb:63:in `[]': cannot convert Object into Array (TypeError) from test.rb:12 from test.rb:10:in `times' from test.rb:10 from test.rb:4:in `times' from test.rb:4 3) With four blank lines I don't get any error! I'm attaching the script as is. I don't know what the problem is. What I can tell is that the nightly snapshot comes "autoconfigured". And I compiled it with the default "./configure" parameters. I guess that we should put this case on hold. Let's forget about it until there is further proof. What do you say? Meanwhile, I'll report any difficult in compiling Ruby with the current tools available on Ubuntu Linux (my system). I've had some difficulty with byacc. Thanks Nobu! Cheers, Joao ------=_Part_87_20878195.1098083600032 Content-Type: application/x-compressed-tar; name="test.tgz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.tgz" H4sIABJrc0EAA+3Q0UrDMBQG4F73KQ54EZVSktpWGPOi3ZXPMIakScRAbTVNGUP27jbdlF0pCGMI /3eRU/rnJKf1ZvCpa6Jz4pMyz0MV9wU/rbOc80hwcZeXZZGVWcRFlhUiIn7WqY7GwUtHFGmz1T/t +y0/fst3/SdiZ95H6wwx6ZzcPVvT6oHFseCpt69m+IiJJD3QmknJEmJNE1al2CYE6WF/yBdVVSW0 qOt6Wler1ZzPneFJ8K/zwsvlcmpVbd8Z2k/h1SMp2ZEzb67XozK0tf4ltPCEmtHTrh9J9WOryXbK GTkYsv5wKD8Zk8hO11072Wm6DeFN6vsnOydSru1mnjFMEy6N93Fw6f8PAAAAAAAAAAAAAAAAAAAA AADwV5+G0/AzACgAAA== ------=_Part_87_20878195.1098083600032--