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

Windows: net stop service does not do clean shutdown

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc5
    • Affects Version/s: 2.8.0-rc1, 2.8.0-rc2
    • Component/s: Admin
    • Labels:
      None
    • Fully Compatible
    • ALL

      The steps to reproduce are same as in SERVER-16085. It still throws the same error as in SERVER-16085 even if the service was stopped.

      following is the stack trace:

      0:012> g
      (19c4.1794): Break instruction exception - code 80000003 (first chance)
      *** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\KERNELBASE.dll - 
      KERNELBASE!DebugBreak+0x2:
      00007ff9`405da26a cc              int     3
      0:000> k
      Child-SP          RetAddr           Call Site
      00000036`cd9ce428 00007ff6`9e1a8652 KERNELBASE!DebugBreak+0x2
      00000036`cd9ce430 00007ff6`9e19726a mongod!mongo::mongo_breakpoint+0x22 [d:\mongo\src\mongo\util\debug_util.cpp @ 60]
      00000036`cd9ce460 00007ff6`9e1956a8 mongod!mongo::breakpoint+0x1a [d:\mongo\src\mongo\util\debug_util.h @ 74]
      00000036`cd9ce490 00007ff6`9d6b620d mongod!mongo::invariantFailed+0xe8 [d:\mongo\src\mongo\util\assert_util.cpp @ 146]
      00000036`cd9ce5d0 00007ff6`9d6b2d10 mongod!mongo::LockerImpl<0>::assertEmpty+0xfd [d:\mongo\src\mongo\db\concurrency\lock_state.cpp @ 185]
      00000036`cd9ce610 00007ff6`9d90716c mongod!mongo::LockerImpl<0>::~LockerImpl<0>+0x40 [d:\mongo\src\mongo\db\concurrency\lock_state.cpp @ 266]
      00000036`cd9ce650 00007ff6`9e2067e1 mongod!mongo::exitCleanly+0x21c [d:\mongo\src\mongo\db\instance.cpp @ 1131]
      00000036`cd9cf200 00007ff6`9e206610 mongod!mongo::ntservice::serviceShutdown+0x111 [d:\mongo\src\mongo\util\ntservice.cpp @ 551]
      *** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\SYSTEM32\sechost.dll - 
      00000036`cd9cf2d0 00007ff9`40838dfe mongod!mongo::ntservice::serviceCtrl+0x40 [d:\mongo\src\mongo\util\ntservice.cpp @ 557]
      00000036`cd9cf310 00007ff9`40818765 sechost!EnumDependentServicesW+0x102
      00000036`cd9cf420 00007ff6`9e2051a9 sechost!StartServiceCtrlDispatcherW+0x59
      00000036`cd9cf460 00007ff6`9ecc50b1 mongod!mongo::ntservice::startService+0x109 [d:\mongo\src\mongo\util\ntservice.cpp @ 574]
      00000036`cd9cf590 00007ff6`9ecc51a8 mongod!mongoDbMain+0x2a1 [d:\mongo\src\mongo\db\db.cpp @ 869]
      00000036`cd9cf770 00007ff6`9eccb9cd mongod!wmain+0x78 [d:\mongo\src\mongo\db\db.cpp @ 668]
      00000036`cd9cf7e0 00007ff6`9eccbafe mongod!__tmainCRTStartup+0x19d [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c @ 623]
      *** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\KERNEL32.DLL - 
      00000036`cd9cf850 00007ff9`409f16ad mongod!wmainCRTStartup+0xe [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c @ 466]
      00000036`cd9cf880 00007ff9`42de4409 KERNEL32!BaseThreadInitThunk+0xd
      00000036`cd9cf8b0 00000000`00000000 ntdll!RtlUserThreadStart+0x1d
      

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            jalpa.trivedi@mongodb.com Jalpa Trivedi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: