Opened 15 years ago

Last modified 15 years ago

#180 closed defect

Tmpfs crashes when using FAT image on tmpfs — at Initial Version

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone: 0.4.2
Component: helenos/lib/c Version: mainline
Keywords: malloc Cc:
Blocker for: Depends on:
See also:

Description

As of revision head,236, if I create a disk image on tmpfs, create a FAT filesystem on it, mount it and create a file, it crashes. To reproduce, follow these steps:

# mkfile --size 2m /scratch/img
# file_bd /scratch/img bd/fdev0
# mkfat bd/fdev0
# mkdir /fat
# mount fat /fat bd/fdev0
# mkfile --size 32k /fat/test

The command appears to be hung, in klog we can see that Thread 0x80083000 crashed at 0x1af76 (_heap+0x7f76). FP = 0x80028438. The stack trace appears to be bogus:

  0x80028438: 0x1af76 (_heap+0x7f76)
Warning: udebug_mem_read() failed.

Change History (0)

Note: See TracTickets for help on using tickets.