Coda File System

Re: venus crashes- what to look for in gdb/ coda wiki

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 1 Jul 2004 16:08:35 -0400
On Thu, Jul 01, 2004 at 03:54:51PM -0400, Jan Harkes wrote:
> The other crash you reported on the wiki (disconnected startup crash) is
> something I hadn't seen before. It is somewhat clear what is going on.
> Right after startup the fake /coda/ directory must be still empty and
> instead of returning ENOENT the directory handling code decided that
> this is unusual enough to trigger an assertion, I'll try to replace it
> with returning ENOENT back up to the caller. The only thing that puzzles
> me is why this doesn't happen every time we (re)start venus.

Looking at it a bit further, returning ENOENT is not the correct
solution here. Memory allocation for the directory data must have failed
when the fake directory object was created.

Jan
Received on 2004-07-01 16:13:14