[SERVER-6043] exception caught in FileAllocator on Windows Created: 08/Jun/12  Updated: 08/Jun/12  Resolved: 08/Jun/12

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

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Ben Becker
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-5819 Use FileAllocator on Windows Closed
Operating System: ALL
Participants:

 Description   

Fri Jun 08 05:56:46 [FileAllocator] error: couldn't rename /data/db/sconsTests/_tmp/18467 to /data/db/sconsTests/test.2 errno:0 The operation completed successfully.
Fri Jun 08 05:56:46 [FileAllocator] error failed to allocate new file: /data/db/sconsTests/test.2 size: 268435456 errno:0 The operation completed successfully.
Fri Jun 08 05:56:46 [FileAllocator]     will try again in 10 seconds
Fri Jun 08 05:56:46 [FileAllocator] Assertion: 13294:caught exception: boost::filesystem::remove: The process cannot access the file because it is being used by another process: "\data\db\sconsTests\test.2" src\mongo\util\file_allocator.cpp 319
mongod.exe    ...\src\mongo\util\stacktrace.cpp(172)                                      mongo::printStackTrace+0x101
mongod.exe    ...\src\mongo\util\assert_util.cpp(154)                                     mongo::msgasserted+0xe3
mongod.exe    ...\src\mongo\util\file_allocator.cpp(319)                                  `mongo::FileAllocator::run'::`1'::catch$2+0xa4
mongod.exe    f:\dd\vctools\crt_bld\SELF_64_amd64\crt\prebuild\eh\amd64\handlers.asm(44)  _CallSettingFrame+0x20
mongod.exe    f:\dd\vctools\crt_bld\self_64_amd64\crt\prebuild\eh\frame.cpp(1337)         __CxxCallCatchBlock+0xeb
ntdll.dll                                                                                 RtlRestoreContext+0x2e2
mongod.exe    ...\src\mongo\util\file_allocator.cpp(319)                                  `mongo::FileAllocator::run'::`1'::catch$5+0x1a9
mongod.exe    f:\dd\vctools\crt_bld\SELF_64_amd64\crt\prebuild\eh\amd64\handlers.asm(44)  _CallSettingFrame+0x20
mongod.exe    f:\dd\vctools\crt_bld\self_64_amd64\crt\prebuild\eh\frame.cpp(1337)         __CxxCallCatchBlock+0xeb
ntdll.dll                                                                                 RtlRestoreContext+0x2e2
mongod.exe    ...\src\mongo\util\file_allocator.cpp(300)                                  mongo::FileAllocator::run+0x67d
mongod.exe    ...\src\third_party\boost\libs\thread\src\win32\thread.cpp(180)             boost::`anonymous namespace'::thread_start_function+0x21
mongod.exe    f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(314)                 _callthreadstartex+0x17
mongod.exe    f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(292)                 _threadstartex+0x7f
kernel32.dll                                                                              BaseThreadInitThunk+0xd
{
	"ns" : "test.big_object1",
	"count" : 4,
	"size" : 51,
	"avgObjSize" : 12.75,
	"storageSize" : 185,
	"numExtents" : 1,
	"nindexes" : 1,
	"lastExtentSize" : 185,
	"paddingFactor" : 1,
	"systemFlags" : 1,
	"userFlags" : 0,
	"totalIndexSize" : 0,
	"indexSizes" : {
		"_id_" : 0
	},
	"ok" : 1
}
assert: 15728640 is not less than 15667378 : A1
Error("Printing Stack Trace")@:0
()@src/mongo/shell/utils.js:37
("15728640 is not less than 15667378 : A1")@src/mongo/shell/utils.js:58
(15728640,15667378,"A1")@src/mongo/shell/utils.js:243
@D:\10gen\buildslaves\mongo\Windows_64bit_2008+_Nightly\mongo\jstests\big_object1.js:32

http://buildbot.mongodb.org/builders/Nightly%20Windows%2064-bit%202008%2B/builds/171/steps/test_1/logs/stdio


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