Coda File System

update: cvs Coda on Darwin

From: Ivan Popov <pin_at_medic.chalmers.se>
Date: Wed, 6 Oct 2004 17:34:56 +0200
> The funny thing is, if I run it with -d #, it does not crash,
> and even after that on restarts it does _not_ crash, the success persists.

It was not exactly that, it seems that it depended on the first
access after a restart being "before or after" the daemonizing...

Now that I took away the daemonizing, it works about as well as 6.0.6,
though cunlog without parameters crashes venus:

$ cunlog
17:33:44 Fatal Signal (10); pid 567 becoming a zombie...
17:33:44 You may use gdb to attach to 567

It happens when cunlog sends an empty string as the realm name,
and can be expected, given the following in
 coda-src/venus/vproc_pioctl.cc
--------------------------------------------------------------------
                case _VIOCUNLOG:
                    {
                    Realm *realm = REALMDB->GetRealm(data->in);
                    userent *ue = realm->GetUser(u.u_uid);
                                  ^^^^^^^^^^^^^^
--------------------------------------------------------------------

I think GetRealm("") returns NULL ...

Regards,
--
Ivan
Received on 2004-10-06 11:35:53