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

Improved safety for time_support.h API

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.7.9
    • Component/s: Querying
    • None
    • ALL
    • v4.0
    • Hide

      Apply the patch in https://github.com/mongodb/mongo/compare/master...derickr:objectid

      Recompile agg_test:

      ninja ./build/ninja/mongo/db/pipeline/agg_expression_test
      

      Run ./build/ninja/mongo/db/pipeline/agg_expression_test

      Result:

      2018-05-11T11:57:40.181+0100 I -        [main] 	 going to run test: ConvertOutOfBoundsNumberToDate
      2018-05-11T11:57:40.182+0100 I -        [main] 	 going to run test: ConvertOutOfBoundsNumberToDateWithOnError
      2018-05-11T11:57:40.183+0100 I -        [main] 	 going to run test: ConvertObjectIdToDate
      2018-05-11T11:57:40.184+0100 I -        [main] 	 going to run test: ConvertObjectIdToDateFuture
      2018-05-11T11:57:40.185+0100 F -        [main] Invariant failure date.isFormattable() src/mongo/util/time_support.cpp 148
      2018-05-11T11:57:40.185+0100 F -        [main] 
      
      ***aborting after invariant() failure
      
      
      2018-05-11T11:57:40.185+0100 F -        [main] Got signal: 6 (Aborted).
       0x7f41b120f8fa 0x7f41b120f1fe 0x7f41b120f29f 0x7f41af376f50 0x7f41aefdfe7b 0x7f41aefe1231 0x7f41b11a28c7 0x7f41b11a60f9 0x7f41b121791e 0x55d8fcf62fd6 0x7f41b16c6a09 0x55d8fcf9477b 0x7f41b16c8233 0x7f41b16c9e46 0x7f41b16f2be5 0x7f41aefcca87 0x55d8fcf2f83a
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"7F41B10F0000","o":"11F8FA","s":"_ZN5mongo15printStackTraceERSo"},{"b":"7F41B10F0000","o":"11F1FE"},{"b":"7F41B10F0000","o":"11F29F"},{"b":"7F41AF365000","o":"11F50"},{"b":"7F41AEFAB000","o":"34E7B","s":"gsignal"},{"b":"7F41AEFAB000","o":"36231","s":"abort"},{"b":"7F41B10F0000","o":"B28C7","s":"_ZN5mongo22invariantFailedWithMsgEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j"},{"b":"7F41B10F0000","o":"B60F9"},{"b":"7F41B10F0000","o":"12791E","s":"_ZN5mongo18dateToISOStringUTCB5cxx11ENS_6Date_tE"},{"b":"55D8FCD3B000","o":"227FD6","s":"_ZN5mongo21ExpressionConvertTest60UnitTest__ExpressionConvertTest__ConvertObjectIdToDateFuture7_doTestEv"},{"b":"7F41B16B4000","o":"12A09","s":"_ZN5mongo8unittest4Test3runEv"},{"b":"55D8FCD3B000","o":"25977B","s":"_ZNSt17_Function_handlerIFvvEZN5mongo8unittest5Suite3addINS1_21ExpressionConvertTest60UnitTest__ExpressionConvertTest__ConvertObjectIdToDateFutureEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data"},{"b":"7F41B16B4000","o":"14233","s":"_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi"},{"b":"7F41B16B4000","o":"15E46","s":"_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_i"},{"b":"7F41B16EF000","o":"3BE5","s":"main"},{"b":"7F41AEFAB000","o":"21A87","s":"__libc_start_main"},{"b":"55D8FCD3B000","o":"1F483A","s":"_start"}],"processInfo":{ "mongodbVersion" : "unknown", "gitVersion" : "none", "compiledModules" : [ "unknown" ], "uname" : { "sysname" : "Linux", "release" : "4.14.0-2-amd64", "version" : "#1 SMP Debian 4.14.7-1 (2017-12-22)", "machine" : "x86_64" }, "somap" : [ { "b" : "55D8FCD3B000", "elfType" : 3, "buildId" : "74D134272F15A44F254F8546AA407E574529C6DB" }, { "b" : "7FFE0F3BE000", "path" : "linux-vdso.so.1", "elfType" : 3, "buildId" : "C9FA263197C50710AAC8F2948FA7B2444B54AE90" }, { "b" : "7F41B16EF000", "path" : "build/ninja/mongo/unittest/libunittest_main.so", "elfType" : 3, "buildId" : "83B86E3C90943B51746B601DEA731D78487C3BEF" }, { "b" : "7F41B16EA000", "path" : "build/ninja/mongo/db/query/libquery_test_service_context.so", "elfType" : 3, "buildId" : "B299C926FF862E49228CCA54131A0C15628381DF" }, { "b" : "7F41B16E5000", "path" : "build/ninja/mongo/db/query/collation/libcollator_factory_mock.so", "elfType" : 3, "buildId" : "7D09F5D33A3A393C9423A8FC754A6F696EC04C93" }, { "b" : "7F41B16E0000", "path" : "build/ninja/mongo/db/query/collation/libcollator_interface_mock.so", "elfType" : 3, "buildId" : "21D46FCA6374CFA9470606044C39094C7524FE85" }, { "b" : "7F41B16D6000", "path" : "build/ninja/mongo/db/pipeline/libdocument_value_test_util.so", "elfType" : 3, "buildId" : "731A718356A0430CDAE9A15B6C91B5CF38021402" }, { "b" : "7F41B16B4000", "path" : "build/ninja/mongo/unittest/libunittest.so", "elfType" : 3, "buildId" : "5B833EDA57BEDA27C1F9DAE9D057E04970EC831D" }, { "b" : "7F41B168C000", "path" : "build/ninja/mongo/db/pipeline/libaccumulator.so", "elfType" : 3, "buildId" : "F77403F367AA5FCF069EFEDC2E838C0D7A4B7F2F" }, { "b" : "7F41B15C4000", "path" : "build/ninja/mongo/db/pipeline/libexpression.so", "elfType" : 3, "buildId" : "282AB210DA984AE2EAAB581A092836DC90A1050D" }, { "b" : "7F41B15C0000", "path" : "build/ninja/mongo/util/libsummation.so", "elfType" : 3, "buildId" : "DD6A5D7D335E7F1891A8AB7025888049EE4F7407" }, { "b" : "7F41B15B0000", "path" : "build/ninja/mongo/db/pipeline/libexpression_context.so", "elfType" : 3, "buildId" : "A525017EFE29B35DE419B84A8A828C85DA8C32B2" }, { "b" : "7F41B15A9000", "path" : "build/ninja/mongo/db/query/collation/libcollator_factory_interface.so", "elfType" : 3, "buildId" : "24E97F92C9F066FE3859BFBED9816B632A232F0A" }, { "b" : "7F41B159A000", "path" : "build/ninja/mongo/db/query/collation/libcollator_interface.so", "elfType" : 3, "buildId" : "D37CF6091CB58BC6391B8AC285C75C83D13D7C98" }, { "b" : "7F41B158D000", "path" : "build/ninja/mongo/db/pipeline/libaggregation_request.so", "elfType" : 3, "buildId" : "5AA3DEBBD634D2880B4FF0C9CB7F4E1CC25296D4" }, { "b" : "7F41B1586000", "path" : "build/ninja/mongo/db/query/libexplain_options.so", "elfType" : 3, "buildId" : "7819E0285675210CC40FD0E2B231D87DCEA05A77" }, { "b" : "7F41B155D000", "path" : "build/ninja/mongo/db/query/libcommand_request_response.so", "elfType" : 3, "buildId" : "EB29CCE8E8A58F7DF63824A6F8930CC900CCFBC6" }, { "b" : "7F41B154E000", "path" : "build/ninja/mongo/rpc/libcommand_status.so", "elfType" : 3, "buildId" : "56502A6B319FFAB196E994994E191C7B44D2E631" }, { "b" : "7F41B1538000", "path" : "build/ninja/mongo/db/query/libquery_request.so", "elfType" : 3, "buildId" : "FD20F72FBA7657B1EC77160275E3C57B0FFE6469" }, { "b" : "7F41B152D000", "path" : "build/ninja/mongo/db/repl/libread_concern_args.so", "elfType" : 3, "buildId" : "9D1CDA9115416684B0FB6E4A55BE8AA9577C193F" }, { "b" : "7F41B1525000", "path" : "build/ninja/mongo/db/liblogical_time.so", "elfType" : 3, "buildId" : "7C5C225C769BF72168D363A192B74C1F645FA8C7" }, { "b" : "7F41B1510000", "path" : "build/ninja/mongo/db/catalog/libuuid_catalog.so", "elfType" : 3, "buildId" : "8D0976703E9C61A004C00D2CBD3B3763784C33F4" }, { "b" : "7F41B1500000", "path" : "build/ninja/mongo/db/storage/libstorage_options.so", "elfType" : 3, "buildId" : "3E9D2AF75BEE44522A4D3B54C8E772A28BB466D0" }, { "b" : "7F41B14FC000", "path" : "build/ninja/mongo/db/catalog/libdatabase_holder.so", "elfType" : 3, "buildId" : "6EBDEE3914F850777EF3618B7E79773E1C16799A" }, { "b" : "7F41B14D2000", "path" : "build/ninja/mongo/db/catalog/libdatabase.so", "elfType" : 3, "buildId" : "D508A3067B9E8F808C1C7247DC5079CEDA43DD4D" }, { "b" : "7F41B14CC000", "path" : "build/ninja/mongo/db/catalog/libcollection.so", "elfType" : 3, "buildId" : "44E24C4DF49DD183F4F43818A0521C4755136DBA" }, { "b" : "7F41B14B8000", "path" : "build/ninja/mongo/db/libcommon.so", "elfType" : 3, "buildId" : "FBDCE8B6DEB4D3A066FBC2D77750FF887C221975" }, { "b" : "7F41B14B0000", "path" : "build/ninja/mongo/db/libindex_names.so", "elfType" : 3, "buildId" : "CACCA3658E3AA96FD2352F84C756C4E90A253597" }, { "b" : "7F41B14A7000", "path" : "build/ninja/mongo/db/libwrite_concern_options.so", "elfType" : 3, "buildId" : "697C8930EE9FB15E5F6FEB19FA8FBF561442E597" }, { "b" : "7F41B149C000", "path" : "build/ninja/mongo/db/libnamespace_string.so", "elfType" : 3, "buildId" : "D944A2B1F940B53A87F5BCD8266F9A984C376746" }, { "b" : "7F41B1492000", "path" : "build/ninja/mongo/db/repl/liboptime.so", "elfType" : 3, "buildId" : "C18E65101BF49C09D919A87E6DBD47B3EAD09FAE" }, { "b" : "7F41B1486000", "path" : "build/ninja/mongo/db/pipeline/libdependencies.so", "elfType" : 3, "buildId" : "4FCBB2E01B578BF71F912539CBB0CF606AEF5760" }, { "b" : "7F41B1480000", "path" : "build/ninja/mongo/db/libserver_options_core.so", "elfType" : 3, "buildId" : "687E26E1B0FD13DB4321C8CD4911677B1A01EF56" }, { "b" : "7F41B145A000", "path" : "build/ninja/mongo/db/pipeline/libdocument_value.so", "elfType" : 3, "buildId" : "D5C47BDC1CE64F49C24EE7279E56262A197DC4CF" }, { "b" : "7F41B1455000", "path" : "build/ninja/mongo/util/libintrusive_counter.so", "elfType" : 3, "buildId" : "C4A8DBC601FAA6ECFE082F93F9D505B023F5033D" }, { "b" : "7F41B1444000", "path" : "build/ninja/mongo/db/query/datetime/libdate_time_support.so", "elfType" : 3, "buildId" : "4DD09B9452D938FAD66615F2D66D00EF88B04AEA" }, { "b" : "7F41B1441000", "path" : "build/ninja/third_party/libshim_timelib.so", "elfType" : 3, "buildId" : "6DB74CA22BB3F8753CBFC2BC6BF93E2732B500E3" }, { "b" : "7F41B1348000", "path" : "build/ninja/third_party/timelib-2018.01alpha1/libtimelib.so", "elfType" : 3, "buildId" : "A60AB04FF18748F4261EBEB308A179ACD3280162" }, { "b" : "7F41B1328000", "path" : "build/ninja/mongo/db/libservice_context.so", "elfType" : 3, "buildId" : "F46D07ED692DB7371C87363581E4C4AB74F7B167" }, { "b" : "7F41B1313000", "path" : "build/ninja/mongo/util/net/libnetwork.so", "elfType" : 3, "buildId" : "8D8C088B45843CC42D4EDA29CAB546EA7B32A727" }, { "b" : "7F41B1310000", "path" : "build/ninja/mongo/util/libperiodic_runner.so", "elfType" : 3, "buildId" : "03A69AAC639AA612C9D8C84AD0F547C180512271" }, { "b" : "7F41B1302000", "path" : "build/ninja/mongo/util/libfail_point.so", "elfType" : 3, "buildId" : "952A193A8AADFA8D55F9B354D1497884A641D0EA" }, { "b" : "7F41B12F6000", "path" : "build/ninja/mongo/bson/util/libbson_extract.so", "elfType" : 3, "buildId" : "C18AC00FE08A1A0B527CBE32ED47F438CEB91E03" }, { "b" : "7F41B12EE000", "path" : "build/ninja/mongo/util/libclock_sources.so", "elfType" : 3, "buildId" : "FB760FA91B9C2F1A9686F1827E2A40A47A56A4D2" }, { "b" : "7F41B12EB000", "path" : "build/ninja/mongo/util/concurrency/libspin_lock.so", "elfType" : 3, "buildId" : "0EAFB745B729E641AF16E7C12081A610AA82CEC6" }, { "b" : "7F41B12E4000", "path" : "build/ninja/mongo/transport/libtransport_layer_common.so", "elfType" : 3, "buildId" : "248515928D892E86996D27D6A29E9C2990D19BD2" }, { "b" : "7F41B12E0000", "path" : "build/ninja/mongo/db/storage/libwrite_unit_of_work.so", "elfType" : 3, "buildId" : "3EB53FD98348ACB07BEBEFED966AFAC9BDF9FDD9" }, { "b" : "7F41B12BB000", "path" : "build/ninja/mongo/db/liblogical_session_id.so", "elfType" : 3, "buildId" : "39272E45AB4E750DA25E26E5198C0E63C93209E1" }, { "b" : "7F41B12B1000", "path" : "build/ninja/mongo/idl/libidl_parser.so", "elfType" : 3, "buildId" : "EE0871900E9AF80949C25383692287C7FA764D36" }, { "b" : "7F41B12AD000", "path" : "build/ninja/mongo/db/libcommand_generic_argument.so", "elfType" : 3, "buildId" : "31E86BF77147A855BE76E241C3C2484224DCD4DD" }, { "b" : "7F41B12A7000", "path" : "build/ninja/mongo/db/libserver_parameters.so", "elfType" : 3, "buildId" : "CA2294A2744B666FF35C2E2FC7B678B5CE49419F" }, { "b" : "7F41B12A3000", "path" : "build/ninja/mongo/crypto/libsha_block_openssl.so", "elfType" : 3, "buildId" : "E7C20676391E1638D2C2D77C86C1BCB64C756C7E" }, { "b" : "7F41B129E000", "path" : "build/ninja/mongo/crypto/libsha1_block.so", "elfType" : 3, "buildId" : "CD479FB7CE4898F78ED812198CCCB1E613E3349E" }, { "b" : "7F41B129B000", "path" : "build/ninja/mongo/crypto/libsha256_block.so", "elfType" : 3, "buildId" : "F398EA4B13F6136441284429A241CA75E74B53AB" }, { "b" : "7F41B1298000", "path" : "build/ninja/mongo/util/libsecure_compare_memory.so", "elfType" : 3, "buildId" : "A816922635D4E4ABDD9CF751B5D320AE39AD8AA6" }, { "b" : "7F41B1292000", "path" : "build/ninja/mongo/db/pipeline/libfield_path.so", "elfType" : 3, "buildId" : "6F3407FF6FFF4944982E94D9100693F4EBC114C6" }, { "b" : "7F41B10F0000", "path" : "build/ninja/mongo/libbase.so", "elfType" : 3, "buildId" : "D897C0725ECB48729816D4BDB67D4B8A22ADE5B5" }, { "b" : "7F41B10EA000", "path" : "build/ninja/third_party/murmurhash3/libmurmurhash3.so", "elfType" : 3, "buildId" : "04A09D7149A0CAA83AF6A67734007FC59E9BAC7C" }, { "b" : "7F41B10E7000", "path" : "build/ninja/third_party/libshim_pcrecpp.so", "elfType" : 3, "buildId" : "25BA131B240E62D1F845F47B355D5B408F4A50C1" }, { "b" : "7F41B1096000", "path" : "build/ninja/third_party/pcre-8.41/libpcrecpp.so", "elfType" : 3, "buildId" : "B13389E330174B93F1F8709C3C749CA81BC5A8C3" }, { "b" : "7F41B1093000", "path" : "build/ninja/third_party/libshim_intel_decimal128.so", "elfType" : 3, "buildId" : "5F87FAAE6F89C74A7CB821BAFE41172B20E69B34" }, { "b" : "7F41B0CB5000", "path" : "build/ninja/third_party/IntelRDFPMathLib20U1/libintel_decimal128.so", "elfType" : 3, "buildId" : "F32C820148B9EB7804DB8CBD4D57BAC5FDFFC4BD" }, { "b" : "7F41B0CB0000", "path" : "build/ninja/third_party/libshim_boost.so", "elfType" : 3, "buildId" : "1B0A95045E5519C308A602B3467EA3F16EEA8C63" }, { "b" : "7F41B0C2D000", "path" : "build/ninja/third_party/boost-1.60.0/libboost_program_options.so", "elfType" : 3, "buildId" : "5A7D7DD73B6ED1D66D14C053751E8EDB70DD6886" }, { "b" : "7F41B0C1D000", "path" : "build/ninja/third_party/boost-1.60.0/libboost_iostreams.so", "elfType" : 3, "buildId" : "48CCD8B732264C3BF0385F096B4AF8C91E73D64C" }, { "b" : "7F41B0C05000", "path" : "build/ninja/third_party/boost-1.60.0/libboost_filesystem.so", "elfType" : 3, "buildId" : "B202DB35C88532CB8800D3EC245FF4E44D97507D" }, { "b" : "7F41B0C00000", "path" : "build/ninja/third_party/boost-1.60.0/libboost_system.so", "elfType" : 3, "buildId" : "6B2D7633EBC551B1F25F0BBCD5B22F3852EDA11A" }, { "b" : "7F41B0BFB000", "path" : "build/ninja/mongo/util/libquick_exit.so", "elfType" : 3, "buildId" : "F277202C467FFB7A1CA3E6BB1468E5B0EA730FFD" }, { "b" : "7F41B0BF8000", "path" : "build/ninja/third_party/libshim_allocator.so", "elfType" : 3, "buildId" : "261984332EB26F27BE459915057BC17D49014039" }, { "b" : "7F41B09B9000", "path" : "/lib/x86_64-linux-gnu/libresolv.so.2", "elfType" : 3, "buildId" : "8103176246078EA885972448CEC3576C18B40EB6" }, { "b" : "7F41B0528000", "path" : "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1", "elfType" : 3, "buildId" : "62E672A21652025B338B8710A0783AF3A3BEC4E4" }, { "b" : "7F41B02BD000", "path" : "/usr/lib/x86_64-linux-gnu/libssl.so.1.1", "elfType" : 3, "buildId" : "DC9DA98795149945C06212D8A91F8141AC76CA02" }, { "b" : "7F41B00B9000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "2206D6D3FE4ED68CCF0391BDFA2217066C2C9116" }, { "b" : "7F41AFEAF000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "09EB64ABCB565875AE1ED55005A86E1318EC668A" }, { "b" : "7F41AFB2E000", "path" : "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", "elfType" : 3, "buildId" : "9E6C68121927B601813D15670B9C1E93F680C3A1" }, { "b" : "7F41AF79B000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "E324884789B56B585DE13A1C80B7F155022EC267" }, { "b" : "7F41AF583000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "31A51B4AB310CA5E9B4AED6DA151D4D624A6682A" }, { "b" : "7F41AF365000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "26B4971FAEFFB48A4DAD6393856AFBBA73743FE2" }, { "b" : "7F41AEFAB000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "8FD0A29758BF6615673836BB20FFDF11DCB531E6" }, { "b" : "7F41AEF4E000", "path" : "build/ninja/mongo/util/options_parser/liboptions_parser.so", "elfType" : 3, "buildId" : "753B1916BE67BCA093D20872CBA9789D04D1F3BA" }, { "b" : "7F41AEF4B000", "path" : "build/ninja/third_party/libshim_yaml.so", "elfType" : 3, "buildId" : "0FC18BF2201432DAFDBC75467329D79D53D286DA" }, { "b" : "7F41AEED4000", "path" : "build/ninja/third_party/yaml-cpp-0.5.3/libyaml.so", "elfType" : 3, "buildId" : "BEC8417A4511B850EA6893A3C21204E12C531FF7" }, { "b" : "7F41B14D6000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "9056864907E4D74F113132F5A85B5952BC152DE1" }, { "b" : "7F41AEECB000", "path" : "build/ninja/mongo/util/libwinutil.so", "elfType" : 3, "buildId" : "AB0D1C05A01FD8609B6A1740F57D6C46FE6E3F68" }, { "b" : "7F41AEEC5000", "path" : "build/ninja/mongo/util/libdebugger.so", "elfType" : 3, "buildId" : "31499BD79794EA0599CEDC73310FAD671CDE54A0" } ] }}
       libbase.so(_ZN5mongo15printStackTraceERSo+0x3A) [0x7f41b120f8fa]
       libbase.so(+0x11F1FE) [0x7f41b120f1fe]
       libbase.so(+0x11F29F) [0x7f41b120f29f]
       libpthread.so.0(+0x11F50) [0x7f41af376f50]
       libc.so.6(gsignal+0x10B) [0x7f41aefdfe7b]
       libc.so.6(abort+0x151) [0x7f41aefe1231]
       libbase.so(_ZN5mongo22invariantFailedWithMsgEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j+0x0) [0x7f41b11a28c7]
       libbase.so(+0xB60F9) [0x7f41b11a60f9]
       libbase.so(_ZN5mongo18dateToISOStringUTCB5cxx11ENS_6Date_tE+0x2E) [0x7f41b121791e]
       agg_expression_test(_ZN5mongo21ExpressionConvertTest60UnitTest__ExpressionConvertTest__ConvertObjectIdToDateFuture7_doTestEv+0x2C6) [0x55d8fcf62fd6]
       libunittest.so(_ZN5mongo8unittest4Test3runEv+0x19) [0x7f41b16c6a09]
       agg_expression_test(_ZNSt17_Function_handlerIFvvEZN5mongo8unittest5Suite3addINS1_21ExpressionConvertTest60UnitTest__ExpressionConvertTest__ConvertObjectIdToDateFutureEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data+0x3B) [0x55d8fcf9477b]
       libunittest.so(_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x4B3) [0x7f41b16c8233]
       libunittest.so(_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_i+0x606) [0x7f41b16c9e46]
       libunittest_main.so(main+0x915) [0x7f41b16f2be5]
       libc.so.6(__libc_start_main+0xE7) [0x7f41aefcca87]
       agg_expression_test(_start+0x2A) [0x55d8fcf2f83a]
      -----  END BACKTRACE  -----
      Aborted
      
      Show
      Apply the patch in https://github.com/mongodb/mongo/compare/master...derickr:objectid Recompile agg_test: ninja ./build/ninja/mongo/db/pipeline/agg_expression_test Run ./build/ninja/mongo/db/pipeline/agg_expression_test Result: 2018-05-11T11:57:40.181+0100 I - [main] going to run test: ConvertOutOfBoundsNumberToDate 2018-05-11T11:57:40.182+0100 I - [main] going to run test: ConvertOutOfBoundsNumberToDateWithOnError 2018-05-11T11:57:40.183+0100 I - [main] going to run test: ConvertObjectIdToDate 2018-05-11T11:57:40.184+0100 I - [main] going to run test: ConvertObjectIdToDateFuture 2018-05-11T11:57:40.185+0100 F - [main] Invariant failure date.isFormattable() src/mongo/util/time_support.cpp 148 2018-05-11T11:57:40.185+0100 F - [main] ***aborting after invariant() failure 2018-05-11T11:57:40.185+0100 F - [main] Got signal: 6 (Aborted). 0x7f41b120f8fa 0x7f41b120f1fe 0x7f41b120f29f 0x7f41af376f50 0x7f41aefdfe7b 0x7f41aefe1231 0x7f41b11a28c7 0x7f41b11a60f9 0x7f41b121791e 0x55d8fcf62fd6 0x7f41b16c6a09 0x55d8fcf9477b 0x7f41b16c8233 0x7f41b16c9e46 0x7f41b16f2be5 0x7f41aefcca87 0x55d8fcf2f83a ----- BEGIN BACKTRACE ----- { "backtrace" :[{ "b" : "7F41B10F0000" , "o" : "11F8FA" , "s" : "_ZN5mongo15printStackTraceERSo" },{ "b" : "7F41B10F0000" , "o" : "11F1FE" },{ "b" : "7F41B10F0000" , "o" : "11F29F" },{ "b" : "7F41AF365000" , "o" : "11F50" },{ "b" : "7F41AEFAB000" , "o" : "34E7B" , "s" : "gsignal" },{ "b" : "7F41AEFAB000" , "o" : "36231" , "s" : "abort" },{ "b" : "7F41B10F0000" , "o" : "B28C7" , "s" : "_ZN5mongo22invariantFailedWithMsgEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j" },{ "b" : "7F41B10F0000" , "o" : "B60F9" },{ "b" : "7F41B10F0000" , "o" : "12791E" , "s" : "_ZN5mongo18dateToISOStringUTCB5cxx11ENS_6Date_tE" },{ "b" : "55D8FCD3B000" , "o" : "227FD6" , "s" : "_ZN5mongo21ExpressionConvertTest60UnitTest__ExpressionConvertTest__ConvertObjectIdToDateFuture7_doTestEv" },{ "b" : "7F41B16B4000" , "o" : "12A09" , "s" : "_ZN5mongo8unittest4Test3runEv" },{ "b" : "55D8FCD3B000" , "o" : "25977B" , "s" : "_ZNSt17_Function_handlerIFvvEZN5mongo8unittest5Suite3addINS1_21ExpressionConvertTest60UnitTest__ExpressionConvertTest__ConvertObjectIdToDateFutureEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data" },{ "b" : "7F41B16B4000" , "o" : "14233" , "s" : "_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi" },{ "b" : "7F41B16B4000" , "o" : "15E46" , "s" : "_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_i" },{ "b" : "7F41B16EF000" , "o" : "3BE5" , "s" : "main" },{ "b" : "7F41AEFAB000" , "o" : "21A87" , "s" : "__libc_start_main" },{ "b" : "55D8FCD3B000" , "o" : "1F483A" , "s" : "_start" }], "processInfo" :{ "mongodbVersion" : "unknown" , "gitVersion" : "none" , "compiledModules" : [ "unknown" ], "uname" : { "sysname" : "Linux" , "release" : "4.14.0-2-amd64" , "version" : "#1 SMP Debian 4.14.7-1 (2017-12-22)" , "machine" : "x86_64" }, "somap" : [ { "b" : "55D8FCD3B000" , "elfType" : 3, "buildId" : "74D134272F15A44F254F8546AA407E574529C6DB" }, { "b" : "7FFE0F3BE000" , "path" : "linux-vdso.so.1" , "elfType" : 3, "buildId" : "C9FA263197C50710AAC8F2948FA7B2444B54AE90" }, { "b" : "7F41B16EF000" , "path" : "build/ninja/mongo/unittest/libunittest_main.so" , "elfType" : 3, "buildId" : "83B86E3C90943B51746B601DEA731D78487C3BEF" }, { "b" : "7F41B16EA000" , "path" : "build/ninja/mongo/db/query/libquery_test_service_context.so" , "elfType" : 3, "buildId" : "B299C926FF862E49228CCA54131A0C15628381DF" }, { "b" : "7F41B16E5000" , "path" : "build/ninja/mongo/db/query/collation/libcollator_factory_mock.so" , "elfType" : 3, "buildId" : "7D09F5D33A3A393C9423A8FC754A6F696EC04C93" }, { "b" : "7F41B16E0000" , "path" : "build/ninja/mongo/db/query/collation/libcollator_interface_mock.so" , "elfType" : 3, "buildId" : "21D46FCA6374CFA9470606044C39094C7524FE85" }, { "b" : "7F41B16D6000" , "path" : "build/ninja/mongo/db/pipeline/libdocument_value_test_util.so" , "elfType" : 3, "buildId" : "731A718356A0430CDAE9A15B6C91B5CF38021402" }, { "b" : "7F41B16B4000" , "path" : "build/ninja/mongo/unittest/libunittest.so" , "elfType" : 3, "buildId" : "5B833EDA57BEDA27C1F9DAE9D057E04970EC831D" }, { "b" : "7F41B168C000" , "path" : "build/ninja/mongo/db/pipeline/libaccumulator.so" , "elfType" : 3, "buildId" : "F77403F367AA5FCF069EFEDC2E838C0D7A4B7F2F" }, { "b" : "7F41B15C4000" , "path" : "build/ninja/mongo/db/pipeline/libexpression.so" , "elfType" : 3, "buildId" : "282AB210DA984AE2EAAB581A092836DC90A1050D" }, { "b" : "7F41B15C0000" , "path" : "build/ninja/mongo/util/libsummation.so" , "elfType" : 3, "buildId" : "DD6A5D7D335E7F1891A8AB7025888049EE4F7407" }, { "b" : "7F41B15B0000" , "path" : "build/ninja/mongo/db/pipeline/libexpression_context.so" , "elfType" : 3, "buildId" : "A525017EFE29B35DE419B84A8A828C85DA8C32B2" }, { "b" : "7F41B15A9000" , "path" : "build/ninja/mongo/db/query/collation/libcollator_factory_interface.so" , "elfType" : 3, "buildId" : "24E97F92C9F066FE3859BFBED9816B632A232F0A" }, { "b" : "7F41B159A000" , "path" : "build/ninja/mongo/db/query/collation/libcollator_interface.so" , "elfType" : 3, "buildId" : "D37CF6091CB58BC6391B8AC285C75C83D13D7C98" }, { "b" : "7F41B158D000" , "path" : "build/ninja/mongo/db/pipeline/libaggregation_request.so" , "elfType" : 3, "buildId" : "5AA3DEBBD634D2880B4FF0C9CB7F4E1CC25296D4" }, { "b" : "7F41B1586000" , "path" : "build/ninja/mongo/db/query/libexplain_options.so" , "elfType" : 3, "buildId" : "7819E0285675210CC40FD0E2B231D87DCEA05A77" }, { "b" : "7F41B155D000" , "path" : "build/ninja/mongo/db/query/libcommand_request_response.so" , "elfType" : 3, "buildId" : "EB29CCE8E8A58F7DF63824A6F8930CC900CCFBC6" }, { "b" : "7F41B154E000" , "path" : "build/ninja/mongo/rpc/libcommand_status.so" , "elfType" : 3, "buildId" : "56502A6B319FFAB196E994994E191C7B44D2E631" }, { "b" : "7F41B1538000" , "path" : "build/ninja/mongo/db/query/libquery_request.so" , "elfType" : 3, "buildId" : "FD20F72FBA7657B1EC77160275E3C57B0FFE6469" }, { "b" : "7F41B152D000" , "path" : "build/ninja/mongo/db/repl/libread_concern_args.so" , "elfType" : 3, "buildId" : "9D1CDA9115416684B0FB6E4A55BE8AA9577C193F" }, { "b" : "7F41B1525000" , "path" : "build/ninja/mongo/db/liblogical_time.so" , "elfType" : 3, "buildId" : "7C5C225C769BF72168D363A192B74C1F645FA8C7" }, { "b" : "7F41B1510000" , "path" : "build/ninja/mongo/db/catalog/libuuid_catalog.so" , "elfType" : 3, "buildId" : "8D0976703E9C61A004C00D2CBD3B3763784C33F4" }, { "b" : "7F41B1500000" , "path" : "build/ninja/mongo/db/storage/libstorage_options.so" , "elfType" : 3, "buildId" : "3E9D2AF75BEE44522A4D3B54C8E772A28BB466D0" }, { "b" : "7F41B14FC000" , "path" : "build/ninja/mongo/db/catalog/libdatabase_holder.so" , "elfType" : 3, "buildId" : "6EBDEE3914F850777EF3618B7E79773E1C16799A" }, { "b" : "7F41B14D2000" , "path" : "build/ninja/mongo/db/catalog/libdatabase.so" , "elfType" : 3, "buildId" : "D508A3067B9E8F808C1C7247DC5079CEDA43DD4D" }, { "b" : "7F41B14CC000" , "path" : "build/ninja/mongo/db/catalog/libcollection.so" , "elfType" : 3, "buildId" : "44E24C4DF49DD183F4F43818A0521C4755136DBA" }, { "b" : "7F41B14B8000" , "path" : "build/ninja/mongo/db/libcommon.so" , "elfType" : 3, "buildId" : "FBDCE8B6DEB4D3A066FBC2D77750FF887C221975" }, { "b" : "7F41B14B0000" , "path" : "build/ninja/mongo/db/libindex_names.so" , "elfType" : 3, "buildId" : "CACCA3658E3AA96FD2352F84C756C4E90A253597" }, { "b" : "7F41B14A7000" , "path" : "build/ninja/mongo/db/libwrite_concern_options.so" , "elfType" : 3, "buildId" : "697C8930EE9FB15E5F6FEB19FA8FBF561442E597" }, { "b" : "7F41B149C000" , "path" : "build/ninja/mongo/db/libnamespace_string.so" , "elfType" : 3, "buildId" : "D944A2B1F940B53A87F5BCD8266F9A984C376746" }, { "b" : "7F41B1492000" , "path" : "build/ninja/mongo/db/repl/liboptime.so" , "elfType" : 3, "buildId" : "C18E65101BF49C09D919A87E6DBD47B3EAD09FAE" }, { "b" : "7F41B1486000" , "path" : "build/ninja/mongo/db/pipeline/libdependencies.so" , "elfType" : 3, "buildId" : "4FCBB2E01B578BF71F912539CBB0CF606AEF5760" }, { "b" : "7F41B1480000" , "path" : "build/ninja/mongo/db/libserver_options_core.so" , "elfType" : 3, "buildId" : "687E26E1B0FD13DB4321C8CD4911677B1A01EF56" }, { "b" : "7F41B145A000" , "path" : "build/ninja/mongo/db/pipeline/libdocument_value.so" , "elfType" : 3, "buildId" : "D5C47BDC1CE64F49C24EE7279E56262A197DC4CF" }, { "b" : "7F41B1455000" , "path" : "build/ninja/mongo/util/libintrusive_counter.so" , "elfType" : 3, "buildId" : "C4A8DBC601FAA6ECFE082F93F9D505B023F5033D" }, { "b" : "7F41B1444000" , "path" : "build/ninja/mongo/db/query/datetime/libdate_time_support.so" , "elfType" : 3, "buildId" : "4DD09B9452D938FAD66615F2D66D00EF88B04AEA" }, { "b" : "7F41B1441000" , "path" : "build/ninja/third_party/libshim_timelib.so" , "elfType" : 3, "buildId" : "6DB74CA22BB3F8753CBFC2BC6BF93E2732B500E3" }, { "b" : "7F41B1348000" , "path" : "build/ninja/third_party/timelib-2018.01alpha1/libtimelib.so" , "elfType" : 3, "buildId" : "A60AB04FF18748F4261EBEB308A179ACD3280162" }, { "b" : "7F41B1328000" , "path" : "build/ninja/mongo/db/libservice_context.so" , "elfType" : 3, "buildId" : "F46D07ED692DB7371C87363581E4C4AB74F7B167" }, { "b" : "7F41B1313000" , "path" : "build/ninja/mongo/util/net/libnetwork.so" , "elfType" : 3, "buildId" : "8D8C088B45843CC42D4EDA29CAB546EA7B32A727" }, { "b" : "7F41B1310000" , "path" : "build/ninja/mongo/util/libperiodic_runner.so" , "elfType" : 3, "buildId" : "03A69AAC639AA612C9D8C84AD0F547C180512271" }, { "b" : "7F41B1302000" , "path" : "build/ninja/mongo/util/libfail_point.so" , "elfType" : 3, "buildId" : "952A193A8AADFA8D55F9B354D1497884A641D0EA" }, { "b" : "7F41B12F6000" , "path" : "build/ninja/mongo/bson/util/libbson_extract.so" , "elfType" : 3, "buildId" : "C18AC00FE08A1A0B527CBE32ED47F438CEB91E03" }, { "b" : "7F41B12EE000" , "path" : "build/ninja/mongo/util/libclock_sources.so" , "elfType" : 3, "buildId" : "FB760FA91B9C2F1A9686F1827E2A40A47A56A4D2" }, { "b" : "7F41B12EB000" , "path" : "build/ninja/mongo/util/concurrency/libspin_lock.so" , "elfType" : 3, "buildId" : "0EAFB745B729E641AF16E7C12081A610AA82CEC6" }, { "b" : "7F41B12E4000" , "path" : "build/ninja/mongo/transport/libtransport_layer_common.so" , "elfType" : 3, "buildId" : "248515928D892E86996D27D6A29E9C2990D19BD2" }, { "b" : "7F41B12E0000" , "path" : "build/ninja/mongo/db/storage/libwrite_unit_of_work.so" , "elfType" : 3, "buildId" : "3EB53FD98348ACB07BEBEFED966AFAC9BDF9FDD9" }, { "b" : "7F41B12BB000" , "path" : "build/ninja/mongo/db/liblogical_session_id.so" , "elfType" : 3, "buildId" : "39272E45AB4E750DA25E26E5198C0E63C93209E1" }, { "b" : "7F41B12B1000" , "path" : "build/ninja/mongo/idl/libidl_parser.so" , "elfType" : 3, "buildId" : "EE0871900E9AF80949C25383692287C7FA764D36" }, { "b" : "7F41B12AD000" , "path" : "build/ninja/mongo/db/libcommand_generic_argument.so" , "elfType" : 3, "buildId" : "31E86BF77147A855BE76E241C3C2484224DCD4DD" }, { "b" : "7F41B12A7000" , "path" : "build/ninja/mongo/db/libserver_parameters.so" , "elfType" : 3, "buildId" : "CA2294A2744B666FF35C2E2FC7B678B5CE49419F" }, { "b" : "7F41B12A3000" , "path" : "build/ninja/mongo/crypto/libsha_block_openssl.so" , "elfType" : 3, "buildId" : "E7C20676391E1638D2C2D77C86C1BCB64C756C7E" }, { "b" : "7F41B129E000" , "path" : "build/ninja/mongo/crypto/libsha1_block.so" , "elfType" : 3, "buildId" : "CD479FB7CE4898F78ED812198CCCB1E613E3349E" }, { "b" : "7F41B129B000" , "path" : "build/ninja/mongo/crypto/libsha256_block.so" , "elfType" : 3, "buildId" : "F398EA4B13F6136441284429A241CA75E74B53AB" }, { "b" : "7F41B1298000" , "path" : "build/ninja/mongo/util/libsecure_compare_memory.so" , "elfType" : 3, "buildId" : "A816922635D4E4ABDD9CF751B5D320AE39AD8AA6" }, { "b" : "7F41B1292000" , "path" : "build/ninja/mongo/db/pipeline/libfield_path.so" , "elfType" : 3, "buildId" : "6F3407FF6FFF4944982E94D9100693F4EBC114C6" }, { "b" : "7F41B10F0000" , "path" : "build/ninja/mongo/libbase.so" , "elfType" : 3, "buildId" : "D897C0725ECB48729816D4BDB67D4B8A22ADE5B5" }, { "b" : "7F41B10EA000" , "path" : "build/ninja/third_party/murmurhash3/libmurmurhash3.so" , "elfType" : 3, "buildId" : "04A09D7149A0CAA83AF6A67734007FC59E9BAC7C" }, { "b" : "7F41B10E7000" , "path" : "build/ninja/third_party/libshim_pcrecpp.so" , "elfType" : 3, "buildId" : "25BA131B240E62D1F845F47B355D5B408F4A50C1" }, { "b" : "7F41B1096000" , "path" : "build/ninja/third_party/pcre-8.41/libpcrecpp.so" , "elfType" : 3, "buildId" : "B13389E330174B93F1F8709C3C749CA81BC5A8C3" }, { "b" : "7F41B1093000" , "path" : "build/ninja/third_party/libshim_intel_decimal128.so" , "elfType" : 3, "buildId" : "5F87FAAE6F89C74A7CB821BAFE41172B20E69B34" }, { "b" : "7F41B0CB5000" , "path" : "build/ninja/third_party/IntelRDFPMathLib20U1/libintel_decimal128.so" , "elfType" : 3, "buildId" : "F32C820148B9EB7804DB8CBD4D57BAC5FDFFC4BD" }, { "b" : "7F41B0CB0000" , "path" : "build/ninja/third_party/libshim_boost.so" , "elfType" : 3, "buildId" : "1B0A95045E5519C308A602B3467EA3F16EEA8C63" }, { "b" : "7F41B0C2D000" , "path" : "build/ninja/third_party/boost-1.60.0/libboost_program_options.so" , "elfType" : 3, "buildId" : "5A7D7DD73B6ED1D66D14C053751E8EDB70DD6886" }, { "b" : "7F41B0C1D000" , "path" : "build/ninja/third_party/boost-1.60.0/libboost_iostreams.so" , "elfType" : 3, "buildId" : "48CCD8B732264C3BF0385F096B4AF8C91E73D64C" }, { "b" : "7F41B0C05000" , "path" : "build/ninja/third_party/boost-1.60.0/libboost_filesystem.so" , "elfType" : 3, "buildId" : "B202DB35C88532CB8800D3EC245FF4E44D97507D" }, { "b" : "7F41B0C00000" , "path" : "build/ninja/third_party/boost-1.60.0/libboost_system.so" , "elfType" : 3, "buildId" : "6B2D7633EBC551B1F25F0BBCD5B22F3852EDA11A" }, { "b" : "7F41B0BFB000" , "path" : "build/ninja/mongo/util/libquick_exit.so" , "elfType" : 3, "buildId" : "F277202C467FFB7A1CA3E6BB1468E5B0EA730FFD" }, { "b" : "7F41B0BF8000" , "path" : "build/ninja/third_party/libshim_allocator.so" , "elfType" : 3, "buildId" : "261984332EB26F27BE459915057BC17D49014039" }, { "b" : "7F41B09B9000" , "path" : "/lib/x86_64-linux-gnu/libresolv.so.2" , "elfType" : 3, "buildId" : "8103176246078EA885972448CEC3576C18B40EB6" }, { "b" : "7F41B0528000" , "path" : "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1" , "elfType" : 3, "buildId" : "62E672A21652025B338B8710A0783AF3A3BEC4E4" }, { "b" : "7F41B02BD000" , "path" : "/usr/lib/x86_64-linux-gnu/libssl.so.1.1" , "elfType" : 3, "buildId" : "DC9DA98795149945C06212D8A91F8141AC76CA02" }, { "b" : "7F41B00B9000" , "path" : "/lib/x86_64-linux-gnu/libdl.so.2" , "elfType" : 3, "buildId" : "2206D6D3FE4ED68CCF0391BDFA2217066C2C9116" }, { "b" : "7F41AFEAF000" , "path" : "/lib/x86_64-linux-gnu/librt.so.1" , "elfType" : 3, "buildId" : "09EB64ABCB565875AE1ED55005A86E1318EC668A" }, { "b" : "7F41AFB2E000" , "path" : "/usr/lib/x86_64-linux-gnu/libstdc++.so.6" , "elfType" : 3, "buildId" : "9E6C68121927B601813D15670B9C1E93F680C3A1" }, { "b" : "7F41AF79B000" , "path" : "/lib/x86_64-linux-gnu/libm.so.6" , "elfType" : 3, "buildId" : "E324884789B56B585DE13A1C80B7F155022EC267" }, { "b" : "7F41AF583000" , "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1" , "elfType" : 3, "buildId" : "31A51B4AB310CA5E9B4AED6DA151D4D624A6682A" }, { "b" : "7F41AF365000" , "path" : "/lib/x86_64-linux-gnu/libpthread.so.0" , "elfType" : 3, "buildId" : "26B4971FAEFFB48A4DAD6393856AFBBA73743FE2" }, { "b" : "7F41AEFAB000" , "path" : "/lib/x86_64-linux-gnu/libc.so.6" , "elfType" : 3, "buildId" : "8FD0A29758BF6615673836BB20FFDF11DCB531E6" }, { "b" : "7F41AEF4E000" , "path" : "build/ninja/mongo/util/options_parser/liboptions_parser.so" , "elfType" : 3, "buildId" : "753B1916BE67BCA093D20872CBA9789D04D1F3BA" }, { "b" : "7F41AEF4B000" , "path" : "build/ninja/third_party/libshim_yaml.so" , "elfType" : 3, "buildId" : "0FC18BF2201432DAFDBC75467329D79D53D286DA" }, { "b" : "7F41AEED4000" , "path" : "build/ninja/third_party/yaml-cpp-0.5.3/libyaml.so" , "elfType" : 3, "buildId" : "BEC8417A4511B850EA6893A3C21204E12C531FF7" }, { "b" : "7F41B14D6000" , "path" : "/lib64/ld-linux-x86-64.so.2" , "elfType" : 3, "buildId" : "9056864907E4D74F113132F5A85B5952BC152DE1" }, { "b" : "7F41AEECB000" , "path" : "build/ninja/mongo/util/libwinutil.so" , "elfType" : 3, "buildId" : "AB0D1C05A01FD8609B6A1740F57D6C46FE6E3F68" }, { "b" : "7F41AEEC5000" , "path" : "build/ninja/mongo/util/libdebugger.so" , "elfType" : 3, "buildId" : "31499BD79794EA0599CEDC73310FAD671CDE54A0" } ] }} libbase.so(_ZN5mongo15printStackTraceERSo+0x3A) [0x7f41b120f8fa] libbase.so(+0x11F1FE) [0x7f41b120f1fe] libbase.so(+0x11F29F) [0x7f41b120f29f] libpthread.so.0(+0x11F50) [0x7f41af376f50] libc.so.6(gsignal+0x10B) [0x7f41aefdfe7b] libc.so.6(abort+0x151) [0x7f41aefe1231] libbase.so(_ZN5mongo22invariantFailedWithMsgEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j+0x0) [0x7f41b11a28c7] libbase.so(+0xB60F9) [0x7f41b11a60f9] libbase.so(_ZN5mongo18dateToISOStringUTCB5cxx11ENS_6Date_tE+0x2E) [0x7f41b121791e] agg_expression_test(_ZN5mongo21ExpressionConvertTest60UnitTest__ExpressionConvertTest__ConvertObjectIdToDateFuture7_doTestEv+0x2C6) [0x55d8fcf62fd6] libunittest.so(_ZN5mongo8unittest4Test3runEv+0x19) [0x7f41b16c6a09] agg_expression_test(_ZNSt17_Function_handlerIFvvEZN5mongo8unittest5Suite3addINS1_21ExpressionConvertTest60UnitTest__ExpressionConvertTest__ConvertObjectIdToDateFutureEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data+0x3B) [0x55d8fcf9477b] libunittest.so(_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x4B3) [0x7f41b16c8233] libunittest.so(_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_i+0x606) [0x7f41b16c9e46] libunittest_main.so(main+0x915) [0x7f41b16f2be5] libc.so.6(__libc_start_main+0xE7) [0x7f41aefcca87] agg_expression_test(_start+0x2A) [0x55d8fcf2f83a] ----- END BACKTRACE ----- Aborted

      As part of a specification that I am writing on ObjectIds, I am investigating how drivers and the server handle ObjectId timestamps beyond the positive signed 32-bit range. Because of that, I wrote a C++ unit test to test what the server did with $convert. The result is an abort of the server.

            Assignee:
            justin.seyster@mongodb.com Justin Seyster
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: