Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-14449

Stack overflow in interrupt handlers, BSOD 0x7F

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 0.4.9
    • NTCore

    Description

      CORE-14076 apparently still does not fix all cases where we can cause a stack overflow during an interrupt storm.

      As Serge pointed out, here's an example failure:
      https://build.reactos.org/builders/Test%20KVM/builds/19643/steps/test/logs/stdio

      *** Fatal System Error: 0x0000007f
                             (0x00000008,0x00000000,0x00000000,0x00000000)
       
      
      Entered debugger on embedded INT3 at 0x0008:0x8094c304.
      kdb:>
       bt
      Eip:
      <NTOSKRNL.EXE:14c305 (:0 (RtlpBreakWithStatusInstruction))>
      Frames:
      <NTOSKRNL.EXE:8810d (ntoskrnl/ke/bug.c:1100 (KeBugCheckWithTf))>
      <NTOSKRNL.EXE:12b4af (ntoskrnl/ke/i386/exp.c:1144 (KiSystemFatalException))>
      <NTOSKRNL.EXE:12f533 (ntoskrnl/ke/i386/traphdlr.c:856 (KiTrap08Handler))>
      <NTOSKRNL.EXE:335e (:0 (KiTrap08))>
      <HAL.DLL:55c0 (hal/halx86/generic/portio.c:52 (READ_PORT_UCHAR))>
      <uniata.sys:f2e1>
      <uniata.sys:4fd1>
      <uniata.sys:c70b>
      <scsiport.sys:1442>
      <NTOSKRNL.EXE:12b69b (sdk/include/crt/mingw32/intrin_x86.h:95 (KiInterruptDispatch))>
      <NTOSKRNL.EXE:12babe (ntoskrnl/ke/i386/irqobj.c:315 (KiInterruptTemplateHandler))>
      <f77db1e4>
      <NTOSKRNL.EXE:12cce6 (sdk/include/crt/mingw32/intrin_x86.h:1682 (KiSwapContextExit))>
      <NTOSKRNL.EXE:28bc (:0 (KiSwitchThreads))>
      <HAL.DLL:a2ce (hal/halx86/up/pic.c:1278 (HalpDispatchInterrupt2ndEntry))>
      <f77ddca0>
      <f77ddca0>
      <f77ddca0>
      [...]
      <f77ddca0>
      <f77ddca0>
      <b244dd98>
      <f77ddc83>
      <NTOSKRNL.EXE:12babe (ntoskrnl/ke/i386/irqobj.c:315 (KiInterruptTemplateHandler))>
      <f77ddd5c>
      <NTOSKRNL.EXE:df41a (ntoskrnl/mm/ARM3/zeropage.c:104 (MmZeroPageThread))>
      <NTOSKRNL.EXE:34c12 (ntoskrnl/ex/init.c:2018 (Phase1Initialization))>
      <NTOSKRNL.EXE:1155d4 (ntoskrnl/ps/thread.c:156 (PspSystemThreadStartup))>
      <NTOSKRNL.EXE:12c919 (ntoskrnl/ke/i386/thrdini.c:78 (KiThreadStartup))>
      <NTOSKRNL.EXE:11559b (ntoskrnl/ps/state.c:565 (NtQueueApcThread))>

      Attachments

        Issue Links

          Activity

            People

              ThFabba ThFabba
              ThFabba ThFabba
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: