StringIO#readlines("") hangs JRuby
----------------------------------
Key: JRUBY-2614
URL: http://jira.codehaus.org/browse/JRUBY-2614
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.2
Environment: JRuby 1.1.2 from trunk
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Try this one:
jruby -rstringio -e 'p StringIO.new("abcd").readlines("")'
JRuby just hangs, consuming 100% CPU and eventually fails with
Error: Your application used more memory than the safety cap of 500m.
Also, new rubyspecs were added for this test case, and they now also hang.
Will fix.
--
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