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

jstestfuzz triggers mongos segfault when doing mapReduce

    • Fully Compatible
    • ALL
    • TIG D (12/11/15)

      During a modified run of the fuzzer with ~10 concurrent clients, it saw a segfault when doing a mapreduce.

      [ShardedClusterFixture:job0:mongos] 2015-11-20T18:47:42.596+0000 D -        [conn36] User Assertion: 10181:not sharded:test.fooOutput
      [ShardedClusterFixture:job0:mongos] 2015-11-20T18:47:42.596+0000 W SHARDING [conn36] chunk manager not found for test.fooOutput :: caused by :: 10181 not sharded:test.fooOutput
      [ShardedClusterFixture:job0:mongos] 2015-11-20T18:47:42.596+0000 F -        [conn36] Invalid access at address: 0x58
      [ShardedClusterFixture:job0:mongos] 2015-11-20T18:47:42.600+0000 F -        [conn36] Got signal: 11 (Segmentation fault).
      [ShardedClusterFixture:job0:mongos]  0xc2fab2 0xc2ec19 0xc2ef98 0x7ffe2f024890 0xad9c1f 0xb23315 0xb69544 0xb6a20d 0xb78b95 0xb68b92 0x689b45 0xbdcb1d 0x7ffe2f01d0a4 0x7ffe2ed527fd
      [ShardedClusterFixture:job0:mongos] ----- BEGIN BACKTRACE -----
      [ShardedClusterFixture:job0:mongos] {"backtrace":[{"b":"400000","o":"82FAB2"},{"b":"400000","o":"82EC19"},{"b":"400000","o":"82EF98"},{"b":"7FFE2F015000","o":"F890"},{"b":"400000","o":"6D9C1F"},{"b":"400000","o":"723315"},{"b":"400000","o":"769544"},{"b":"400000","o":"76A20D"},{"b":"400000","o":"778B95"},{"b":"400000","o":"768B92"},{"b":"400000","o":"289B45"},{"b":"400000","o":"7DCB1D"},{"b":"7FFE2F015000","o":"80A4"},{"b":"7FFE2EC6D000","o":"E57FD"}],"processInfo":{ "mongodbVersion" : "3.2.0-rc3-87-g0730c65", "gitVersion" : "0730c6551c12450884228e383da12a923a396e3e", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "3.12.28-4-default", "version" : "#1 SMP Thu Sep 25 17:02:34 UTC 2014 (9879bd4)", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "2251ADCA83C71FC8304C7133B83772D559747E6B" }, { "b" : "7FFF550FD000", "path" : "linux-vdso.so.1", "elfType" : 3, "buildId" : "3C8095BC13D95C966B8B8C2123F14EF3EAC4372C" }, { "b" : "7FFE30251000", "path" : "/lib64/libssl.so.1.0.0", "elfType" : 3, "buildId" : "F499DE35640995362BED1A25F3D9F8182982CBEB" }, { "b" : "7FFE2FE5E000", "path" : "/lib64/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "78D7759D6B859BEEFC29178BB475219007C94CEF" }, { "b" : "7FFE2FC56000", "path" : "/lib64/librt.so.1", "elfType" : 3, "buildId" : "9F48239CF85DEFB2844741D4A96151E2A41C4C4D" }, { "b" : "7FFE2FA52000", "path" : "/lib64/libdl.so.2", "elfType" : 3, "buildId" : "D2B91ACF5978AD3F86638FF153FC137106DFC27B" }, { "b" : "7FFE2F74A000", "path" : "/usr/lib64/libstdc++.so.6", "elfType" : 3, "buildId" : "9531EBF0E26212A805508DD56E4D52F34306F692" }, { "b" : "7FFE2F449000", "path" : "/lib64/libm.so.6", "elfType" : 3, "buildId" : "50A899B52C4DC05DD0CCB68F3669406C56CF16DC" }, { "b" : "7FFE2F232000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3, "buildId" : "A29011AFC7DA1E1C862071EE327D01B1756AACC1" }, { "b" : "7FFE2F015000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "C3C0ED2777C769283D406E4BF859873DE14A6CDF" }, { "b" : "7FFE2EC6D000", "path" : "/lib64/libc.so.6", "elfType" : 3, "buildId" : "063F6897B4BCEBFCD4352785D381B1CCA394EDC1" }, { "b" : "7FFE304B9000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "587FE1C632DBA85D16EADDE74BBC400D797F22F7" }, { "b" : "7FFE2EA57000", "path" : "/lib64/libz.so.1", "elfType" : 3, "buildId" : "9519E89692C07F3BD693E36B38515CBC4D9733A5" } ] }}
      [ShardedClusterFixture:job0:mongos]  mongos(_ZN5mongo15printStackTraceERSo+0x32) [0xc2fab2]
      [ShardedClusterFixture:job0:mongos]  mongos(+0x82EC19) [0xc2ec19]
      [ShardedClusterFixture:job0:mongos]  mongos(+0x82EF98) [0xc2ef98]
      [ShardedClusterFixture:job0:mongos]  libpthread.so.0(+0xF890) [0x7ffe2f024890]
      [ShardedClusterFixture:job0:mongos]  mongos(_ZNK5mongo12ChunkManager21findIntersectingChunkEPNS_16OperationContextERKNS_7BSONObjE+0x1F) [0xad9c1f]
      [ShardedClusterFixture:job0:mongos]  mongos(+0x723315) [0xb23315]
      [ShardedClusterFixture:job0:mongos]  mongos(_ZN5mongo7Command22execCommandClientBasicEPNS_16OperationContextEPS0_RNS_11ClientBasicEiPKcRNS_7BSONObjERNS_14BSONObjBuilderE+0x6E4) [0xb69544]
      [ShardedClusterFixture:job0:mongos]  mongos(_ZN5mongo7Command20runAgainstRegisteredEPNS_16OperationContextEPKcRNS_7BSONObjERNS_14BSONObjBuilderEi+0x2ED) [0xb6a20d]
      [ShardedClusterFixture:job0:mongos]  mongos(_ZN5mongo8Strategy15clientCommandOpEPNS_16OperationContextERNS_7RequestE+0x1A5) [0xb78b95]
      [ShardedClusterFixture:job0:mongos]  mongos(_ZN5mongo7Request7processEPNS_16OperationContextEi+0x852) [0xb68b92]
      [ShardedClusterFixture:job0:mongos]  mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x65) [0x689b45]
      [ShardedClusterFixture:job0:mongos]  mongos(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x26D) [0xbdcb1d]
      [ShardedClusterFixture:job0:mongos]  libpthread.so.0(+0x80A4) [0x7ffe2f01d0a4]
      [ShardedClusterFixture:job0:mongos]  libc.so.6(clone+0x6D) [0x7ffe2ed527fd]
      [ShardedClusterFixture:job0:mongos] -----  END BACKTRACE  -----
      

            Assignee:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: