Ticket #256 (closed defect: duplicate)

Opened 21 months ago

Last modified 21 months ago

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

Reported by: jermar 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 jermar) (diff)

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).

Attachments

Screenshot-QEMU-1.png Download (25.6 KB) - added by jermar 21 months ago.
Kernel console displaying the stack trace.
fat.disasm.bz2 Download (177.9 KB) - added by jermar 21 months ago.

Change History

comment:1 Changed 21 months ago by jermar

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);
        ...

Changed 21 months ago by jermar

Kernel console displaying the stack trace.

Changed 21 months ago by jermar

comment:2 Changed 21 months ago by jermar

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 Changed 21 months ago by jermar

  • Description modified (diff)

comment:4 Changed 21 months ago by jermar

  • Status changed from new to closed
  • Resolution set to duplicate

I cannot reproduce this after jakub@…, so hopefully the root cause is the same. Closing as a duplicate.

Note: See TracTickets for help on using tickets.