[SERVER-14840] FAssert on windows after long running create and drop database test Created: 08/Aug/14  Updated: 06/Dec/22  Resolved: 15/Nov/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 2.6.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Andrew Emil (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Duplicate Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Azure


Attachments: File load-drop.js    
Issue Links:
Related
is related to SERVER-3403 Server crash - MapViewOfFileEx failed... Closed
is related to SERVER-10516 mongod crashes when re-mapping above ... Closed
is related to SERVER-2942 MapViewOfFileEx failed during large i... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Operating System: Windows
Participants:

 Description   

Running the attached test against a windows 2.6.4-pre standalone mongod on Azure (with read+write caching) for a few days, the server crashed.

The test spawns two threads: One continually inserts; the other drops the database every few seconds.



 Comments   
Comment by Eric Milkie [ 15/Nov/16 ]

SERVER-23977

Comment by Andrew Emil (Inactive) [ 08/Aug/14 ]

2014-08-07T23:45:09.933+0000 [conn107] dropDatabase test finished
2014-08-07T23:45:09.933+0000 [conn107] command test.$cmd command: dropDatabase { dropDatabase: 1.0 } keyUpdates:0 numYields:0 locks(micros) W:2486442 reslen:55 2486ms
2014-08-07T23:45:09.933+0000 [conn103] command admin.$cmd command: serverStatus { serverStatus: 1 } ntoreturn:1 keyUpdates:0 numYields:0 locks(micros) r:22 reslen:3439 1535ms
2014-08-07T23:45:09.933+0000 [FileAllocator] allocating new datafile G:\data\test.ns, filling with zeroes...
2014-08-07T23:45:09.933+0000 [FileAllocator] done allocating datafile G:\data\test.ns, size: 16MB,  took 0 secs
2014-08-07T23:45:09.948+0000 [FileAllocator] allocating new datafile G:\data\test.0, filling with zeroes...
2014-08-07T23:45:09.948+0000 [FileAllocator] done allocating datafile G:\data\test.0, size: 64MB,  took 0 secs
2014-08-07T23:45:09.948+0000 [conn108] MapViewOfFileEx for G:\data\test.0 at address 000007F631C00000 failed with errno:487 Attempt to access invalid address. (file size is 67108864) in MemoryMappedFile::map
2014-08-07T23:45:09.948+0000 [conn108] test.willdrop Fatal Assertion 16166
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\util\stacktrace.cpp(169)                             mongo::printStackTrace+0x43
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\util\log.cpp(127)                                    mongo::logContext+0x9c
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\util\assert_util.cpp(139)                            mongo::fassertFailed+0x84
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\util\mmap_win.cpp(217)                               mongo::MemoryMappedFile::map+0x69d
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\storage\durable_mapped_file.cpp(150)              mongo::DurableMappedFile::create+0xea
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\storage\data_file.cpp(146)                        mongo::DataFile::open+0x202
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\storage\extent_manager.cpp(157)                   mongo::ExtentManager::getFile+0x4a5
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\storage\extent_manager.cpp(384)                   mongo::ExtentManager::createExtent+0x11a
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\storage\extent_manager.cpp(489)                   mongo::ExtentManager::increaseStorageSize+0x82
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\catalog\collection.cpp(444)                       mongo::Collection::increaseStorageSize+0x8e
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\catalog\database.cpp(735)                         mongo::Database::createCollection+0x612
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\catalog\database.cpp(804)                         mongo::Database::_addNamespaceToCatalog+0x27d
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\catalog\database.cpp(688)                         mongo::Database::createCollection+0x4c3
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(944)   mongo::WriteBatchExecutor::ExecInsertsState::_lockAndCheckImpl+0x299
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(987)   mongo::insertOne+0x12b
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(1031)  mongo::WriteBatchExecutor::execOneInsert+0xaf
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(837)   mongo::WriteBatchExecutor::execInserts+0x130
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(713)   mongo::WriteBatchExecutor::bulkExecute+0x52
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(249)   mongo::WriteBatchExecutor::executeBatch+0xb6c
2014-08-07T23:45:12.326+0000 [conn108] mongod.exe  ...\src\mongo\db\commands\write_commands\write_commands.cpp(146)   mongo::WriteCmd::run+0x1e6
2014-08-07T23:45:12.326+0000 [conn108] test.willdrop 
2014-08-07T23:45:12.326+0000 [conn108] 
 
***aborting after fassert() failure
 

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