(audit?) Panic in 6.2-PRERELEASE
Ceri Davies
ceri at submonkey.net
Sun Jan 7 18:57:24 UTC 2007
On Sun, Jan 07, 2007 at 06:05:39PM +0000, Robert Watson wrote:
>
> On Sun, 7 Jan 2007, Ceri Davies wrote:
>
> >>Could you try printing *td->td_ar? Maybe this will give us a clue as to
> >>how far it got. In particular, this may be able to more reliably give us
> >>the file descriptor number, which is audited early in the system call.
> >>You might find that 'td' is corrupted in many layers of the stack, keep
> >>going up until you find one where it's good. It may well be that
> >>td->td_ar->k_ar.ar_arg_fd is correct, and might confirm that uap->fd is
> >>correct still. We'd like also to know if ARG_SOCKINFO, ARG_VNODE1, or
> >>ARG_VNODE2 is set in the k_ar.ar_valid_arg field. This may tell us some
> >>more about the file descriptor even though it appears to have vanished.
> >
> >*td->td_ar is null (0x0) in both cases...
>
> I'm actually beginning to wonder if this is actually audit-related at all.
> Something is clearly not right, and the audit code should not actually have
> been entered at all there. Perhaps we're being mislead by the stack trace
> corruption into thinking audit is involved.
I've wondered the same.
> >>I'm quite worried by the fact that the file descriptor seems not to be
> >>present any more -- this suggests a file descriptor related race of the
> >>sort that is both quite difficult to figure out and also quite a risk.
> >>It's strange that it would only trigger with audit, however--perhaps
> >>audit stretches out the race. Is this an SMP box?
> >
> >It's certainly looking quite nasty. This system is UP hardware without
> >options SMP.
> >
> >...
> >
> >If it's at all useful, I can provide access to this system and the dumps.
>
> Yeah, I think at this point that would probably be the most helpful thing.
OK, you should be able to log in as rwatson at submonkey.net with your
freefall key. Details in ~rwatson/README once you're logged in.
> Could you confirm that the kernel.debug you're using definitely matches the
> version of the kernel in the core dump?
Yes, definitely.
Thanks again,
Ceri
--
That must be wonderful! I don't understand it at all.
-- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070107/4436c9ea/attachment.pgp
More information about the freebsd-stable
mailing list