DragonFly BSD
DragonFly bugs List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: crashme panic


To: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
From: Sascha Wildner <saw@xxxxxxxxx>
Date: Sun, 02 Apr 2006 21:29:06 +0200

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@xxxxxxxxxxxxx>

Yea,


it seems to no longer panic here either. I have it running for ~15 minutes now.

Sascha

--
http://yoyodyne.ath.cx



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]