Tempfile class random behavior and "Bad file descriptor (Errno::EBADF)"
exception
---------------------------------------------------------------------------------
Key: JRUBY-1689
URL: http://jira.codehaus.org/browse/JRUBY-1689
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1b1
Environment: Os: Ubuntu 7.10 64bit
Reporter: Radoslaw Bulat
Attachments: bm_io_file_read.rb, bm_io_file_write.rb
There is strange and random behaviour in Tempfile class. If you try to run
attached files (it's from ruby source) several times, there is a big chance
that you get similar error message like this:
"/home/radarek/work/project/ruby-benchmarks/jruby/lib/ruby/1.8/tempfile.rb:145:in
`callback': Bad file descriptor (Errno::EBADF)" (but sometimes there is not
error).
--
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