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

null pointer dereference in wiredTiger library 2.8.0-rc5

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc5
    • Component/s: Storage, WiredTiger
    • Labels:
    • ALL
    • Hide

      retrieve rc5 binary from mongodb.org downloads site.
      start standalong, single-node mongod with wiredTiger storage engine and --syncdelay 10

      Run YCSB load phase for 50,000,000 documents.

      Show
      retrieve rc5 binary from mongodb.org downloads site. start standalong, single-node mongod with wiredTiger storage engine and --syncdelay 10 Run YCSB load phase for 50,000,000 documents.

      While running the load phase of YCSB for 50,000,000 documents (about 50 GB of data) I encountered a SEGV in WiredTigerRecordStore insertRecord. Was running this on a two-socket Linux server on CentOS 6.5.

      This looks like the same stack trace as in SERVER-16886. Full mongod log is attached.

      2015-01-17T02:02:40.242+0000 I WRITE    [conn5] insert ycsb.usertable ninserted:1 keyUpdates:0 writeConflicts:0 numYields:0 256ms
      2015-01-17T02:02:42.818+0000 F -        [conn8] Invalid access at address: 0
      2015-01-17T02:02:42.826+0000 F -        [conn8] Got signal: 11 (Segmentation fault).
      
       0xf25749 0xf24df2 0xf2511e 0x7f10f9326710 0x12d11d3 0x13092ce 0x1309896 0x130756d 0x12c62cd 0x12df145 0x12ba500 0x12f4eb6 0xd47aed 0x8f073e 0x8f0f0c 0xa8f868 0xa930b6 0xa94d48 0x7e5320 0xee37d1 0x7f10f931e9d1 0x7f10f84bf86d
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"B25749"},{"b":"400000","o":"B24DF2"},{"b":"400000","o":"B2511E"},{"b":"7F10F9317000","o":"F710"},{"b":"400000","o":"ED11D3"},{"b":"400000","o":"F092CE"},{"b":"400000","o":"F09896"},{"b":"400000","o":"F0756D"},{"b":"400000","o":"EC62CD"},{"b":"400000","o":"EDF145"},{"b":"400000","o":"EBA500"},{"b":"400000","o":"EF4EB6"},{"b":"400000","o":"947AED"},{"b":"400000","o":"4F073E"},{"b":"400000","o":"4F0F0C"},{"b":"400000","o":"68F868"},{"b":"400000","o":"6930B6"},{"b":"400000","o":"694D48"},{"b":"400000","o":"3E5320"},{"b":"400000","o":"AE37D1"},{"b":"7F10F9317000","o":"79D1"},{"b":"7F10F83D7000","o":"E886D"}],"processInfo":{ "mongodbVersion" : "2.8.0-rc5", "gitVersion" : "74b351de21c84438b12a83b28e155f5e69e3c1eb", "uname" : { "sysname" : "Linux", "release" : "2.6.32-431.el6.x86_64", "version" : "#1 SMP Fri Nov 22 03:15:09 UTC 2013", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000" }, { "b" : "7FFFF865D000", "elfType" : 3 }, { "b" : "7F10F9317000", "path" : "/lib64/libpthread.so.0", "elfType" : 3 }, { "b" : "7F10F910F000", "path" : "/lib64/librt.so.1", "elfType" : 3 }, { "b" : "7F10F8F0B000", "path" : "/lib64/libdl.so.2", "elfType" : 3 }, { "b" : "7F10F8C05000", "path" : "/usr/lib64/libstdc++.so.6", "elfType" : 3 }, { "b" : "7F10F8981000", "path" : "/lib64/libm.so.6", "elfType" : 3 }, { "b" : "7F10F876B000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3 }, { "b" : "7F10F83D7000", "path" : "/lib64/libc.so.6", "elfType" : 3 }, { "b" : "7F10F9534000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3 } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf25749]
       mongod(+0xB24DF2) [0xf24df2]
       mongod(+0xB2511E) [0xf2511e]
       libpthread.so.0(+0xF710) [0x7f10f9326710]
       mongod(__wt_split_insert+0x813) [0x12d11d3]
       mongod(+0xF092CE) [0x13092ce]
       mongod(__wt_evict+0x96) [0x1309896]
       mongod(__wt_evict_page+0x2D) [0x130756d]
       mongod(__wt_page_in_func+0x64D) [0x12c62cd]
       mongod(__wt_row_search+0x9D5) [0x12df145]
       mongod(__wt_btcur_insert+0x300) [0x12ba500]
       mongod(+0xEF4EB6) [0x12f4eb6]
       mongod(_ZN5mongo21WiredTigerRecordStore12insertRecordEPNS_16OperationContextEPKcib+0xCD) [0xd47aed]
       mongod(_ZN5mongo10Collection15_insertDocumentEPNS_16OperationContextERKNS_7BSONObjEb+0x4E) [0x8f073e]
       mongod(_ZN5mongo10Collection14insertDocumentEPNS_16OperationContextERKNS_7BSONObjEb+0x8C) [0x8f0f0c]
       mongod(_ZN5mongo14checkAndInsertEPNS_16OperationContextERNS_6Client7ContextEPKcRNS_7BSONObjE+0x108) [0xa8f868]
       mongod(_ZN5mongo14receivedInsertEPNS_16OperationContextERNS_7MessageERNS_5CurOpE+0x1196) [0xa930b6]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortEb+0x1658) [0xa94d48]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xE0) [0x7e5320]
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            quentin.conner Quentin Conner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: