Error: Fatal Error VREADR Bad Irec
BUILD, CLEAN and overlay commands return the error message:
"Fatal Error(VREADR) Bad Irec"
The error is intermittent and only occurs when a remote device is used.
This error occurs during the sorting phase of the command. The sorting phase sorts the overlay or arc segments for subsequent reconstruction of the arcs and nodes. During sorting the record contains the segment coordinates and a topology record pointer.
The records are written to a vfile, using VWRITE. This routine in turn calls MFILE routines. During the MFILE buffering process, the buffer is corrupted, and records are written with a zero topology pointer. The MFILE buffering system seems to conflict with the OS buffering and depends on timing related to network traffic.
Solution or Workaround
There are three possible solutions to this issue.
- Run ArcInfo on the same machine that stores the data. If the data is on another machine use ARC COPY to copy the data local to the machine running ArcInfo.
- Set up the data server to be an ArcInfo geoprocessing server.
For help with installing and starting the geoprocessing server see: How To: Install and start the geoprocessing server.
- If ArcInfo is running locally and the data is not local define the system environmental variable ARCTMPDIR to a location on the disk where arc.exe is installed.
For help with setting a system environment variable, see: How To: Edit an environment variable.
This minimizes the cross network file caching.
Note: This option may not fix the problem in all cases.