jirb crashes when displaying inspect of very large object ---------------------------------------------------------
Key: JRUBY-3720 URL: http://jira.codehaus.org/browse/JRUBY-3720 Project: JRuby Issue Type: Bug Environment: using trunk jruby (commit: c1028dd86b33028cc403b3d671d7f7cb21daf310) on MacOS 10.5.7 Reporter: Stephen Bannasch Assignee: Thomas E Enebo Fix For: JRuby 1.3 When I create a very large object (about 7MB when dumped with YAML) jirb crashed when displaying the result of inspect. {code} >> mj = MavenJnlp::MavenJnlpServer.find(:first) => #<MavenJnlp::MavenJnlpServer id: 1, uuid: "2fe639d0-4c77-11de-bb88-001ff3caa767", host: "http://jnlp.concord.org", path: "/dev/org/concord/maven-jnlp/", name: nil, local_cache_dir: nil, created_at: "2009-05-29 17:36:05", updated_at: "2009-05-29 17:36:05"> >> mj.create_maven_jnlp_families ... console displays inspect of very large object >> /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb/input-method.rb:97:in >> `gets': Bad file descriptor (IOError) from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb.rb:132:in `eval_input' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb.rb:263:in `signal_status' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb.rb:131:in `eval_input' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb/ruby-lex.rb:189:in `call' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb/ruby-lex.rb:189:in `buf_input' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb/ruby-lex.rb:104:in `getc' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb/slex.rb:206:in `match_io' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb/slex.rb:76:in `match' ... 9 levels... from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb.rb:69:in `catch' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/irb.rb:69:in `start' from /Users/stephen/dev/ruby/src/jruby.git/bin/jirb:19 [rigse2.git (jnlp)]$ {code} I'm working on both a jnlp ruby gem and a rails app that uses it. I should have a new release of the jnlp gem later today or tonight so if it will be helpful I can provide more details about how to reproduce soon. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email