crashme panic
Sascha Wildner
saw at online.de
Sun Apr 2 12:29:06 PDT 2006
Matthew Dillon wrote:
:dim# crashme +2000 666 100 1:00:00 5
:
:Regards,
:Sascha
:
:--
:http://yoyodyne.ath.cx
That did it.
I think I've figured it out. The floating point exception is installed
as a trap-gate, which leaves interrupts enabled. If an interrupt occurs
just as the FP exception occurs it can change the state of the FPU
and confuse npx_intr().
Try this patch out and tell me if you still get the panic. It isn't
the 'real' fix, but it will tell us if that is the problem. The
crash does not seem to occur with the patch.
The real fix is going to be simply to make npx_intr() and npxdna()
handle each other's cases as well as their own, and then get rid of
the assertion. I think I also need to have them go into a critical
section.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
Yea,
it seems to no longer panic here either. I have it running for ~15
minutes now.
Sascha
--
http://yoyodyne.ath.cx
More information about the Bugs
mailing list