[SERVER-47037] 4.2. mongos crash Created: 23/Mar/20  Updated: 04/May/20  Resolved: 28/Apr/20

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: 4.2.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: HULONG CUI Assignee: Dmitry Agranat
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-47553 mongos crashes due to client disconne... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

I have install mongodb4.2  sharding。today three mongos crashed。

like this same error:

       https://jira.mongodb.org/browse/SERVER-21983

below mongos logs info:

2020-03-23T12:25:49.138+0800 I - [conn76] operation was interrupted because a client disconnected
2020-03-23T12:25:49.151+0800 F - [conn76] terminate() called. No exception is active 0x7fba90a4eda1 0x7fba90a4eb58 0x7fba90b59386 0x7fba90b593c1 0x7fba8fcdb9ad 0x7fba8ff555f9 0x7fba8ff55b72 0x7fba8fe7af28 0x7fba8fe9e40c 0x7fba8fe9880f 0x7fba8fe9ba8c 0x7fba902032f2 0x7fba8fe9622d 0x7fba8fe994c3 0x7fba8fe978f7 0x7fba8fe9876b 0x7fba8fe9ba8c 0x7fba9020375b 0x7fba908f5c64 0x7fba8df2ddc5 0x7fba8dc5c73d
----- BEGIN BACKTRACE -----
{"backtrace":[\{"b":"7FBA8F763000","o":"12EBDA1","s":"_ZN5mongo15printStackTraceERSo"},\{"b":"7FBA8F763000","o":"12EBB58"},\{"b":"7FBA8F763000","o":"13F6386","s":"_ZN10__cxxabiv111__terminateEPFvvE"},\{"b":"7FBA8F763000","o":"13F63C1"},\{"b":"7FBA8F763000","o":"5789AD"},\{"b":"7FBA8F763000","o":"7F25F9"},\{"b":"7FBA8F763000","o":"7F2B72","s":"_ZN5mongo8Strategy13clientCommandEPNS_16OperationContextERKNS_7MessageE"},\{"b":"7FBA8F763000","o":"717F28","s":"_ZN5mongo23ServiceEntryPointMongos13handleRequestEPNS_16OperationContextERKNS_7MessageE"},\{"b":"7FBA8F763000","o":"73B40C","s":"_ZN5mongo19ServiceStateMachine15_processMessageENS0_11ThreadGuardE"},\{"b":"7FBA8F763000","o":"73580F","s":"_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE"},\{"b":"7FBA8F763000","o":"738A8C"},\{"b":"7FBA8F763000","o":"AA02F2","s":"_ZN5mongo9transport26ServiceExecutorSynchronous8scheduleESt8functionIFvvEENS0_15ServiceExecutor13ScheduleFlagsENS0_23ServiceExecutorTaskNameE"},\{"b":"7FBA8F763000","o":"73322D","s":"_ZN5mongo19ServiceStateMachine22_scheduleNextWithGuardENS0_11ThreadGuardENS_9transport15ServiceExecutor13ScheduleFlagsENS2_23ServiceExecutorTaskNameENS0_9OwnershipE"},\{"b":"7FBA8F763000","o":"7364C3","s":"_ZN5mongo19ServiceStateMachine15_sourceCallbackENS_6StatusE"},\{"b":"7FBA8F763000","o":"7348F7","s":"_ZN5mongo19ServiceStateMachine14_sourceMessageENS0_11ThreadGuardE"},\{"b":"7FBA8F763000","o":"73576B","s":"_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE"},\{"b":"7FBA8F763000","o":"738A8C"},\{"b":"7FBA8F763000","o":"AA075B"},\{"b":"7FBA8F763000","o":"1192C64"},\{"b":"7FBA8DF26000","o":"7DC5"},\{"b":"7FBA8DB65000","o":"F773D","s":"clone"}],"processInfo":\{ "mongodbVersion" : "4.2.0", "gitVersion" : "a4b751dcf51dd249c5865812b390cfd1c0129c30", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "3.10.0-514.el7.x86_64", "version" : "#1 SMP Wed Oct 19 11:24:13 EDT 2016", "machine" : "x86_64" }, "somap" : [ \{ "b" : "7FBA8F763000", "elfType" : 3, "buildId" : "6B7B3448CECC57F432C6E59B4E4738DB28EEA5F3" }, \{ "b" : "7FFF03197000", "elfType" : 3, "buildId" : "F40CF56C998444936E569E905018C61A446E19F3" }, \{ "b" : "7FBA8F2D8000", "path" : "/lib64/libcurl.so.4", "elfType" : 3, "buildId" : "F9A0C65B8C00075C0D9519448811BB9A39A5841E" }, \{ "b" : "7FBA8F0BE000", "path" : "/lib64/libresolv.so.2", "elfType" : 3, "buildId" : "2CAE54787C367200B4729790953146A846CE859F" }, \{ "b" : "7FBA8ECD4000", "path" : "/lib64/libcrypto.so.10", "elfType" : 3, "buildId" : "F9ADA1CB1F5DCD6AEBAF2BFCA342401AC9CA208C" }, \{ "b" : "7FBA8EA66000", "path" : "/lib64/libssl.so.10", "elfType" : 3, "buildId" : "BEE1A922AD69FF160B30C567133FAF2129A9B3E9" }, \{ "b" : "7FBA8E862000", "path" : "/lib64/libdl.so.2", "elfType" : 3, "buildId" : "2A6B42AB91364D19CF7480F68A22A5F5D02E4310" }, \{ "b" : "7FBA8E65A000", "path" : "/lib64/librt.so.1", "elfType" : 3, "buildId" : "B0BEEC2594C87A9A73E895F7B1CBC6C3E94EFDE4" }, \{ "b" : "7FBA8E358000", "path" : "/lib64/libm.so.6", "elfType" : 3, "buildId" : "81582CDCEC60ED89D8E485FBC52B28DE0F37C543" }, \{ "b" : "7FBA8E142000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3, "buildId" : "E7A44AE9AAA39B04F12503BB3B170860F0EB38E2" }, \{ "b" : "7FBA8DF26000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "3F99AC9CC5FFC71AC4746909108E70BC9DE73DCB" }, \{ "b" : "7FBA8DB65000", "path" : "/lib64/libc.so.6", "elfType" : 3, "buildId" : "4EC510505F71AEACDF5A4035BEC5B39AFBB65538" }, \{ "b" : "7FBA8F541000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "C1790D4B0380CAE521DF3D9AC516E34FC6FD4692" }, \{ "b" : "7FBA8D932000", "path" : "/lib64/libidn.so.11", "elfType" : 3, "buildId" : "F4123103FB2318594448C44E47091DD68D1C78C0" }, \{ "b" : "7FBA8D708000", "path" : "/lib64/libssh2.so.1", "elfType" : 3, "buildId" : "8F5D02C2E4D8867AF6B23B2FBF8E4A90F2D196C4" }, \{ "b" : "7FBA8D4C5000", "path" : "/lib64/libssl3.so", "elfType" : 3, "buildId" : "F01501F985252A62A3E36C8C855D8950FA7B3B03" }, \{ "b" : "7FBA8D29E000", "path" : "/lib64/libsmime3.so", "elfType" : 3, "buildId" : "CD7BB7CCDF6052F22DCE6143C8E43EAF64337370" }, \{ "b" : "7FBA8CF78000", "path" : "/lib64/libnss3.so", "elfType" : 3, "buildId" : "F4F52B69A359A877B97A191CA20C0F3EE138A843" }, \{ "b" : "7FBA8CD4C000", "path" : "/lib64/libnssutil3.so", "elfType" : 3, "buildId" : "9BAA60EF12DB45B083641EDE49274D38F5F1FF8A" }, \{ "b" : "7FBA8CB48000", "path" : "/lib64/libplds4.so", "elfType" : 3, "buildId" : "A96CEBCC70105674C41728A32B8269A280AA0E21" }, \{ "b" : "7FBA8C943000", "path" : "/lib64/libplc4.so", "elfType" : 3, "buildId" : "860A92A74E0D73E1D2AC5A6874C06E7F8330DC78" }, \{ "b" : "7FBA8C705000", "path" : "/lib64/libnspr4.so", "elfType" : 3, "buildId" : "4B6AD8CF2301C517766622BAA66DA2B5D85C0B05" }, \{ "b" : "7FBA8C4B7000", "path" : "/lib64/libgssapi_krb5.so.2", "elfType" : 3, "buildId" : "69B6078B899C5C29DE6EDA30D506561457ED4A32" }, \{ "b" : "7FBA8C1D0000", "path" : "/lib64/libkrb5.so.3", "elfType" : 3, "buildId" : "361973076FC945AAED1E1F43A0BC2BD2679C00D6" }, \{ "b" : "7FBA8BF9E000", "path" : "/lib64/libk5crypto.so.3", "elfType" : 3, "buildId" : "8A45A42CC3BD9D8C2411EFC124893C2E407C2838" }, \{ "b" : "7FBA8BD9A000", "path" : "/lib64/libcom_err.so.2", "elfType" : 3, "buildId" : "8E6B94EAC98D4D32CA753B11E1C2CD9CE3DF3886" }, \{ "b" : "7FBA8BB8B000", "path" : "/lib64/liblber-2.4.so.2", "elfType" : 3, "buildId" : "5A8C2E0D041A95B040F241B516B7FBD2A158DB97" }, \{ "b" : "7FBA8B938000", "path" : "/lib64/libldap-2.4.so.2", "elfType" : 3, "buildId" : "6C4A9882301A2C1B957CAB2D3606A01DF1F9761D" }, \{ "b" : "7FBA8B722000", "path" : "/lib64/libz.so.1", "elfType" : 3, "buildId" : "FE621E91052A9A77CC263E00A8A21C2BC0867E21" }, \{ "b" : "7FBA8B513000", "path" : "/lib64/libkrb5support.so.0", "elfType" : 3, "buildId" : "D4F4E5522FDE9DED290C54BB7AE6E081129DB7E5" }, \{ "b" : "7FBA8B30F000", "path" : "/lib64/libkeyutils.so.1", "elfType" : 3, "buildId" : "8CA73C16CFEB9A8B5660015B9223B09F87041CAD" }, \{ "b" : "7FBA8B0F2000", "path" : "/lib64/libsasl2.so.3", "elfType" : 3, "buildId" : "39AD6F37E45CFD100A0EA21CB11EAFC1A8738CAE" }, \{ "b" : "7FBA8AECB000", "path" : "/lib64/libselinux.so.1", "elfType" : 3, "buildId" : "4D7CA6EFC2D57A25B1B71E3450A016AD5F220429" }, \{ "b" : "7FBA8AC94000", "path" : "/lib64/libcrypt.so.1", "elfType" : 3, "buildId" : "0666F0C6D4CBC23E08313CBD335CE9E44A9C5EDC" }, \{ "b" : "7FBA8AA33000", "path" : "/lib64/libpcre.so.1", "elfType" : 3, "buildId" : "1DEC80B82143A7960489C7B7AA8DDF182D6E2BE6" }, \{ "b" : "7FBA8A830000", "path" : "/lib64/libfreebl3.so", "elfType" : 3, "buildId" : "3A99D0FE92C9030D9C6171E5490BDD3CB0C13E22" } ] }}
 mongos(_ZN5mongo15printStackTraceERSo+0x41) [0x7fba90a4eda1]
 mongos(+0x12EBB58) [0x7fba90a4eb58]
 mongos(_ZN10__cxxabiv111__terminateEPFvvE+0x6) [0x7fba90b59386]
 mongos(+0x13F63C1) [0x7fba90b593c1]
 mongos(+0x5789AD) [0x7fba8fcdb9ad]
 mongos(+0x7F25F9) [0x7fba8ff555f9]
 mongos(_ZN5mongo8Strategy13clientCommandEPNS_16OperationContextERKNS_7MessageE+0x1C2) [0x7fba8ff55b72]
 mongos(_ZN5mongo23ServiceEntryPointMongos13handleRequestEPNS_16OperationContextERKNS_7MessageE+0x3C8) [0x7fba8fe7af28]
 mongos(_ZN5mongo19ServiceStateMachine15_processMessageENS0_11ThreadGuardE+0xEC) [0x7fba8fe9e40c]
 mongos(_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE+0x17F) [0x7fba8fe9880f]
 mongos(+0x738A8C) [0x7fba8fe9ba8c]
 mongos(_ZN5mongo9transport26ServiceExecutorSynchronous8scheduleESt8functionIFvvEENS0_15ServiceExecutor13ScheduleFlagsENS0_23ServiceExecutorTaskNameE+0x182) [0x7fba902032f2]
 mongos(_ZN5mongo19ServiceStateMachine22_scheduleNextWithGuardENS0_11ThreadGuardENS_9transport15ServiceExecutor13ScheduleFlagsENS2_23ServiceExecutorTaskNameENS0_9OwnershipE+0x10D) [0x7fba8fe9622d]
 mongos(_ZN5mongo19ServiceStateMachine15_sourceCallbackENS_6StatusE+0x843) [0x7fba8fe994c3]
 mongos(_ZN5mongo19ServiceStateMachine14_sourceMessageENS0_11ThreadGuardE+0x2E7) [0x7fba8fe978f7]
 mongos(_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE+0xDB) [0x7fba8fe9876b]
 mongos(+0x738A8C) [0x7fba8fe9ba8c]
 mongos(+0xAA075B) [0x7fba9020375b]
 mongos(+0x1192C64) [0x7fba908f5c64]
 libpthread.so.0(+0x7DC5) [0x7fba8df2ddc5]
 libc.so.6(clone+0x6D) [0x7fba8dc5c73d]
----- END BACKTRACE -----



 Comments   
Comment by Dmitry Agranat [ 04/May/20 ]

Hi cuihulong@163.com, just wanted to let you know that we have identified this issue in SERVER-47553 and it is fixed in MongoDB 4.2.7

Comment by Dmitry Agranat [ 28/Apr/20 ]

Hi cuihulong@163.com,

We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Regards,
Dima

Comment by Dmitry Agranat [ 24/Mar/20 ]

Hi cuihulong@163.com,

Would you please archive and upload the full mongoS log, ideally from the startup as well as the diagnostic.data archive from the same mongoS? I've created a secure upload portal for you. Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.

Thanks,
Dima

Generated at Thu Feb 08 05:13:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.