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

jstestfuzz causing invariant failure in index_bounds_builder.cpp

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc3
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • QuInt C (11/23/15)
    • 0

      [js_test:0.0.29-4fbfa13ec0-1446391370495-52] 2015-11-01T15:24:07.998+0000 Top-level statement 1252 completed in 8 ms
      
      
      [MongoDFixture:job0] 2015-11-01T15:24:08.759+0000 D COMMAND  [conn58] run command test.$cmd { count: "sub1", query: { key: { $in: [ [ 1.0 ] ], $ne: [ 2.0 ] } }, fields: {} }
      [MongoDFixture:job0] 2015-11-01T15:24:08.759+0000 D QUERY    [conn58] Relevant index 0 is kp: { key: -0.1 } name: 'key_-0.1' io: { v: 1, key: { key: -0.1 }, name: "key_-0.1", ns: "test.sub1" }
      [MongoDFixture:job0] 2015-11-01T15:24:08.759+0000 I QUERY    [conn58] INVALID BOUNDS: field #0['key']: [1.0, 1.0], [[ 1.0 ], [ 1.0 ]]
      [MongoDFixture:job0] kp = { key: -0.1 }
      [MongoDFixture:job0] scanDir = 1
      [MongoDFixture:job0] 2015-11-01T15:24:08.759+0000 I -        [conn58] Invariant failure 0 src/mongo/db/query/index_bounds_builder.cpp 881
      [MongoDFixture:job0] 2015-11-01T15:24:08.759+0000 I -        [conn58]
      [MongoDFixture:job0] 
      [MongoDFixture:job0] ***aborting after invariant() failure
      [MongoDFixture:job0] 
      [MongoDFixture:job0] 
      [MongoDFixture:job0] 2015-11-01T15:24:08.768+0000 F -        [conn58] Got signal: 6 (Aborted).
      [MongoDFixture:job0] 
      [MongoDFixture:job0]  0x12b7c52 0x12b6b89 0x12b7392 0x7f0de28770a0 0x7f0de250f165 0x7f0de25123e0 0x123eafb 0xd91670 0xdbf635 0xdc033d 0xdc1de6 0xdc1f1f 0xdc1306 0xdcef2d 0xd7f9c0 0xd8436c 0xaab99b 0xb3f0ac 0xb3fe32 0xa99451 0xc5635f 0x91fa3c 0x1262b75 0x7f0de286eb50 0x7f0de25b895d
      [MongoDFixture:job0] ----- BEGIN BACKTRACE -----
      [MongoDFixture:job0] {"backtrace":[{"b":"400000","o":"EB7C52"},{"b":"400000","o":"EB6B89"},{"b":"400000","o":"EB7392"},{"b":"7F0DE2868000","o":"F0A0"},{"b":"7F0DE24DD000","o":"32165"},{"b":"7F0DE24DD000","o":"353E0"},{"b":"400000","o":"E3EAFB"},{"b":"400000","o":"991670"},{"b":"400000","o":"9BF635"},{"b":"400000","o":"9C033D"},{"b":"400000","o":"9C1DE6"},{"b":"400000","o":"9C1F1F"},{"b":"400000","o":"9C1306"},{"b":"400000","o":"9CEF2D"},{"b":"400000","o":"97F9C0"},{"b":"400000","o":"98436C"},{"b":"400000","o":"6AB99B"},{"b":"400000","o":"73F0AC"},{"b":"400000","o":"73FE32"},{"b":"400000","o":"699451"},{"b":"400000","o":"85635F"},{"b":"400000","o":"51FA3C"},{"b":"400000","o":"E62B75"},{"b":"7F0DE2868000","o":"6B50"},{"b":"7F0DE24DD000","o":"DB95D"}],"processInfo":{ "mongodbVersion" : "3.2.0-rc1-74-g4fbfa13", "gitVersion" : "4fbfa13ec0f819080a35ed8b528a030797e483a6", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "3.2.0-4-amd64", "version" : "#1 SMP Debian 3.2.46-1", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "B379793686183E63E242163A84DD9D983EB9BC95" }, { "b" : "7FFF84A3D000", "elfType" : 3, "buildId" : "54B7CC9D68589E140307AF12CE63BE197D258230" }, { "b" : "7F0DE3A27000", "path" : "/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "ED2B7FC51D2E7ADD0D4F1A3667E2B6ED7257663F" }, { "b" : "7F0DE362F000", "path" : "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "7C7F328E0814F339D251A8F8C9459E50978EC254" }, { "b" : "7F0DE3427000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "F58D5DE3E7A2989E915422BA4203FE53DBA449A0" }, { "b" : "7F0DE3223000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "5D1CA3A3D93ED5B6C6462FFA03E787FDBE4013A3" }, { "b" : "7F0DE2F1C000", "path" : "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", "elfType" : 3, "buildId" : "8711429397A5AF8B6269B867D830EDF6E0225B8D" }, { "b" : "7F0DE2C9A000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "7F58D6664571941C86B2D969701A572AD4D7BF1D" }, { "b" : "7F0DE2A84000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "F980B1188708F8D8B5C35D185444AF4CB939AA1E" }, { "b" : "7F0DE2868000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "FEF281218797AD6AE726DD5FCEDECADD9E9F51DC" }, { "b" : "7F0DE24DD000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "A745EBA2C16BA80AE1EF1A7A7B70740C2CF1B363" }, { "b" : "7F0DE3C88000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "9B23F2A44CC8CA6175CBD8D64584B1C7EA5FD18C" }, { "b" : "7F0DE22C6000", "path" : "/lib/x86_64-linux-gnu/libz.so.1", "elfType" : 3, "buildId" : "1EFEB71FD4999C2307570D673A724EA4E1D85267" } ] }}
      [MongoDFixture:job0]  mongod(_ZN5mongo15printStackTraceERSo+0x32) [0x12b7c52]
      [MongoDFixture:job0]  mongod(+0xEB6B89) [0x12b6b89]
      [MongoDFixture:job0]  mongod(+0xEB7392) [0x12b7392]
      [MongoDFixture:job0]  libpthread.so.0(+0xF0A0) [0x7f0de28770a0]
      [MongoDFixture:job0]  libc.so.6(gsignal+0x35) [0x7f0de250f165]
      [MongoDFixture:job0]  libc.so.6(abort+0x180) [0x7f0de25123e0]
      [MongoDFixture:job0]  mongod(_ZN5mongo15invariantFailedEPKcS1_j+0xCB) [0x123eafb]
      [MongoDFixture:job0]  mongod(_ZN5mongo18IndexBoundsBuilder11alignBoundsEPNS_11IndexBoundsERKNS_7BSONObjEi+0x5C0) [0xd91670]
      [MongoDFixture:job0]  mongod(_ZN5mongo18QueryPlannerAccess14finishLeafNodeEPNS_17QuerySolutionNodeERKNS_10IndexEntryE+0x1F5) [0xdbf635]
      [MongoDFixture:job0]  mongod(_ZN5mongo18QueryPlannerAccess19finishAndOutputLeafEPNS0_17ScanBuildingStateEPSt6vectorIPNS_17QuerySolutionNodeESaIS5_EE+0x2D) [0xdc033d]
      [MongoDFixture:job0]  mongod(_ZN5mongo18QueryPlannerAccess17processIndexScansERKNS_14CanonicalQueryEPNS_15MatchExpressionEbRKSt6vectorINS_10IndexEntryESaIS7_EERKNS_18QueryPlannerParamsEPS6_IPNS_17QuerySolutionNodeESaISG_EE+0x306) [0xdc1de6]
      [MongoDFixture:job0]  mongod(_ZN5mongo18QueryPlannerAccess15buildIndexedAndERKNS_14CanonicalQueryEPNS_15MatchExpressionEbRKSt6vectorINS_10IndexEntryESaIS7_EERKNS_18QueryPlannerParamsE+0xAF) [0xdc1f1f]
      [MongoDFixture:job0]  mongod(_ZN5mongo18QueryPlannerAccess22buildIndexedDataAccessERKNS_14CanonicalQueryEPNS_15MatchExpressionEbRKSt6vectorINS_10IndexEntryESaIS7_EERKNS_18QueryPlannerParamsE+0x106) [0xdc1306]
      [MongoDFixture:job0]  mongod(_ZN5mongo12QueryPlanner4planERKNS_14CanonicalQueryERKNS_18QueryPlannerParamsEPSt6vectorIPNS_13QuerySolutionESaIS9_EE+0x1AFD) [0xdcef2d]
      [MongoDFixture:job0]  mongod(+0x97F9C0) [0xd7f9c0]
      [MongoDFixture:job0]  mongod(_ZN5mongo16getExecutorCountEPNS_16OperationContextEPNS_10CollectionERKNS_12CountRequestEbNS_12PlanExecutor11YieldPolicyE+0x50C) [0xd8436c]
      [MongoDFixture:job0]  mongod(+0x6AB99B) [0xaab99b]
      [MongoDFixture:job0]  mongod(_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE+0x2BC) [0xb3f0ac]
      [MongoDFixture:job0]  mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE+0x392) [0xb3fe32]
      [MongoDFixture:job0]  mongod(_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE+0x1F1) [0xa99451]
      [MongoDFixture:job0]  mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xB3F) [0xc5635f]
      [MongoDFixture:job0]  mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0xEC) [0x91fa3c]
      [MongoDFixture:job0]  mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x265) [0x1262b75]
      [MongoDFixture:job0]  libpthread.so.0(+0x6B50) [0x7f0de286eb50]
      [MongoDFixture:job0]  libc.so.6(clone+0x6D) [0x7f0de25b895d]
      [MongoDFixture:job0] -----  END BACKTRACE  -----
      
      [js_test:0.0.29-4fbfa13ec0-1446391370495-52] 2015-11-01T15:24:08.008+0000 Top-level statement 1253 completed in 9 ms
      

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: