﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
288	fat crashes on assert(idxp->pfc) in fat_node_get_core()	Jakub Jermář	Jakub Jermář	"In mainline,832, the following two commands:

{{{
# rm /log/klog
# ls
}}}

will make FAT hit the following assertion in fat_node_get_core():

{{{
        /*
         * We must instantiate the node from the file system.
         */

        assert(idxp->pfc);
}}}

''ls'' will report a problem after it printed two entries for ''srv'' and ''readme'':

{{{
ls: skipping bogus node //drv
}}}

After switching to kconsole, we can see a message about the failed assertion and also a stack trace, from which we can see the calling sequence:

{{{
fat_node_get_core()
fat_write()
}}}

I think the role of fat_write() can be substituted also by other callers of fat_node_get_core(), such as fat_sync()."	defect	closed	major	0.4.3	helenos/fs/fat		fixed					
