Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8785

Windows debug version of mongod.exe or mongos.exe gets stack overflow on ctrl-C on older Windows

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None
    • ALL

    Description

      Windows XP and Windows Server 2003 provide a 256 KB stack for the thread that is created for the callback registered with the SetConsoleCtrlHandler() API. This callback runs when ctrl-C is pressed.

      This small stack size conflicts with the StackChecker structure we create in debug builds.

      The StackChecker structure is larger than 256 KB, so there is an immediate stack overflow on the call to the routine where it is declared.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: