Re: Stack overflow crash.

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
21 Dec 1998 15:50:01 +0100


R.E.Wolff@BitWizard.nl (Rogier Wolff) writes:

|> I managed to crash my machine just now, and it seems to be caught
|> in a loop:
|>
|> do_page_fault+0x00
|> do_page_fault+0x1e
|> error_code+0x20
|> do_page_fault+0x00
|> do_page_fault+0x1e
|> error_code+0x20
|> do_page_fault+0x00
|> do_page_fault+0x1e
|> error_code+0x20
|>
|> eventually causing a stack overflow.
|>
|> This sounds to me as if it is getting a page fault while handling a
|> page fault. It seems to happen from an interrupt handler that I wrote,

If your interrupt handler causes a page fault then you are doing something
very wrong. An interrupt handler must never sleep.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/