Bug #535

Crash on shutdown

This problem also occured in preview from dec. 28 or so, but I thought recent updates fixed it, I am on the development branch as of 2007-01-22, and it occurs there as well, on every shutdown/reboot. The pictures of the crash are here:

History

:This problem also occured in preview from dec. 28 or so, but I thought recent updates fixed it, I am on the development branch as of 2007-01-22, and it occurs there as well, on every shutdown/reboot. The pictures of the crash are here:
:
:http://rnrdoctor.sytes.net/~szg/dfcrash/20070123/
:
:I haven't made core dumps, I will provide some if needed, I'll also provide dmesg etc. on request.
:TIA for looking into the issue.
:
:--
:Gergo Szakal <bastyaelvtars@gmail.com>

It is possible that this is related to Vincent's NFS mount bug report.
I have just committed a fix for that.

If you could update head (you should get rev 1.112 of
/usr/src/sys/kern/vfs_syscals.c) and try again, I would appreciate it.

:No, that does not fix the issue. :-(
:
:>
:> If it still fails I will need a crash dump.
:
:Picture of crash and tar'd dump available at:
:
:http://rnrdoctor.sytes.net/~szg/dfcrash/20070124/
:
:(Please, please, implement minidumps from freebsd :-P j/k)
:
:--
:Gergo Szakal <bastyaelvtars@gmail.com>
:University Of Szeged, HU
:Faculty Of General Medicine

The problem is that the init process is still runnable when the
shutdown code gets to the point where it removes all remaining filesystem
references. The init process then seg-faults and tries to core dump,
but there is no longer any current directory for it.

Please try this hack and tell me if it works. The real solution is
a bit more complex.