Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2499

LSM shutdown race causes segfault

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.8.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Running the MongoDB parallel_compatability test suite with LSM crashes with:

      	
      [MongoDFixture:job0] {"backtrace":[{"b":"400000","o":"EB58E2","s":"_ZN5mongo15printStackTraceERSo"},{"b":"400000","o":"EB4809"},{"b":"400000","o":"EB4B88"},{"b":"7FDDE6474000","o":"EB10"},{"b":"400000","o":"15EA342","s":"__wt_lsm_get_chunk_to_flush"},{"b":"400000","o":"15EB7E3"},{"b":"7FDDE6474000","o":"673D"},{"b":"7FDDE611D000","o":"D3D1D","s":"clone"}],"processInfo":{ "mongodbVersion" : "3.3.3-65-g0ff9713", "gitVersion" : "0ff97139df609ae1847da9bfb25c35d209e0936e", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "2.6.32-431.3.1.el6.x86_64", "version" : "#1 SMP Fri Jan 3 21:39:27 UTC 2014", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000" }, { "b" : "7FFF812FF000", "elfType" : 3 }, { "b" : "7FDDE7024000", "path" : "/lib64/librt.so.1", "elfType" : 3 }, { "b" : "7FDDE6E20000", "path" : "/lib64/libdl.so.2", "elfType" : 3 }, { "b" : "7FDDE6B20000", "path" : "/usr/lib64/libstdc++.so.6", "elfType" : 3 }, { "b" : "7FDDE689D000", "path" : "/lib64/libm.so.6", "elfType" : 3 }, { "b" : "7FDDE668F000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3 }, { "b" : "7FDDE6474000", "path" : "/lib64/libpthread.so.0", "elfType" : 3 }, { "b" : "7FDDE611D000", "path" : "/lib64/libc.so.6", "elfType" : 3 }, { "b" : "7FDDE722D000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3 } ] }}
      [MongoDFixture:job0]  mongod(_ZN5mongo15printStackTraceERSo+0x32) [0x12b58e2]
      [MongoDFixture:job0]  mongod(+0xEB4809) [0x12b4809]
      [MongoDFixture:job0]  mongod(+0xEB4B88) [0x12b4b88]
      [MongoDFixture:job0]  libpthread.so.0(+0xEB10) [0x7fdde6482b10]
      [MongoDFixture:job0]  mongod(__wt_lsm_get_chunk_to_flush+0x82) [0x19ea342]
      [MongoDFixture:job0]  mongod(+0x15EB7E3) [0x19eb7e3]
      [MongoDFixture:job0]  libpthread.so.0(+0x673D) [0x7fdde647a73d]
      [MongoDFixture:job0]  libc.so.6(clone+0x6D) [0x7fdde61f0d1d]
      

      I suspect that we are shutting down or dropping a collection while there are still work units on the queue (or being processed).

            Assignee:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: