Mindaugas:

>few times per year we find corrupted .fpt files in databeses of our
>customers. The problem is that this corruption is not detected by
>driver and causes strange behavior. For example, application hangs-up,
>but do not GPFs. After some tests we found, that it "hangs-up" because
>it uses a huge amount of memory (ex. >= 1GB) and OS do a lot of disk
>swap thus stops application and system. This memory usage is caused by
>reading some memo value. Total memo file length is not big (1MB), but
>corrupted .ftp blocks contains huge size values. I've wrote some code
>to test for such memofields, but it would be nice to have some
>corruption detection code  in fpt driver.

>> Viktor will kill you if he sees these :)

>It won't compile, so such harsh action is not necessary ;)

Now that you are safe, why these FPT corruption happen ?
 ( "... corrupted .ftp blocks contains huge size values ..." )

David Macias


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to