From: Ricardo C. <sou...@wi...> - 2007-01-22 17:58:20
|
Hi, One of my users is having a problem where he runs 'find' on the filesystem, interrupts it with CTRL-C and the filesystem crashes with a double free() or with a segfault. I have not been able to reproduce this, though. He is using FUSE-2.5.3, SMP kernel 2.6.19, Debian Etch (4.0). The backtraces appear to be messed up but they seem to point to the FUSE library. The last stack frame was in fuse_reply_none() which, AFAICS, is only being called by the default fuse_forget() (my filesystem isn't using the "forget" operation). I have asked him to run the filesystem under valgrind, but in the mean time I have a question. I suspect this could be the problem, but I'm not sure. This is what I'm doing for almost every operation: int error = -fuse_reply_xxx(req, ...); if(error) fuse_reply_err(req, error); Is this valid usage, considering possible errors in sending the replies? Thanks. |