[SERVER-12417] mongostat.exe crashes on windows on shutdown Created: 21/Jan/14  Updated: 11/Jul/16  Resolved: 21/Jan/14

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 2.5.5
Fix Version/s: 2.5.5

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

When a user hits Control-C on mongostat.exe on Windows, ExitProcess is called which calls the static destructors and ultimately calls the destructor of
pidFileWiper which has not been initialized. This causes mongostat.exe to crash and produce a crash dialog box on Windows.



 Comments   
Comment by Githook User [ 21/Jan/14 ]

Author:

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

Message: SERVER-12417: Fix PidFileWiper destructor on Windows
Branch: master
https://github.com/mongodb/mongo/commit/faf2c75e163fc72c37f25725adc39ca1b314b9b5

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