|
If an exit is performed while a file in the StarKit VFS is opened for read
access, then a segmentation fault (and associated core dump) result.
This appears related to the size of the StarKit or data file in some way.
This may be a general VFS bug.
To see the bug, execute: ./BibleVerses.kit -noclose 1 -book foo |
|
The dependency on file size may be because very small files are not compressed,
this causes Tclkit (mk4vfs actually) to use logic which differs from de-compressing
reads, which are done on the fly.
You should be able to alter the behavior and avoid this problem with "set ::mk4vfs::zstreamed
0", which forces in-memory decompression and does not keep the file "open" in the
same way. |