iondbproject / iondb

IonDB, a key-value datastore for resource constrained systems.
BSD 3-Clause "New" or "Revised" License
587 stars 48 forks source link

Flatfile handler unit test case failing (handler test @ line 123) #18

Closed iondbproject closed 8 years ago

iondbproject commented 8 years ago

The assertion of 0 != feof(file_ptr) is failing. This causes the flatfile to not be closed, and thus file.bin is not deleted, which causes a segfault in later tests (as the dictionary cannot be successfully created if file.bin exists).

To fix: Investigate whether or not the assertion is semantically valid, and adjust code to suit.

iondbproject commented 8 years ago

Cause of crash has been identified, and issue has been resolved.