File.stat fails confusingly on large files
------------------------------------------

                 Key: JRUBY-2383
                 URL: http://jira.codehaus.org/browse/JRUBY-2383
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1
         Environment: centos5
            Reporter: McClain Looney


Calling  File.stat('file') on large files (my failure case was 5.2gb) causes an 
Errno::ENOENT exception to be thrown.   


setting -Djruby.ntive.enabled=false rectifies the issue, so it's likely 
something w/ the c implementation of the POSIX interface.

Really, it's two issues:

1. it shouldn't fail
2. it shouldn't lie about why it's failing

Appears to fail around the 2gb mark 

-- 
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


Reply via email to