[SERVER-25956] mongos crash in MessagingPort::recv on Ubuntu 16.04 PowerPC Created: 03/Sep/16  Updated: 14/Mar/17  Resolved: 15/Nov/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.3.10
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: A. Jesse Jiryu Davis Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: 34errata
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File mongo_c_driver_power8_ubuntu1604_test_latest_sharded_cluster_noauth_sasl_nossl_76bcb7a2a7c22a9f9136608499bf492bd276a420_16_09_03_02_10_16-1-mongodb-logs.tar.gz    
Issue Links:
Depends
Documented
is documented by DOCS-9330 bug in the Ubuntu 16.04 POWER implem... Closed
Related
Operating System: ALL
Sprint: Platforms 2016-09-19, Platforms 2016-10-10, Platforms 2016-10-31, Platforms 2016-11-21
Participants:
Linked BF Score: 0

 Description   

Rare crash in mongos version v3.3.10-393-g4e68214, perhaps when receiving an "insert" command from the C Driver. Ubuntu POWER8, non-SSL connections.

You can see the C Driver test suite log here:

https://evergreen.mongodb.com/task/mongo_c_driver_power8_ubuntu1604_test_latest_sharded_cluster_noauth_sasl_nossl_76bcb7a2a7c22a9f9136608499bf492bd276a420_16_09_03_02_10_16

Server logs attached. The mongo-_SfqpF/mongos.log file records the crash:

 libc.so.6(__stack_chk_fail+0x20) [0x3fff90d52410]
 mongos(_ZN5mongo13MessagingPort4recvERNS_7MessageE+0xB5C) [0x2649718c]
 mongos(_ZN5mongo18DBClientConnection4recvERNS_7MessageE+0x64) [0x25b8d794]
 mongos(_ZN5mongo20DBClientMultiCommand7recvAnyEPNS_16ConnectionStringEPNS_16BSONSerializableE+0x184) [0x26299744]
 mongos(_ZN5mongo14BatchWriteExec12executeBatchEPNS_16OperationContextERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseEPNS_19BatchWriteExecStatsE+0x900) [0x263effc0]
 mongos(_ZN5mongo13ClusterWriter5writeEPNS_16OperationContextERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseE+0x6F8) [0x262caf18]
 mongos(+0xCCE1CC) [0x2634e1cc]
 mongos(_ZN5mongo7Command17execCommandClientEPNS_16OperationContextEPS0_iPKcRNS_7BSONObjERNS_14BSONObjBuilderE+0xAD8) [0x263c0f38]
 mongos(+0xCE8AA0) [0x26368aa0]
 mongos(_ZN5mongo8Strategy15clientCommandOpEPNS_16OperationContextERNS_7RequestE+0xABC) [0x2636a5ac]
 mongos(_ZN5mongo7Request7processEPNS_16OperationContextEi+0x6B4) [0x26362204]



 Comments   
Comment by Andrew Morrow (Inactive) [ 15/Nov/16 ]

This is now believed to be a result of https://sourceware.org/bugzilla/show_bug.cgi?id=20822.

Comment by A. Jesse Jiryu Davis [ 07/Sep/16 ]

Here's another:

https://evergreen.mongodb.com/task/mongo_c_driver_power8_ubuntu1604_test_latest_sharded_cluster_noauth_sasl_nossl_a497587867fe28dac954d0244ca6fb4bfc5e4a38_16_09_07_18_04_36

Still in version v3.3.10-393-g4e68214

Generated at Thu Feb 08 04:10:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.