Opened 10 years ago

Closed 10 years ago

#595 closed defect (fixed)

cdfs crash with HelenOS boot CD

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone: 0.6.0
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

In Qemu, ia32:

# cdfs
# mkdir /cdrom
# cd /loc
# mount cdfs /cdrom devices\hw\pci0\00:01.0\ata-c2-d0
# cd /cdrom
# ls
# cd BOOT
# ls
# cd GRUB
# ls
# cd I386_PC
Assertion failed (node->type == CDFS_DIRECTORY) in file "cdfs_ops.c", line 251.
...

Note that if you skip some of the 'ls' the crash will occur later - it seems it crashes while resizing the nodes hash table.

Change History (1)

comment:1 by Jiri Svoboda, 10 years ago

Resolution: fixed
Status: newclosed

The remove callback did not work for file nodes. Also, hash_table_apply() left apply_ongoing set if the walk was terminated by the callback function returning false. Fixed in mainline,2157.

Note: See TracTickets for help on using tickets.