[SERVER-2839] mongo.exe crashes on windows 7 x64 on startup Created: 25/Mar/11  Updated: 12/Jul/16  Resolved: 05/Apr/11

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 1.9.0
Fix Version/s: 1.9.0

Type: Bug Priority: Blocker - P1
Reporter: Sridhar Nanjundeswaran Assignee: Mathias Stearn
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 x64. Latest nightly 2001-03025 build mongoshell version 1.9.0-pre-


Attachments: Text File 0001-SERVER-2839-fix-crash-in-Windows-7.patch    
Operating System: ALL
Participants:

 Description   

C:\mongo\mongodb-win32-x86_64-2011-03-25\bin>mongo.exe -verbose
MongoDB shell version: 1.9.0-pre-
Fri Mar 25 12:20:46 versionCmpTest passed
Fri Mar 25 12:20:46 versionArrayTest passed
connecting to: test
Fri Mar 25 12:20:46 creating new connection to:127.0.0.1
Fri Mar 25 12:20:46 BackgroundJob starting:
and crashes.
From the eventviewer
Faulting application name: mongo.exe, version: 0.0.0.0, time stamp: 0x4d8c3fd2
Faulting module name: kernel32.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdfdf
Exception code: 0xc0000005
Fault offset: 0x0000000000041bea
Faulting process id: 0x6c
Faulting application start time: 0x01cbeb21db1b7910
Faulting application path: C:\mongo\mongodb-win32-x86_64-2011-03-25\bin\mongo.exe
Faulting module path: C:\Windows\system32\kernel32.dll
Report Id: 18d4e4d0-5715-11e0-a505-f36a4ca9bbd5

BTW starting the shell with --eval works
C:\mongo\mongodb-win32-x86_64-2011-03-25\bin>mongo.exe --eval "printjson(db.stats())"
MongoDB shell version: 1.9.0-pre-
connecting to: test
{
"db" : "test",
"collections" : 7,
"objects" : 27,
"avgObjSize" : 52.592592592592595,
"dataSize" : 1420,
"storageSize" : 28928,
"numExtents" : 7,
"indexes" : 5,
"indexSize" : 40960,
"fileSize" : 67108864,
"ok" : 1
}



 Comments   
Comment by Sridhar Nanjundeswaran [ 05/Apr/11 ]

Tested with Development Release mongodb-win32-x86_64-2011-04-05

Comment by auto [ 04/Apr/11 ]

Author:

{u'login': u'testn', u'name': u'Testo', u'email': u'test1@doramail.com'}

Message: SERVER-2839: fix crash in Windows 7
Branch: master
https://github.com/mongodb/mongo/commit/cd972a701d67dcc3110bf69db44b97ddee7f6583

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