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

mlock: Operation not permitted

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.1
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Hide

      Use mongodb 3.6.1 with the official arch package and try to 'createUser' anywhere.

      Show
      Use mongodb 3.6.1 with the official arch package and try to 'createUser' anywhere.

      When using the command 'createUser', the Server crashes without applying the changes. Please see the log below

      
      2018-01-15T08:05:07.848+0100 I NETWORK  [conn2] received client metadata from 127.0.0.1:41318 conn: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.6.1" }, os: { type: "Linux", name: "Arch", architecture: "x86_64", version: "rolling" } }
      2018-01-15T08:06:14.359+0100 F -        [conn2] Failed to mlock: Operation not permitted
      2018-01-15T08:06:14.360+0100 F -        [conn2] Fatal Assertion 28832 at src/mongo/base/secure_allocator.cpp 246
      2018-01-15T08:06:14.360+0100 F -        [conn2] 
      
      ***aborting after fassert() failure
      
      
      2018-01-15T08:06:14.515+0100 F -        [conn2] Got signal: 6 (Aborted).
      
       0x55c7479768da 0x55c747975b9e 0x55c747976072 0x7ff3ce3ffdb0 0x7ff3ce06b860 0x7ff3ce06cec9 0x55c7462a88f7 0x55c74784b122 0x55c747848534 0x55c74784890c 0x55c7464d3d26 0x55c747482fb6 0x55c74748103f 0x55c746421dd1 0x55c746423352 0x55c74642586b 0x55c746426a49 0x55c746432dea 0x55c74642e59f 0x55c7464317fc 0x55c7473684a2 0x55c74642d2a4 0x55c74642f4e2 0x55c746430131 0x55c74642e625 0x55c7464317fc 0x55c747368993 0x55c74788f964 0x7ff3ce3f508c 0x7ff3ce12ce1f
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"55C745A52000","o":"1F248DA","s":"_ZN5mongo15printStackTraceERSo"},{"b":"55C745A52000","o":"1F23B9E"},{"b":"55C745A52000","o":"1F24072"},{"b":"7FF3CE3EE000","o":"11DB0"},{"b":"7FF3CE037000","o":"34860","s":"gsignal"},{"b":"7FF3CE037000","o":"35EC9","s":"abort"},{"b":"55C745A52000","o":"8568F7","s":"_ZN5mongo32fassertFailedNoTraceWithLocationEiPKcj"},{"b":"55C745A52000","o":"1DF9122","s":"_ZN5mongo24secure_allocator_details8allocateEmm"},{"b":"55C745A52000","o":"1DF6534","s":"_ZN5mongo5scram15generateSecretsERKNS0_15SCRAMPresecretsE"},{"b":"55C745A52000","o":"1DF690C","s":"_ZN5mongo5scram19generateCredentialsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi"},{"b":"55C745A52000","o":"A81D26","s":"_ZN5mongo13CmdCreateUser3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE"},{"b":"55C745A52000","o":"1A30FB6","s":"_ZN5mongo12BasicCommand11enhancedRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE"},{"b":"55C745A52000","o":"1A2F03F","s":"_ZN5mongo7Command9publicRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE"},{"b":"55C745A52000","o":"9CFDD1"},{"b":"55C745A52000","o":"9D1352"},{"b":"55C745A52000","o":"9D386B"},{"b":"55C745A52000","o":"9D4A49","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE"},{"b":"55C745A52000","o":"9E0DEA","s":"_ZN5mongo19ServiceStateMachine15_processMessageENS0_11ThreadGuardE"},{"b":"55C745A52000","o":"9DC59F","s":"_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE"},{"b":"55C745A52000","o":"9DF7FC"},{"b":"55C745A52000","o":"19164A2","s":"_ZN5mongo9transport26ServiceExecutorSynchronous8scheduleESt8functionIFvvEENS0_15ServiceExecutor13ScheduleFlagsE"},{"b":"55C745A52000","o":"9DB2A4","s":"_ZN5mongo19ServiceStateMachine22_scheduleNextWithGuardENS0_11ThreadGuardENS_9transport15ServiceExecutor13ScheduleFlagsENS0_9OwnershipE"},{"b":"55C745A52000","o":"9DD4E2","s":"_ZN5mongo19ServiceStateMachine15_sourceCallbackENS_6StatusE"},{"b":"55C745A52000","o":"9DE131","s":"_ZN5mongo19ServiceStateMachine14_sourceMessageENS0_11ThreadGuardE"},{"b":"55C745A52000","o":"9DC625","s":"_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE"},{"b":"55C745A52000","o":"9DF7FC"},{"b":"55C745A52000","o":"1916993"},{"b":"55C745A52000","o":"1E3D964"},{"b":"7FF3CE3EE000","o":"708C"},{"b":"7FF3CE037000","o":"F5E1F","s":"clone"}],"processInfo":{ "mongodbVersion" : "3.6.1", "gitVersion" : "025d4f4fe61efd1fb6f0005be20cb45a004093d1", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "4.14.3-1-ARCH", "version" : "#1 SMP PREEMPT Thu Nov 30 18:33:13 UTC 2017", "machine" : "x86_64" }, "somap" : [ { "b" : "55C745A52000", "elfType" : 3, "buildId" : "029D000C7CD46EBE64E61D75949D0CCA9AFE8548" }, { "b" : "7FFE4B36F000", "path" : "linux-vdso.so.1", "elfType" : 3, "buildId" : "1B7E6412419608724DC993F8F8D5041F13599D93" }, { "b" : "7FF3D0B90000", "path" : "/usr/lib/libwiredtiger-3.0.0.so", "elfType" : 3, "buildId" : "AF35154F05948BA92AEFEC42B9B37264437FAA8E" }, { "b" : "7FF3D0973000", "path" : "/usr/lib/libsasl2.so.3", "elfType" : 3, "buildId" : "FD2BC2C7EB41B83A66FF6D099037532027A47916" }, { "b" : "7FF3D0718000", "path" : "/usr/lib/libstemmer.so.0", "elfType" : 3, "buildId" : "AD50FFCB248B0279A46FA04967455B1EFD942AF0" }, { "b" : "7FF3D0501000", "path" : "/usr/lib/libz.so.1", "elfType" : 3, "buildId" : "9D65B31D958D72054843331A9D549B1D12ADA045" }, { "b" : "7FF3D02F9000", "path" : "/usr/lib/libsnappy.so.1", "elfType" : 3, "buildId" : "4945D214906C5C184B044DF00ED23A3A4DC08166" }, { "b" : "7FF3D007C000", "path" : "/usr/lib/libyaml-cpp.so.0.5", "elfType" : 3, "buildId" : "4CA43F102CA009469006E0FA5A595D110E72A88A" }, { "b" : "7FF3CFE09000", "path" : "/usr/lib/libpcre.so.1", "elfType" : 3, "buildId" : "00A48F31C879241B1621FA0EE8A77E24333D006B" }, { "b" : "7FF3CFC00000", "path" : "/usr/lib/libpcrecpp.so.0", "elfType" : 3, "buildId" : "A97FFE1C498EB6B2E383ABADF091EAF02D7FCA18" }, { "b" : "7FF3CF9E9000", "path" : "/usr/lib/libresolv.so.2", "elfType" : 3, "buildId" : "C37EEAC29624BF0F52FA85E0C5035B0ABAEDC100" }, { "b" : "7FF3CF77F000", "path" : "/usr/lib/libssl.so.1.1", "elfType" : 3, "buildId" : "8B3582F677DE36D14D30BECE4A92F1CD19026299" }, { "b" : "7FF3CF302000", "path" : "/usr/lib/libcrypto.so.1.1", "elfType" : 3, "buildId" : "05A9A6C52AACA0043A1D4A046193015D972AC092" }, { "b" : "7FF3CF0FA000", "path" : "/usr/lib/librt.so.1", "elfType" : 3, "buildId" : "D520E36F95020BC09653CBFA3E3533E2F823713C" }, { "b" : "7FF3CEEF6000", "path" : "/usr/lib/libdl.so.2", "elfType" : 3, "buildId" : "F4C88B82DD709ACA91EB652FFDBD91900B8A908D" }, { "b" : "7FF3CEB6F000", "path" : "/usr/lib/libstdc++.so.6", "elfType" : 3, "buildId" : "14EC457A4EF13B537BA15A26301F1512CE3277F5" }, { "b" : "7FF3CE823000", "path" : "/usr/lib/libm.so.6", "elfType" : 3, "buildId" : "FA35622098EC404C4787159F0AB09FB2F6C5466F" }, { "b" : "7FF3CE60C000", "path" : "/usr/lib/libgcc_s.so.1", "elfType" : 3, "buildId" : "BC76DEC7E4673A3AF72A6B26BBB7916359B9802F" }, { "b" : "7FF3CE3EE000", "path" : "/usr/lib/libpthread.so.0", "elfType" : 3, "buildId" : "F2D89412406AED9373964B49A96BA88BAA53A0BC" }, { "b" : "7FF3CE037000", "path" : "/usr/lib/libc.so.6", "elfType" : 3, "buildId" : "48CE2E5F2FF41F8C7911E882A033C8C222B7F209" }, { "b" : "7FF3CDC42000", "path" : "/usr/lib/libtcmalloc.so.4", "elfType" : 3, "buildId" : "475D699EF3D447B31EBBC2ED5B7EEE7702C85447" }, { "b" : "7FF3CDA2D000", "path" : "/usr/lib/liblz4.so.1", "elfType" : 3, "buildId" : "A274C0E4DBC85A4C859DDFFE638FBB9AE9A156AC" }, { "b" : "7FF3D0F05000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "E372512D034C6ABD6C233F9CCE96597653F372D3" } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x3A) [0x55c7479768da]
       mongod(+0x1F23B9E) [0x55c747975b9e]
       mongod(+0x1F24072) [0x55c747976072]
       libpthread.so.0(+0x11DB0) [0x7ff3ce3ffdb0]
       libc.so.6(gsignal+0x110) [0x7ff3ce06b860]
       libc.so.6(abort+0x1C9) [0x7ff3ce06cec9]
       mongod(_ZN5mongo32fassertFailedNoTraceWithLocationEiPKcj+0x0) [0x55c7462a88f7]
       mongod(_ZN5mongo24secure_allocator_details8allocateEmm+0x5D2) [0x55c74784b122]
       mongod(_ZN5mongo5scram15generateSecretsERKNS0_15SCRAMPresecretsE+0x94) [0x55c747848534]
       mongod(_ZN5mongo5scram19generateCredentialsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x15C) [0x55c74784890c]
       mongod(_ZN5mongo13CmdCreateUser3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE+0x9D6) [0x55c7464d3d26]
       mongod(_ZN5mongo12BasicCommand11enhancedRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE+0x76) [0x55c747482fb6]
       mongod(_ZN5mongo7Command9publicRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE+0x1F) [0x55c74748103f]
       mongod(+0x9CFDD1) [0x55c746421dd1]
       mongod(+0x9D1352) [0x55c746423352]
       mongod(+0x9D386B) [0x55c74642586b]
       mongod(_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE+0x539) [0x55c746426a49]
       mongod(_ZN5mongo19ServiceStateMachine15_processMessageENS0_11ThreadGuardE+0xBA) [0x55c746432dea]
       mongod(_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE+0x8F) [0x55c74642e59f]
       mongod(+0x9DF7FC) [0x55c7464317fc]
       mongod(_ZN5mongo9transport26ServiceExecutorSynchronous8scheduleESt8functionIFvvEENS0_15ServiceExecutor13ScheduleFlagsE+0x192) [0x55c7473684a2]
       mongod(_ZN5mongo19ServiceStateMachine22_scheduleNextWithGuardENS0_11ThreadGuardENS_9transport15ServiceExecutor13ScheduleFlagsENS0_9OwnershipE+0x104) [0x55c74642d2a4]
       mongod(_ZN5mongo19ServiceStateMachine15_sourceCallbackENS_6StatusE+0x6C2) [0x55c74642f4e2]
       mongod(_ZN5mongo19ServiceStateMachine14_sourceMessageENS0_11ThreadGuardE+0x1F1) [0x55c746430131]
       mongod(_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE+0x115) [0x55c74642e625]
       mongod(+0x9DF7FC) [0x55c7464317fc]
       mongod(+0x1916993) [0x55c747368993]
       mongod(+0x1E3D964) [0x55c74788f964]
       libpthread.so.0(+0x708C) [0x7ff3ce3f508c]
       libc.so.6(clone+0x3F) [0x7ff3ce12ce1f]
      -----  END BACKTRACE  -----
      
      

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            yorrd Kai Brobeil
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: