-
Type: Bug
-
Resolution: Duplicate
-
Priority: Trivial - P5
-
None
-
Affects Version/s: 3.2.12
-
Component/s: Shell
-
None
-
ALL
I think I pressed Ctrl C two times and that made the mongo shell crash. Not sure how to reproduce it, if the stacktrace doesn't provide any clues, then close the ticket.
bye ^C^[[A2017-06-08T16:25:59.310+0000 I - [main] Assertion: 13111:field not found, expected type 2 ^[[A2017-06-08T16:26:01.135+0000 I CONTROL [main] 0x9b3cd2 0x9533b8 0x946228 0x9462dc 0x92fee6 0x757380 0x7f2ce0db00e0 0x7f2ce0e5697d 0x7f2ce0defca2 0x7f2ce0defe1a 0x7f2ce0de5064 0x923f89 0x756ee3 0x7 589bf 0x73d3bb 0x7f2ce0d9cb45 0x7569d7 ----- BEGIN BACKTRACE ----- {"backtrace":[{"b":"400000","o":"5B3CD2","s":"_ZN5mongo15printStackTraceERSo"},{"b":"400000","o":"5533B8","s":"_ZN5mongo10logContextEPKc"},{"b":"400000 ","o":"546228","s":"_ZN5mongo11msgassertedEiPKc"},{"b":"400000","o":"5462DC"},{"b":"400000","o":"52FEE6","s":"_ZNK5mongo11shell_utils18ConnectionRegist ry30killOperationsOnAllConnectionsEb"},{"b":"400000","o":"357380","s":"_ZN5mongo11exitCleanlyENS_8ExitCodeE"},{"b":"7F2CE0D7B000","o":"350E0"},{"b":"7F 2CE0D7B000","o":"DB97D","s":"__open64"},{"b":"7F2CE0D7B000","o":"74CA2","s":"_IO_file_open"},{"b":"7F2CE0D7B000","o":"74E1A","s":"_IO_file_fopen"},{"b" :"7F2CE0D7B000","o":"6A064"},{"b":"400000","o":"523F89","s":"_Z20linenoiseHistorySavePKc"},{"b":"400000","o":"356EE3","s":"_Z16shellHistoryDonev"},{"b":"400000","o":"3589BF","s":"_Z5_mainiPPcS0_"},{"b":"400000","o":"33D3BB","s":"main"},{"b":"7F2CE0D7B000","o":"21B45","s":"__libc_start_main"},{"b":"400000","o":"3569D7"}],"processInfo":{ "mongodbVersion" : "3.2.12", "gitVersion" : "ef3e1bc78e997f0d9f22f45aeb1d8e3b6ac14a14", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "4.2.0-42-generic", "version" : "#49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "7722536A4527508983A23E7FF61ED40E02DE5DC9" }, { "b" : "7FFF0835F000", "path" : "linux-vdso.so.1", "elfType" : 3, "buildId" : "D7A2DCE267484D2DAD484DADF597A4BEA36D0C24" }, { "b" : "7F2CE2062000", "path" : "/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "21115992A1F885E1ACE88AADA60F126AD9759D03" }, { "b" : "7F2CE1C66000", "path" : "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "32E9A5B9EED626E93DEEB00A49033F78652DB9A3" }, { "b" : "7F2CE1A5E000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "906B9D78305E46BC76994F552FA63751C51CD065" }, { "b" : "7F2CE185A000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "EDDA40FF0B16D74E776AEA74FAAE6B898ACD2D15" }, { "b" : "7F2CE1559000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "1B8F009691E3224A991F1F6517A74DA30A065B9A" }, { "b" : "7F2CE1343000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "D5FB04F64B3DAEA6D6B68B5E8B9D4D2BC1A6E1FC" }, { "b" : "7F2CE1126000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "1ADC4ADBA1D853EEA9A5B3CD49E25AF85DCA0100" }, { "b" : "7F2CE0D7B000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "7A02D454BA0E8AF69E3A284C381318B55908DEDA" }, { "b" : "7F2CE22C3000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "060BF28EEE293312DDF82D4DBEF40B3BA8927F0A" } ] }} mongo(_ZN5mongo15printStackTraceERSo+0x32) [0x9b3cd2] mongo(_ZN5mongo10logContextEPKc+0x138) [0x9533b8] mongo(_ZN5mongo11msgassertedEiPKc+0x88) [0x946228] mongo(+0x5462DC) [0x9462dc] mongo(_ZNK5mongo11shell_utils18ConnectionRegistry30killOperationsOnAllConnectionsEb+0x6B6) [0x92fee6] mongo(_ZN5mongo11exitCleanlyENS_8ExitCodeE+0x40) [0x757380] libc.so.6(+0x350E0) [0x7f2ce0db00e0] libc.so.6(__open64+0x2D) [0x7f2ce0e5697d] libc.so.6(_IO_file_open+0x22) [0x7f2ce0defca2] libc.so.6(_IO_file_fopen+0xEA) [0x7f2ce0defe1a] libc.so.6(+0x6A064) [0x7f2ce0de5064] mongo(_Z20linenoiseHistorySavePKc+0x19) [0x923f89] mongo(_Z16shellHistoryDonev+0x13) [0x756ee3] mongo(_Z5_mainiPPcS0_+0xA5F) [0x7589bf] mongo(main+0x2B) [0x73d3bb] libc.so.6(__libc_start_main+0xF5) [0x7f2ce0d9cb45] mongo(+0x3569D7) [0x7569d7] ----- END BACKTRACE ----- exception: field not found, expected type 2
- duplicates
-
SERVER-23168 Shell killOperationsOnAllConnections doesn't handle currentOp failure
- Closed