X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Ffound_bugs.txt;h=e24443c103e2a5efb6d87dae5c8ac6f1eb9ab98f;hp=b64403ef5695614e62c99a8eb9c07d7008db2db3;hb=c118b37070fa47650ca61c8c740da7461450d139;hpb=0f588711ff1dc901d07f79e3f8ca64137da81602 diff --git a/direct/timothy_tests/found_bugs.txt b/direct/timothy_tests/found_bugs.txt index b64403e..e24443c 100644 --- a/direct/timothy_tests/found_bugs.txt +++ b/direct/timothy_tests/found_bugs.txt @@ -4,6 +4,55 @@ Error code 0 bug (run out of handles) By opening lots of files and not closing them yaffs can run out of handles. The error code given by yaffs_get_error() returns 0. this error is not defined in yportenv.h -ENOENT error when opening a new file with O_CREATE - remove the emfile and use seed 1288064149 to generate this error. +ENOENT error is generated when opening a new file with O_CREATE. + This should not be happening and has been logged as an error. + To regenerate this error remove the emfile and use the seed 1288064149 + +EACCES error + This program tries to open a new file in yaffs. The yaffs_open() function returns a -1 handle and gives an error of EACCES. + This bug only seems to happen when the emfile has a lot of files in it. + +Mkdir with slash error + Yaffs' mkdir function will not work if the path ends in a slash. + i.e. /yaffs2/new_dir/ + This is a known bug and is not likely to be fixed. + To get around this bug remove the slash on the end. + i.e. /yaffs2/new_dir + + + +BUG in yaffs caused by the program yaffs_importer.py in /direct/python/ + when the emfile is full yaffs gives these errors when trying to open a file: + +('adding path ', '/yaffs2/', ' to ', 'yaffs2/direct/basic-test/yaffs_tagscompat.o', ' resulting path: ', '/yaffs2/yaffs2/direct/basic-test/yaffs_tagscompat.o') +('creating file:', '/yaffs2/yaffs2/direct/basic-test/yaffs_tagscompat.o') +('mode', 33188) +opening file +erase block 248 +('current_handle', -1) +yaffs free space: 0 +yaffs is out of space exiting program +error with yaffs lseeking +error###################################### +('error code', -9) +error message EBADF +('length of data to be written', 25944) +('error writing file:', -1) +error###################################### +('error code', -9) +error message EBADF +('error truncating file:', -1) +error###################################### +('error code', -9) +error message EBADF +('error closing file:', -1) +error###################################### +('error code', -9) +error message EBADF +('error chmoding file:', -1) +error###################################### +('error code', -2) +error message ENOENT + + yaffs should be giving a no memory error insted of a EBADF.