Opened 14 years ago

Last modified 14 years ago

#256 closed defect

Assertion failed (idxp->pfc) at file 'fat_ops.c', line 295. — at Version 3

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/fs/fat Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description (last modified by Jakub Jermář)

Running changeset:lp:~jakub/helenos/fs,165, which was merged into changeset:mainline,625 I occasionally hit the following assertion:

  Assertion failed (idxp->pfc) at file 'fat_ops.c', line 295.

when unlinking a file which is being written to (using the setup from ticket #255 + unlinking the large file at some point).

Change History (5)

comment:1 by Jakub Jermář, 14 years ago

The corresponding line in fat_ops.c is from the beginning of fat_node_get_core():

       /*
         * We must instantiate the node from the file system.
         */

        assert(idxp->pfc);

        rc = fat_node_get_new(&nodep);
        ...

by Jakub Jermář, 14 years ago

Attachment: Screenshot-QEMU-1.png added

Kernel console displaying the stack trace.

by Jakub Jermář, 14 years ago

Attachment: fat.disasm.bz2 added

comment:2 by Jakub Jermář, 14 years ago

I have attached files required to reconstruct the whole stack trace.
From the stack trace, the calling sequence is:

fat_write() → fat_node_get_core() → assert()

comment:3 by Jakub Jermář, 14 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.