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

server segfaulted during loading of big file

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc0
    • Component/s: None
    • None
    • OS X

      OSX, using rc0 with storageEngine=wiredtiger.
      i was mongoimport-ing a big file and hit this error.

      2014-11-13T10:23:22.767-0500 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:51531 #4 (4 connections now open)
      2014-11-13T10:23:24.343-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  1431ms
      2014-11-13T10:23:27.391-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  2103ms
      2014-11-13T10:23:29.856-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  1434ms
      2014-11-13T10:23:32.304-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  1492ms
      2014-11-13T10:23:34.272-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  876ms
      2014-11-13T10:23:36.545-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  1284ms
      2014-11-13T10:23:38.173-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  673ms
      2014-11-13T10:23:39.837-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  675ms
      2014-11-13T10:23:41.436-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  490ms
      2014-11-13T10:23:43.207-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  810ms
      2014-11-13T10:23:44.855-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  678ms
      2014-11-13T10:23:46.436-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  629ms
      2014-11-13T10:23:48.030-0500 I WRITES   [conn2] insert test.test ninserted:100 keyUpdates:0 numYields:0  648ms
      2014-11-13T10:23:49.587-0500 F -        [conn2] Invalid access at address: 0x0
      2014-11-13T10:23:49.592-0500 F -        [conn2] Got signal: 11 (Segmentation fault: 11).
      
       0x108a53529 0x108a530ee 0x7fff853b2f1a 0x300b4000100b0 0x108e2d756 0x108e27a17 0x108e21dc7 0x108e216fb 0x108e0f453 0x108e1364c 0x108e33a79 0x108e0b859 0x108e468db 0x10887b186 0x1083c4cb1 0x1083c4a3d 0x108586bed 0x108587072 0x10858450c 0x108580def 0x1082c084d 0x108a15726 0x108a87c31 0x7fff8c9fd2fc 0x7fff8c9fd279 0x7fff8c9fb4b1
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"1082B7000","o":"79C529"},{"b":"1082B7000","o":"79C0EE"},{"b":"7FFF853AE000","o":"4F1A"},{"b":"0","o":"300B4000100B0"},{"b":"1082B7000","o":"B76756"},{"b":"1082B7000","o":"B70A17"},{"b":"1082B7000","o":"B6ADC7"},{"b":"1082B7000","o":"B6A6FB"},{"b":"1082B7000","o":"B58453"},{"b":"1082B7000","o":"B5C64C"},{"b":"1082B7000","o":"B7CA79"},{"b":"1082B7000","o":"B54859"},{"b":"1082B7000","o":"B8F8DB"},{"b":"1082B7000","o":"5C4186"},{"b":"1082B7000","o":"10DCB1"},{"b":"1082B7000","o":"10DA3D"},{"b":"1082B7000","o":"2CFBED"},{"b":"1082B7000","o":"2D0072"},{"b":"1082B7000","o":"2CD50C"},{"b":"1082B7000","o":"2C9DEF"},{"b":"1082B7000","o":"984D"},{"b":"1082B7000","o":"75E726"},{"b":"1082B7000","o":"7D0C31"},{"b":"7FFF8C9FA000","o":"32FC"},{"b":"7FFF8C9FA000","o":"3279"},{"b":"7FFF8C9FA000","o":"14B1"}],"processInfo":{ "mongodbVersion" : "2.8.0-rc0", "gitVersion" : "b6c4e2491c1442b05a160acda0d78001f56a2ade", "uname" : { "sysname" : "Darwin", "release" : "14.0.0", "version" : "Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64", "machine" : "x86_64" }, "somap" : [ { "path" : "/private/tmp/mongodb-osx-x86_64-2.8.0-rc0/./bin/mongod", "machType" : 2, "b" : "1082B7000", "buildId" : "D47BCDC8F92C37308186943350D47BE2" }, { "path" : "/usr/lib/libSystem.B.dylib", "machType" : 6, "b" : "7FFF93EFF000", "buildId" : "DA954461EC6A3DF085516FC810627627" }, { "path" : "/usr/lib/libc++.1.dylib", "machType" : 6, "b" : "7FFF8F66C000", "buildId" : "1B9530FD989B3174BB1CBDC159501710" }, { "path" : "/usr/lib/system/libcache.dylib", "machType" : 6, "b" : "7FFF9445A000", "buildId" : "45E9A2E799C436B2BEE30C4E11614AD1" }, { "path" : "/usr/lib/system/libcommonCrypto.dylib", "machType" : 6, "b" : "7FFF89D3C000", "buildId" : "D381EBC669D831D380845A80A32CB748" }, { "path" : "/usr/lib/system/libcompiler_rt.dylib", "machType" : 6, "b" : "7FFF8B191000", "buildId" : "BF8FC133EE103DA69B9092039E28678F" }, { "path" : "/usr/lib/system/libcopyfile.dylib", "machType" : 6, "b" : "7FFF94A4F000", "buildId" : "0C68D3A6ACDD3EF3991ACC82C32AB836" }, { "path" : "/usr/lib/system/libcorecrypto.dylib", "machType" : 6, "b" : "7FFF87B2A000", "buildId" : "E178980139853949B7366B3378873301" }, { "path" : "/usr/lib/system/libdispatch.dylib", "machType" : 6, "b" : "7FFF863E8000", "buildId" : "502CF32B669B3709886208188225E4F0" }, { "path" : "/usr/lib/system/libdyld.dylib", "machType" : 6, "b" : "7FFF8D9AD000", "buildId" : "19FAF435C16533749DEFD7BBA7D61DB6" }, { "path" : "/usr/lib/system/libkeymgr.dylib", "machType" : 6, "b" : "7FFF93850000", "buildId" : "77845842DE703CC5BD01C3D14227CED5" }, { "path" : "/usr/lib/system/liblaunch.dylib", "machType" : 6, "b" : "7FFF8F1BD000", "buildId" : "8A9889248BE735FEBF7D322E90EFE49E" }, { "path" : "/usr/lib/system/libmacho.dylib", "machType" : 6, "b" : "7FFF87BA7000", "buildId" : "126CA2EDDE91308F8881B9DAEC3C63B6" }, { "path" : "/usr/lib/system/libquarantine.dylib", "machType" : 6, "b" : "7FFF8E12E000", "buildId" : "DC0416272D92361CBABFA869A5C72293" }, { "path" : "/usr/lib/system/libremovefile.dylib", "machType" : 6, "b" : "7FFF8BC80000", "buildId" : "3485B5F46CE83C628DFD8736ED6E8531" }, { "path" : "/usr/lib/system/libsystem_asl.dylib", "machType" : 6, "b" : "7FFF8FB90000", "buildId" : "F153AC5B0542356E88C820A62CA704E2" }, { "path" : "/usr/lib/system/libsystem_blocks.dylib", "machType" : 6, "b" : "7FFF8811D000", "buildId" : "9615D10AFCA73BE4AA1A1B195DACE1A1" }, { "path" : "/usr/lib/system/libsystem_c.dylib", "machType" : 6, "b" : "7FFF87F2F000", "buildId" : "C185E86274243210B5286B822577A4B8" }, { "path" : "/usr/lib/system/libsystem_configuration.dylib", "machType" : 6, "b" : "7FFF8F1DA000", "buildId" : "9FBA1CE497D0347EA44393ED94512E92" }, { "path" : "/usr/lib/system/libsystem_coreservices.dylib", "machType" : 6, "b" : "7FFF8F315000", "buildId" : "41B7C5785A5331C8A96FC73E030B0938" }, { "path" : "/usr/lib/system/libsystem_coretls.dylib", "machType" : 6, "b" : "7FFF87EB4000", "buildId" : "EBBF7EF680D83F8F825CB412BD6D22C0" }, { "path" : "/usr/lib/system/libsystem_dnssd.dylib", "machType" : 6, "b" : "7FFF8D9A0000", "buildId" : "62B70ECAE40D3C63896E7F00EC386DDB" }, { "path" : "/usr/lib/system/libsystem_info.dylib", "machType" : 6, "b" : "7FFF89C71000", "buildId" : "B85A85D585303A93B0C34DEC41F79478" }, { "path" : "/usr/lib/system/libsystem_kernel.dylib", "machType" : 6, "b" : "7FFF89B55000", "buildId" : "93E0E0A975B63904BB4E4BC7C05F4B6B" }, { "path" : "/usr/lib/system/libsystem_m.dylib", "machType" : 6, "b" : "7FFF8E327000", "buildId" : "1E12AB456D9636D0A226F24D9FB0D9D6" }, { "path" : "/usr/lib/system/libsystem_malloc.dylib", "machType" : 6, "b" : "7FFF89D8B000", "buildId" : "19BCC25757173502A71F95D65AFA861B" }, { "path" : "/usr/lib/system/libsystem_network.dylib", "machType" : 6, "b" : "7FFF8C1B4000", "buildId" : "C0B2313D47BE38A9BEE62634A4F5E14B" }, { "path" : "/usr/lib/system/libsystem_networkextension.dylib", "machType" : 6, "b" : "7FFF8F782000", "buildId" : "29AB225BD7FB30ED960065D44B9A9442" }, { "path" : "/usr/lib/system/libsystem_notify.dylib", "machType" : 6, "b" : "7FFF88F44000", "buildId" : "61147800F3203DAA850CBADF33855F29" }, { "path" : "/usr/lib/system/libsystem_platform.dylib", "machType" : 6, "b" : "7FFF853AE000", "buildId" : "64E34079D7123D669CE2418624A5C040" }, { "path" : "/usr/lib/system/libsystem_pthread.dylib", "machType" : 6, "b" : "7FFF8C9FA000", "buildId" : "26B1897F0CD330F3B55A37CB45062D73" }, { "path" : "/usr/lib/system/libsystem_sandbox.dylib", "machType" : 6, "b" : "7FFF894DE000", "buildId" : "DB9962EF889831CC9B87E01F8CE74C9D" }, { "path" : "/usr/lib/system/libsystem_secinit.dylib", "machType" : 6, "b" : "7FFF91AA0000", "buildId" : "581DAD0F6B633A48B63B917AF799ABAA" }, { "path" : "/usr/lib/system/libsystem_stats.dylib", "machType" : 6, "b" : "7FFF8F979000", "buildId" : "1DB0443659743F1686CC5FF5F390339C" }, { "path" : "/usr/lib/system/libsystem_trace.dylib", "machType" : 6, "b" : "7FFF8F020000", "buildId" : "A9E6B7D8C3273742AC5486C94218B1DF" }, { "path" : "/usr/lib/system/libunc.dylib", "machType" : 6, "b" : "7FFF8C593000", "buildId" : "5676F7EAC1DF329FB006D2C3022B7D70" }, { "path" : "/usr/lib/system/libunwind.dylib", "machType" : 6, "b" : "7FFF94BB2000", "buildId" : "BE7E51A0B6EA3A549CCA9D88F683A6D6" }, { "path" : "/usr/lib/system/libxpc.dylib", "machType" : 6, "b" : "7FFF8C4D2000", "buildId" : "9437C02EA07B38C891CB299FAA63083D" }, { "path" : "/usr/lib/libobjc.A.dylib", "machType" : 6, "b" : "7FFF935C3000", "buildId" : "3B60CD9074A23A5D9686B0772159792A" }, { "path" : "/usr/lib/libauto.dylib", "machType" : 6, "b" : "7FFF8AC53000", "buildId" : "A260789BD4D8316A9490254767B8A5F1" }, { "path" : "/usr/lib/libc++abi.dylib", "machType" : 6, "b" : "7FFF87E85000", "buildId" : "88A22A0F87C63002BFBAAC0F2808B8B9" }, { "path" : "/usr/lib/libDiagnosticMessagesClient.dylib", "machType" : 6, "b" : "7FFF8E358000", "buildId" : "2EE8E4365CDC34C599595BA218D507FB" } ] }}
       mongod(_ZN5mongo15printStackTraceERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEE+0x39) [0x108a53529]
       mongod(_ZN5mongo12_GLOBAL__N_124abruptQuitWithAddrSignalEiP9__siginfoPv+0x11E) [0x108a530ee]
       libsystem_platform.dylib(_sigtramp+0x1A) [0x7fff853b2f1a]
       ??? [0x300b4000100b0]
       mongod(__rec_row_leaf_insert+0x96) [0x108e2d756]
       mongod(__wt_rec_write+0x2C27) [0x108e27a17]
       mongod(__rec_review+0x387) [0x108e21dc7]
       mongod(__wt_rec_evict+0x7B) [0x108e216fb]
       mongod(__wt_evict_page+0x33) [0x108e0f453]
       mongod(__wt_page_in_func+0x20C) [0x108e1364c]
       mongod(__wt_row_search+0x659) [0x108e33a79]
       mongod(__wt_btcur_insert+0x2B9) [0x108e0b859]
       mongod(__curfile_insert+0x2BB) [0x108e468db]
       mongod(_ZN5mongo21WiredTigerRecordStore12insertRecordEPNS_16OperationContextEPKcib+0x2A6) [0x10887b186]
       mongod(_ZN5mongo10Collection15_insertDocumentEPNS_16OperationContextERKNS_7BSONObjEb+0x101) [0x1083c4cb1]
       mongod(_ZN5mongo10Collection14insertDocumentEPNS_16OperationContextERKNS_7BSONObjEb+0x6D) [0x1083c4a3d]
       mongod(_ZN5mongo14checkAndInsertEPNS_16OperationContextERNS_6Client7ContextEPKcRNS_7BSONObjE+0x41D) [0x108586bed]
       mongod(_ZN5mongo11insertMultiEPNS_16OperationContextERNS_6Client7ContextEbPKcRNSt3__16vectorINS_7BSONObjENS7_9allocatorIS9_EEEERNS_5CurOpE+0x62) [0x108587072]
       mongod(_ZN5mongo14receivedInsertEPNS_16OperationContextERNS_7MessageERNS_5CurOpE+0x16BC) [0x10858450c]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortEb+0x252F) [0x108580def]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xED) [0x1082c084d]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x526) [0x108a15726]
       mongod(_ZN5boost12_GLOBAL__N_112thread_proxyEPv+0xB1) [0x108a87c31]
       libsystem_pthread.dylib(_pthread_body+0x83) [0x7fff8c9fd2fc]
       libsystem_pthread.dylib(_pthread_body+0x0) [0x7fff8c9fd279]
       libsystem_pthread.dylib(thread_start+0xD) [0x7fff8c9fb4b1]
      -----  END BACKTRACE  -----
      

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: