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

Infinite loop in user32_winetest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Win32SS
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Created an attachment (id=3459)
      back teace

      When I run user32_winetest msg (and disable all the previous tests that hang/crash reactos) , it falls in an infinite loop and the result is that the stack grows so much that it stops in the following assertion in the kernel:
      Assertion '((PCHAR)Thread->Tcb.StackBase - (PCHAR)Thread->Tcb.StackLimit) <= (KERNEL_LARGE_STACK_SIZE + PAGE_SIZE)' failed at ntoskrnl\mm\procsup.c line 263

      The test actually tests if the window proc of a window can create an infinite loop by adding a messge loop insiede the window proc. However the measure of the test to decide if it is indeed in an infinite loop is 256 recursive calls, but it needs just 50 recursiv calls to make the stack too big to crash the kernel.

      The backtrace and the location of the infinite loop is in the attached file

      Attachments

        Activity

          People

            jimtabor jimtabor
            Smiley Giannis Adamopoulos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: