[Python-bugs-list] [Bug #117608] test_largefile crashes or IRIX 6

noreply@sourceforge.net noreply@sourceforge.net
Fri, 19 Jan 2001 15:11:27 -0800


Bug #117608, was updated on 2000-Oct-24 08:51
Here is a current snapshot of the bug.

Project: Python
Category: Python Interpreter Core
Status: Closed
Resolution: Works For Me
Bug Group: Platform-specific
Priority: 1
Submitted by: bbaxter
Assigned to : gvanrossum
Summary:  test_largefile crashes or IRIX 6

Details: During "make test",  test_largefile caused an error.

Here's the result in python:

% python python2.0/test/test_largefile.py
create large file via seek (may be sparse file) ...
Traceback (most recent call last):
  File "python2.0/test/test_largefile.py", line 60, in ?
    f.flush()
IOError: [Errno 22] Invalid argument

Here's the version I'm running:

Python 2.0 (#5, Oct 24 2000, 09:51:57) [C] on irix6


Follow-Ups:

Date: 2001-Jan-19 15:11
By: gvanrossum

Comment:
Closing now.

-------------------------------------------------------

Date: 2001-Jan-18 19:45
By: gvanrossum

Comment:
Lowering the priority; Sjoerd's theory sounds very plausible!  Can the
original submittor confirm this?  Then we can close the bug report...

Barry still can't do anything about this...

-------------------------------------------------------

Date: 2000-Dec-13 09:09
By: sjoerd

Comment:
Assigned back to Barry so that he can deal with this further.  I'm on
vacation as of tomorrow.

My guess is that the problem is a lack of disk space on the user's test
machine.  When you seek far away and write a byte on an SGI file system
(EFS or XFS) the system actually allocates the blocks.  There is no such
thing as holes in files on the SGI file systems.  I happen to have enough
disk space available, so the test runs fine.  I assume the submitter of the
bug didn't have enough disk space available and so the flush couldn't
complete.
-------------------------------------------------------

Date: 2000-Dec-12 13:56
By: bwarsaw

Comment:
Reassigning because I have neither large file support nor an IRIX machine. 
Guido suggests that Sjoerd might have access to IRIX.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=117608&group_id=5470