[SERVER-16600] Windows: net stop service does not do clean shutdown Created: 18/Dec/14  Updated: 15/Jan/15  Resolved: 02/Jan/15

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 2.8.0-rc1, 2.8.0-rc2
Fix Version/s: 2.8.0-rc5

Type: Bug Priority: Major - P3
Reporter: Jalpa Trivedi (Inactive) Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-16600: Windows: net stop service does not do clean shutdown
Branch: master
https://github.com/mongodb/mongo/commit/463c8cdc37d0a0ed49066f9457e74f76b757118a

Generated at Thu Feb 08 03:41:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.