Mantis - bvi
Viewing Issue Advanced Details
4423 regular use minor always 2010-05-20 13:50 2014-11-12 11:40
skayser  
dam  
normal  
closed  
fixed  
none    
none  
0004423: bvi fails to open large files (opens as "New File", truss shows EOVERFLOW)
# ls -l "vSphere Management Assistant-flat.vmdk"
-rw------- 1 root root 5368709120 Jan 8 00:41 vSphere Management Assistant-flat.vmdk

# bvi "vSphere Management Assistant-flat.vmdk"
"vSphere Management Assistant-flat.vmdk" [New File]
[Hit return to continue]

# truss -o foo -t stat bvi "vSphere Management Assistant-flat.vmdk"
...
xstat(2, "vSphere Management Assistant-flat.vmdk", 0x0806D7E8) Err#79 EOVERFLOW
...
# pkginfo -l CSWbvi
   PKGINST: CSWbvi
      NAME: bvi - A vi-like binary file (hex) editor
  CATEGORY: application
      ARCH: i386
   VERSION: 1.3.2,REV=2009.07.04
   BASEDIR: /
    VENDOR: http://downloads.sourceforge.net/bvi/ [^] packaged for CSW by Sebastian Kayser
    PSTAMP: skayser@build8x-20090704173259
  INSTDATE: May 20 2010 13:33
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: skayser@opencsw.org
    STATUS: completely installed
     FILES: 14 installed pathnames
                   1 shared pathnames
                   2 linked files
                   3 directories
                   2 executables
                 287 blocks used (approx)
Issue History
2010-05-20 13:50 skayser New Issue
2010-05-20 13:51 skayser Status new => assigned
2010-05-20 13:51 skayser Assigned To => skayser
2014-11-12 11:37 dam Assigned To skayser => dam
2014-11-12 11:40 dam Note Added: 0010955
2014-11-12 11:40 dam Status assigned => closed
2014-11-12 11:40 dam Resolution open => fixed

Notes
(0010955)
dam   
2014-11-12 11:40   
This is fixed in the current release 1.4.0rc,REV=2014.03.11 on Solaris 10.

Now stat64 is used as opposed to xstat:

experimental10x% more big.truss
stat64("/opt/csw/bin/bvi", 0x08047910) = 0
stat64("/lib/libc.so.1", 0x080471C0) = 0
stat64("/lib/libcurses.so.1", 0x08046F80) = 0
stat64("big", 0x08070328) = 0
stat64("/home/dam/.bvirc", 0x08070328) Err#2 ENOENT
stat64(".bvirc", 0x08070328) Err#2 ENOENT