[SERVER-43141] Control-C from shell produced exception Created: 03/Sep/19  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Shell
Affects Version/s: 4.0.9
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Asya Kamsky Assignee: Backlog - Server Tooling and Methods (STM) (Inactive)
Resolution: Unresolved Votes: 0
Labels: move-stm
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File backtrace.txt    
Assigned Teams:
Server Tooling & Methods
Operating System: ALL
Participants:
Case:

 Description   

Version 4.0 on shell and server (4.0.12 server, 4.0.9 shell).  ^C of long running agg produced this:

^C2019-09-03T12:30:04.501-0400 F -        [main] terminate() called. An exception is active; attempting to gather more information
2019-09-03T12:30:04.510-0400 F -        [main] DBException::toString(): Location51042: Mixing ssl modes with a single replica set is disallowed
Actual exception type: mongo::error_details::throwExceptionForStatus(mongo::Status const&)::NonspecificAssertionException
 0x10411b879 0x10411ac17 0x7fff78eaa19e 0x7fff78eaa213 0x1034696e2 0x7fff7be08b5d 0x2800 0x7fff78e4fa0a 0x103554a0b 0x103556bec 0x10346ef39 0x103471e40 0x7fff7bc1d3d5 0x2
----- BEGIN BACKTRACE -----
{"backtrace":[{"b":"103467000","o":"CB4879","s":"_ZN5mongo15printStackTraceERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEE"},{"b":"103467000","o":"CB3C17","s":"_ZN5mongo12_GLOBAL__N_111myTerminateEv"},{"b":"7FFF78E9B000","o":"F19E","s":"_ZSt11__terminatePFvvE"},{"b":"7FFF78E9B000","o":"F213","s":"_ZSt9terminatev"},{"b":"103467000","o":"26E2","s":"_Z10quitNicelyi"},{"b":"7FFF7BE04000","o":"4B5D","s":"_sigtramp"},{"b":"0","o":"2800"},{"b":"7FFF78E47000","o":"8A0A","s":"_ZNSt3__118condition_variable4waitERNS_11unique_lockINS_5mutexEEE"},
... too long to include in the description
 
mongo(_ZN5mongo5mozjs15MozJSProxyScope4execENS_10StringDataERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEbbbi+0xCC) [0x103556bec]
 mongo(_Z5_mainiPPcS0_+0x3639) [0x10346ef39]
 mongo(main+0x10) [0x103471e40]
 libdyld.dylib(start+0x1) [0x7fff7bc1d3d5]
 ??? [0x2]
-----  END BACKTRACE  -----
Abort trap: 6

I had connected using SRV

mongo 'mongodb+srv://user@inatlas.mongodb.net/dbname?authSource=%24external&authMechanism=PLAIN'



 Comments   
Comment by Steven Vannelli [ 10/May/22 ]

Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions.

Comment by David Storch [ 09/Sep/19 ]

This shell crash looks unrelated to the code in the shell that the query team maintains. Therefore, I'm reassigning it to be triaged by the platforms dev tools team.

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