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

Control-C from shell produced exception

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.9
    • Component/s: Shell
    • Server Tooling & Methods
    • ALL

      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'
      

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: