Re: Ridiculous readInt() bug? Read-head not advancing far enough?



El wrote:
Thats just bad. You understand what the problem actually is?

We can only guess. E.g. is the file still written while you start to read it (maybe the OS gets confused)? Do you (accidentally) share the reference to the reader (e.g. in another thread)? Does the problem happen at some magic position in the file (multiple of 512 bytes, 1k, 2k, 1G, etc.)?


Does it happen only if you read the file from the particular file system? Can you change the type of the file system? Is that by any change a network mounted / shared file system? Does it happen with different hard drives, or only with one particular drive? Does it happen on different machined / different motherboards, or only a particular one, or ones of a particular type? Does it happen with other VMs, too? Are you absolutely sure the input data is correct?

You best bet would be to manage to create a stand-alone test case which reproduces the bug, at least most of the time, in an acceptable time frame. From that you have a much better change to work.

/Thomas


-- The comp.lang.java.gui FAQ: ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq .



Relevant Pages

  • Re: Need help Installing Windows XP !!!
    ... Ram an ntfs file system can 'see' a fat32 file system, ... from your windows xp ntfs partition to your windows 98 fat32 file system but ... I have 2 Hard Drives on my PC. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Help! Vostro 1400 stuck in a BSOD situation ....
    ... Windows enables a write cache for all installed hard drives on ... please know that it values correcting the file system above ...
    (alt.sys.pc-clone.dell)
  • Re: Ghost image fails to restore properly?
    ... It makes sense that the file system information ... computer I bought. ... semi-retired supporting two external hard drives I use for backups. ... I bought a new APC UPS with the Dimension XPS 5 from Dell, ...
    (alt.sys.pc-clone.dell)
  • Re: Help! Vostro 1400 stuck in a BSOD situation ....
    ... Windows enables a write cache for all installed hard drives on ... please know that it values correcting the file system above ...
    (alt.sys.pc-clone.dell)
  • Re: [SLE] New File System On a Flash Disk?
    ... > I just acquired a 1GB Lexar JumpDrive Sport and it came pre-formatted ... > A related question is what would be a good choice of file system for ... I use XFS on my hard drives, ...
    (SuSE)