Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6043

exception caught in FileAllocator on Windows

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      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

            Assignee:
            benjamin.becker Ben Becker
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: