Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 5 years ago

Closed 5 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 Changed 5 years ago by Jiri Svoboda

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.