-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Environment:buildbot Nightly Windows 64-bit DEBUG
buildbot Linux 32-bit debug
-
ALL
Mathias - memory allocation failure during testbugs.js. Should we handle memory pressure more gracefully, or is crashing the right thing to do in this case?
Nightly Windows 64-bit DEBUG Build #394 July 12 (rev 42b8033f86de)
http://buildbot.mongodb.org/builders/Nightly%20Windows%2064-bit%20DEBUG/builds/394/steps/test_15/logs/stdio
http://buildlogs.mongodb.org/Nightly%20Windows%2064-bit%20DEBUG/builds/394/test/aggregation/testbugs.js
Sat Jul 13 08:37:39.998 [clientcursormon] mem (MB) res:65 virt:821 Sat Jul 13 08:37:39.998 [clientcursormon] mapped (incl journal view):640 Sat Jul 13 08:37:39.998 [clientcursormon] connections:1 2013-07-13 08:39:18 EDT Sat Jul 13 08:39:18.076 [conn6] Sat Jul 13 08:39:18.076 DBClientCursor::init call() failed ---- query BSON { "noSuchField" : { "$exists" : true } } ---- Sat Jul 13 08:39:18.076 [conn6] ---- sort BSON {} ---- Sat Jul 13 08:39:18.076 [conn6] ---- fullName qa.server5932 ---- Sat Jul 13 08:39:18.076 [conn6] ERROR: Uncaught std::exception: bad allocation, terminating dbexit: Sat Jul 13 08:39:18.076 [conn6] shutdown: going to close listening sockets... Sat Jul 13 08:39:18.076 [conn6] closing listening socket: 460 Sat Jul 13 08:39:18.076 [conn6] closing listening socket: 536 Sat Jul 13 08:39:18.076 [conn6] shutdown: going to flush diaglog... Sat Jul 13 08:39:18.076 [conn6] shutdown: going to close sockets... Sat Jul 13 08:39:18.076 [conn6] shutdown: waiting for fs preallocator... Sat Jul 13 08:39:18.076 [conn6] shutdown: lock for final commit... Sat Jul 13 08:39:18.076 [conn6] shutdown: final commit... Sat Jul 13 08:39:18.092 [initandlisten] now exiting dbexit: ; exiting immediatelySat Jul 13 08:39:18.092 [initandlisten] thread initandlisten stack usage was 38472 bytes, which is the most so far Sat Jul 13 08:39:18.092 Error: error doing query: failed at src/mongo/shell/collection.js:54 Sat Jul 13 08:39:18.107 Error: error loading js file: jstests/aggregation/bugs/server5932.js at D:\slave\Windows_64bit_DEBUG_Nightly\mongo\jstests\aggregation\testbugs.js:16 failed to load: D:\slave\Windows_64bit_DEBUG_Nightly\mongo\jstests\aggregation\testbugs.js