Bug0006
- Description
- LoadFS fails on my Edgy amd64
iowrapper/dbtool segfaults when loading a filesystem. There are two issues:
1. The segfault is due to a bug in dbtool.c where I was not looking at the status of img_open before doing an fs_open, I've since fixed this issue so that it exits with an exception rather than a segfault.
2. iowrapper does not hook __xstat which seems to be what dbtool is doing. If I change the bogus filename from 'foo' to something which exists (e.g. /etc/passwd) it does actually work, it is only the stat which fails, reads are obviously hooked correctly.
Are we moving away from hooking (toward afflib) for fs loading or should we fix iowrapper to hook this stat function?
Attach backtrace here.
- Logged
- 2006-11-07
- Logged By
- 203.6.114.4
- Assigned to
- Status
- Close
Get back to the BugIndex
DaveC: This is no longer an issue as we don't use hooker anymore. Will leave the bug open until hooker gets removed completely
Scudette: Hooker is no longer being used anywhere.
