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

Nextor crashes when rewriting a file with longer length and crossing a 512-byte boundary in akid (at least) #142

Open
mfides opened this issue Sep 3, 2024 · 0 comments

Comments

@mfides
Copy link

mfides commented Sep 3, 2024

Hi,
Using Nextor 2.12, allocating a new 512 block to an existing open file seems to cause immediate crash.
It happens easily with akid, when editing a file an saving changes after adding enough text to pass the next 512 byte boundary in file length.
Steps to reproduce:

  1. Create a file in akid with close to 512 bytes, i.e. 510 bytes, then save it and check the file size
  2. Edit it again and add some more bytes to cross the boundary of 512 bytes
  3. Nextor hangs, some times even causing a reboot. File is modified but remains in previous size or truncated in the 512 byte boundary (no new blocks seem to have been allocated?)
  • The test is done in a fat16 partition <- fat12 seems to fail just the same
  • The file size boundary does not need to require a new cluster (it happens with in-cluster increase too)
    (Example file included)

TEST1.TXT

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

1 participant