Hi, Fritz found a bug in chkdsk 0.9.1 and it seems that the absence of subdirectories triggers the bug. Details:
- at some point, CreateFastTreeMap creates a map / bitfield - CompressFastTreeMap calls ConvertTreeMaps and that collects no entries (either the initial list is empty or all entries of the list are false / empty or something like that?) - ConvertTreeMaps should probably be able to work with this case, but instead, it tries to create a zero entry bitfield - CreateBitField refuses to create the 0 sized bitfield and chkdsk aborts with the message: > Assertion failed: size, file bitfield.c, line 34 > Abnormal program termination To reproduce, simply chkdsk a disk (for example floppy) which has no subdirectories :-). Imre, are you available for fixing this? If not, please let us know so we can find somebody with the right compilers... Thanks for fixing :-) Eric PS: Any idea about the other CHKDSK bug where CHKDSK says that a file "should be about 4 GB size" instead of its actual size? Probably some sort of "small negative value meant to be used as error flag is ab-used as unsigned bytes or cluster count"? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel