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

Improve logging in SecureRandom and PseudoRandom classes

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.8, 3.2.0-rc3
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Security A 10/09/15, Security B 10/30/15, Security C 11/20/15

      Observed on a running standalone, 3.0.7 enterprise, RHEL7: http://repo.mongodb.com/yum/redhat/7/mongodb-enterprise/3.0/x86_64/RPMS/mongodb-enterprise-server-3.0.7-1.el7.x86_64.rpm

       
      2015-10-22T16:10:02.282-0400 I NETWORK  [initandlisten] connection accepted from 10.32.64.164:34621 #3891 (213 connections now open)
      2015-10-22T16:10:02.282-0400 I NETWORK  [initandlisten] connection accepted from 10.32.64.164:34622 #3892 (214 connections now open)
      2015-10-22T16:10:02.361-0400 F -        [conn3892] Got signal: 6 (Aborted).
       
      0xfa41c9 0xfa3a92 0xfa3e46 0x7f461ab0c650 0x7f461ab0c5d7 0x7f461ab0dcc8 0xde6629 0x908892 0x9093f1 0x8df9a7 0x8fd0c7 0x8fefd6 0x9e4a14 0x9e599d 0x9e66ab 0xbe532a 0xac1b20 0x81b73d 0xf5706b 0x7f461b5c4df5 0x7f461abcd1ad
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"BA41C9"},{"b":"400000","o":"BA3A92"},{"b":"400000","o":"BA3E46"},{"b":"7F461AAD7000","o":"35650"},{"b":"7F461AAD7000","o":"355D7"},{"b":"7F461AAD7000","o":"36CC8"},{"b":"400000","o":"9E6629"},{"b":"400000","o":"508892"},{"b":"400000","o":"5093F1"},{"b":"400000","o":"4DF9A7"},{"b":"400000","o":"4FD0C7"},{"b":"400000","o":"4FEFD6"},{"b":"400000","o":"5E4A14"},{"b":"400000","o":"5E599D"},{"b":"400000","o":"5E66AB"},{"b":"400000","o":"7E532A"},{"b":"400000","o":"6C1B20"},{"b":"400000","o":"41B73D"},{"b":"400000","o":"B5706B"},{"b":"7F461B5BD000","o":"7DF5"},{"b":"7F461AAD7000","o":"F61AD"}],"processInfo":{ "mongodbVersion" : "3.0.7", "gitVersion" : "6ce7cbe8c6b899552dadd907604559806aa2e9bd modules: enterprise", "uname" : { "sysname" : "Linux", "release" : "3.10.0-229.14.1.el7.x86_64", "version" : "#1 SMP Tue Aug 25 11:21:22 EDT 2015", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "1FF8B8E0EDC8CB1563A67C5276D7CB1E6E8BC982" }, { "b" : "7FFDD0CC2000", "elfType" : 3, "buildId" : "646B4C90E6492055B632E8B82A790CA59B2620AA" }, { "b" : "7F461D855000", "path" : "/lib64/libsasl2.so.3", "elfType" : 3, "buildId" : "51D31AFB92ECB00AB5BE233E210090C68DE2ABE0" }, { "b" : "7F461D609000", "path" : "/lib64/libgssapi_krb5.so.2", "elfType" : 3, "buildId" : "1F0E95A9CD4EBECD8A7B9C4CD74DE76E0243B943" }, { "b" : "7F461D151000", "path" : "/lib64/libnetsnmpmibs.so.31", "elfType" : 3, "buildId" : "61F4BC5B6C10F0F38C66D6C650DC61DF00287EA1" }, { "b" : "7F461CF42000", "path" : "/lib64/libsensors.so.4", "elfType" : 3, "buildId" : "AD644B7B7742ED89A2A3B54AABE51390AD26528A" }, { "b" : "7F461CD3E000", "path" : "/lib64/libdl.so.2", "elfType" : 3, "buildId" : "7E9A1A8B08DB426D5E349DB8B2D11B8BC0442477" }, { "b" : "7F461CAD7000", "path" : "/lib64/librpm.so.3", "elfType" : 3, "buildId" : "6C5DACEC73324B1CC92CC601187630AB44F2581E" }, { "b" : "7F461C8AA000", "path" : "/lib64/librpmio.so.3", "elfType" : 3, "buildId" : "59630476D11C06FC257A13BB49D65728CDEE2788" }, { "b" : "7F461C63C000", "path" : "/lib64/libnetsnmpagent.so.31", "elfType" : 3, "buildId" : "758C7E4355DFF0A81FF6D0FCAE5BB61E6C5CA9F3" }, { "b" : "7F461C431000", "path" : "/lib64/libwrap.so.0", "elfType" : 3, "buildId" : "F751FEF2271CC88C55BECDA85D9531C286BF5812" }, { "b" : "7F461C12F000", "path" : "/lib64/libnetsnmp.so.31", "elfType" : 3, "buildId" : "0F786E8201981A503152AC7A4E6D20C913489812" }, { "b" : "7F461BEC2000", "path" : "/lib64/libssl.so.10", "elfType" : 3, "buildId" : "8DB4545998776514159031B754BB67F7F396F83A" }, { "b" : "7F461BADB000", "path" : "/lib64/libcrypto.so.10", "elfType" : 3, "buildId" : "038F79F7C3F6E60C29184B8E70D0B1E62525D64D" }, { "b" : "7F461B7D9000", "path" : "/lib64/libm.so.6", "elfType" : 3, "buildId" : "4DB1EDF3A02BB05820F9DAB5DF06A324FA09FF54" }, { "b" : "7F461B5BD000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "505287E8736961F603241188C0319B217005E7CF" }, { "b" : "7F461B3B5000", "path" : "/lib64/librt.so.1", "elfType" : 3, "buildId" : "DE43F3E59399601F2D40096B54D05FFA065F6DDA" }, { "b" : "7F461B0AE000", "path" : "/lib64/libstdc++.so.6", "elfType" : 3, "buildId" : "792CB3B95C373D42A8B08E26EF1A612B297FBB8F" }, { "b" : "7F461AE98000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3, "buildId" : "3D06B234BB28280F8B45C2A3B76DBFD9986FC7F5" }, { "b" : "7F461AAD7000", "path" : "/lib64/libc.so.6", "elfType" : 3, "buildId" : "749D3F9CD5D026324C52F8BF2E8037B6A18AFEB7" }, { "b" : "7F461DA72000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "92EA16F0331C16FC99B67B6643A50E4C7E21FAAC" }, { "b" : "7F461A8BD000", "path" : "/lib64/libresolv.so.2", "elfType" : 3, "buildId" : "783A909BC6E9945180505C80B3A01D2D518C7B5F" }, { "b" : "7F461A686000", "path" : "/lib64/libcrypt.so.1", "elfType" : 3, "buildId" : "FDB8C4068AEDF5CBAD7CC57158C8C971C6BF1556" }, { "b" : "7F461A3A3000", "path" : "/lib64/libkrb5.so.3", "elfType" : 3, "buildId" : "4F7FE190136CAD7D07F1FCBCEB51D129C3E1A4AC" }, { "b" : "7F461A171000", "path" : "/lib64/libk5crypto.so.3", "elfType" : 3, "buildId" : "F1049865813B1DF435FF3D4E7AE2A651303B18D4" }, { "b" : "7F4619F6D000", "path" : "/lib64/libcom_err.so.2", "elfType" : 3, "buildId" : "B25574847B066A26CD593C8101DF6779898FF2C2" }, { "b" : "7F4619D5E000", "path" : "/lib64/libkrb5support.so.0", "elfType" : 3, "buildId" : "DC59ACD1904AD75DF59A88681AB3B2A6B268CC7E" }, { "b" : "7F4619B5A000", "path" : "/lib64/libkeyutils.so.1", "elfType" : 3, "buildId" : "8CA73C16CFEB9A8B5660015B9223B09F87041CAD" }, { "b" : "7F46197CD000", "path" : "/usr/lib64/perl5/CORE/libperl.so", "elfType" : 3, "buildId" : "F8967E8BFB733BA2BC2336C25AD917F263810475" }, { "b" : "7F46195B4000", "path" : "/lib64/libnsl.so.1", "elfType" : 3, "buildId" : "60B7D4D73B5A8D6450D38645E96EC4A1D9D0A55D" }, { "b" : "7F46193B1000", "path" : "/lib64/libutil.so.1", "elfType" : 3, "buildId" : "03C48107612A5706CDD22A44394358B118E5B4DB" }, { "b" : "7F461908B000", "path" : "/lib64/libnss3.so", "elfType" : 3, "buildId" : "FC222DE5A2BD324435F6F175EAB8CBD0EBA89CFA" }, { "b" : "7F4618E7B000", "path" : "/lib64/libbz2.so.1", "elfType" : 3, "buildId" : "BC400F8CBCC003F6353F96FE9F15130B72B3262C" }, { "b" : "7F4618C65000", "path" : "/lib64/libz.so.1", "elfType" : 3, "buildId" : "8934632E74819BCC23A16BD5659F1FFBB5243D93" }, { "b" : "7F4618A4F000", "path" : "/lib64/libelf.so.1", "elfType" : 3, "buildId" : "7CF25DD476E97CE6A5D7473BBA48C2498A3FCDAA" }, { "b" : "7F461882A000", "path" : "/lib64/liblzma.so.5", "elfType" : 3, "buildId" : "218D03D1F6CF1A099A4D467B5E8ECF4F2BF45750" }, { "b" : "7F4618620000", "path" : "/lib64/libpopt.so.0", "elfType" : 3, "buildId" : "1A75F65C340B52F21E8CAF1D48C641818A008440" }, { "b" : "7F46183FB000", "path" : "/lib64/libselinux.so.1", "elfType" : 3, "buildId" : "5062031216B995004A297D555D834C0109F7598C" }, { "b" : "7F46181F6000", "path" : "/lib64/libcap.so.2", "elfType" : 3, "buildId" : "5DD36916F2F8F5E72B700162B83F56C2A38E8D16" }, { "b" : "7F4617FED000", "path" : "/lib64/libacl.so.1", "elfType" : 3, "buildId" : "37CE682664BAA3E12B128BC320087960D687333C" }, { "b" : "7F4617DBF000", "path" : "/lib64/liblua-5.1.so", "elfType" : 3, "buildId" : "2A46EBCFBA0BB4846E989C6D376FC34B5BCD3852" }, { "b" : "7F4617A01000", "path" : "/lib64/libdb-5.3.so", "elfType" : 3, "buildId" : "04842DDF851EB2E61A1E80C75A10AB8FAD9501AF" }, { "b" : "7F46177FE000", "path" : "/lib64/libfreebl3.so", "elfType" : 3, "buildId" : "BBD12090B58D263E651444FCD82F8D39F925132A" }, { "b" : "7F46175D2000", "path" : "/lib64/libnssutil3.so", "elfType" : 3, "buildId" : "882BD4D85A3B3CB5C98575CF0FAA8F383E693391" }, { "b" : "7F46173CD000", "path" : "/lib64/libplc4.so", "elfType" : 3, "buildId" : "1543B86F83FC0C1600E6E5AC47FCC9D755084A75" }, { "b" : "7F46171C9000", "path" : "/lib64/libplds4.so", "elfType" : 3, "buildId" : "8F070D7B74E59693E1C427BCDF72DF852F53D673" }, { "b" : "7F4616F8B000", "path" : "/lib64/libnspr4.so", "elfType" : 3, "buildId" : "0635BBE53431778DA30D449CB27C9E1863C91259" }, { "b" : "7F4616D2A000", "path" : "/lib64/libpcre.so.1", "elfType" : 3, "buildId" : "48073BD2BFFD1255A1AAB572CA1C3DC53AF5CD2A" }, { "b" : "7F4616B25000", "path" : "/lib64/libattr.so.1", "elfType" : 3, "buildId" : "41AC3CD2413353A5E5CAFA4FF2BB4C31D315A61E" } ] }}
      mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xfa41c9]
      mongod(+0xBA3A92) [0xfa3a92]
      mongod(+0xBA3E46) [0xfa3e46]
      libc.so.6(+0x35650) [0x7f461ab0c650]
      libc.so.6(gsignal+0x37) [0x7f461ab0c5d7]
      libc.so.6(abort+0x148) [0x7f461ab0dcc8]
      mongod(_ZN5mongo12SecureRandom6createEv+0x1B9) [0xde6629]
      mongod(_ZN5mongo31SaslSCRAMSHA1ServerConversation10_firstStepERSt6vectorISsSaISsEEPSs+0x16F2) [0x908892]
      mongod(_ZN5mongo31SaslSCRAMSHA1ServerConversation4stepERKNS_10StringDataEPSs+0x2F1) [0x9093f1]
      mongod(_ZN5mongo31NativeSaslAuthenticationSession4stepERKNS_10StringDataEPSs+0x27) [0x8df9a7]
      mongod(+0x4FD0C7) [0x8fd0c7]
      mongod(+0x4FEFD6) [0x8fefd6]
      mongod(_ZN5mongo12_execCommandEPNS_16OperationContextEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x34) [0x9e4a14]
      mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_iPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xC1D) [0x9e599d]
      mongod(_ZN5mongo12_runCommandsEPNS_16OperationContextEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x28B) [0x9e66ab]
      mongod(_ZN5mongo8runQueryEPNS_16OperationContextERNS_7MessageERNS_12QueryMessageERKNS_15NamespaceStringERNS_5CurOpES3_+0x77A) [0xbe532a]
      mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xB10) [0xac1b20]
      mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xDD) [0x81b73d]
      mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x34B) [0xf5706b]
      libpthread.so.0(+0x7DF5) [0x7f461b5c4df5]
      libc.so.6(clone+0x6D) [0x7f461abcd1ad]
      -----  END BACKTRACE  -----
      

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: