Skip to content

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

@mfides

Description

@mfides

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixplementedThis bug has already been fixed/this feature has already been implemented in a released version

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions