Stream read eror on File Compare Next Difference (F6)
Posted: 10 Oct 2010 15:15
I had seen this bug from a long time ago (forget from what version, but certainly v.1.6.x and v1.7.x have this bug), but I didn't expect that until now it's still unspotted.
Here are the steps to produce the bug:
-You should have two identical big size files (approx. 10MB up, more bigger more easier to produce the bug).
-In second file, I changed its byte 8th to 16th, so now both of them are non-indentic.
-Open both of them with HxD.
-Set cursor of both files to first byte and press CTRL+K, and click OK.
-After cursor set to first difference, hold F6 (Next Difference).
-You would get message box "No further differences found.", then click OK and you would get error message box "Stream read error" (note: this message was a bit scared me that I thought HxD had corrupted my files).
-That's it.
Btw, I'm really like this feature (the file compare) which I used it very often than other feature (ironic isn't it? HxD is actually hex editor, not file comparer
).
EDIT: oh yeah, just a little request. If user activates the "Create backup copies (BAK-files)" option, there should be a warning/confirmation message dialog if user edited a big size file (i.e., 500 MB or bigger) intentionally/not, since creating backup of big file each time of saving would slow down the application usage experience.
Keep up the good work.
Here are the steps to produce the bug:
-You should have two identical big size files (approx. 10MB up, more bigger more easier to produce the bug).
-In second file, I changed its byte 8th to 16th, so now both of them are non-indentic.
-Open both of them with HxD.
-Set cursor of both files to first byte and press CTRL+K, and click OK.
-After cursor set to first difference, hold F6 (Next Difference).
-You would get message box "No further differences found.", then click OK and you would get error message box "Stream read error" (note: this message was a bit scared me that I thought HxD had corrupted my files).
-That's it.
Btw, I'm really like this feature (the file compare) which I used it very often than other feature (ironic isn't it? HxD is actually hex editor, not file comparer
EDIT: oh yeah, just a little request. If user activates the "Create backup copies (BAK-files)" option, there should be a warning/confirmation message dialog if user edited a big size file (i.e., 500 MB or bigger) intentionally/not, since creating backup of big file each time of saving would slow down the application usage experience.
Keep up the good work.