Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hfs create corrupted vfs #20

Open
NewUserHa opened this issue Aug 8, 2021 · 8 comments
Open

hfs create corrupted vfs #20

NewUserHa opened this issue Aug 8, 2021 · 8 comments

Comments

@NewUserHa
Copy link

version: hfs 2.4RC7 (Don't know if 2.3m has this issue.)

the hfs usually has 1~2 folders, 100+ files.
the file size of the corrupted .vfs usually is about 300bytes.
and via a text editor, can see only the first few(usually <10) items in the .vfs file. all the others items are lost.

guess:
the filenames usually contain special characters, or chinese, or japanese. like ( ) [ ] { } ` & ~ @ _.
the hfs has run > a few hours.

@rejetto
Copy link
Owner

rejetto commented Aug 8, 2021

Try to narrow down the single factor causing the problem so that I can reproduce it.
Does it happen at first save attempt? Try to describe usage in time

@NewUserHa
Copy link
Author

once happen, save .vfs always get the same result.

hard to locate a single reason.
If save .vfs can handle special characters, then the reason should be the running time.

I found after long time running, maybe with sleep of window, hfs will prompt address ... can't read (or similar something) sometime. when that happens, save .vfs usually is corrupted, other times, it has a chance may corrupt.

@NewUserHa
Copy link
Author

NewUserHa commented Aug 21, 2021

occur again after 300 files and 5 days
image

@NewUserHa
Copy link
Author

another found: after happened, dragging files to the right-bottom of the main window of hfs will add files into the first folder instead of the root folder

@NewUserHa
Copy link
Author

after running 2.3m300 for months, it shows that 2.3m300 does not have any above issue of 2.4rc7, including corrupted saved vfs, dragging issues, etc.

@rejetto
Copy link
Owner

rejetto commented Dec 5, 2021

I found after long time running, maybe with sleep of window, hfs will prompt address ... can't read (or similar something) sometime. when that happens, save .vfs usually is corrupted, other times, it has a chance may corrupt.

if the problem happens only with saving AFTER such error displayed, then probably the corrupted file is a consequence and not the real bug

@NewUserHa
Copy link
Author

remembered they are sperate issues.
maybe the reason is that hfs can't recognize the saved vfs.
when look at the main.pas, I found newer version delphi changed something for ansistring (I'm not familiar with delphi).

@rejetto
Copy link
Owner

rejetto commented Dec 6, 2021

my experience tells me to assume what I said in my last comment, but feel free to investigate differently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants