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

Replica set connection strings trigger access violation on 4.0 shell + Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • Environment:
      Win10 running on VMWare on Mac

      Description

      I am having this error while trying to use Shell to connect to the atlas server. This is running in a Virtual Windows 10, running from a MacBook using VMWare Fusion. I was able to connect to the local server from the Win10, plus I as able to install the Shell in the Mac itself and the same connection string worked fine. I tried giving more permissions do the mongodb directory plus running the Command Prompt with Administrative rights with no success. Here is the details for the error

      C:\Program Files\MongoDB\Server\4.0>mongo "mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/test?replicaSet=Cluster0-shard-0" --authenticationDatabase admin --ssl --username m001-student --password m001-mongodb-basics
      MongoDB shell version v4.0.0 connecting to: mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/test?replicaSet=Cluster0-shard-0
      2018-07-06T19:20:11.682-0600 I NETWORK [js] Starting new replica set monitor for Cluster0-shard-0/cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017
      2018-07-06T19:20:12.113-0600 I CONTROL [js] ** unhandled exception (access violation) at 0x00007FF8CE72C517, terminating
      2018-07-06T19:20:12.113-0600 I CONTROL [js] access violation was a read from 0x0
      2018-07-06T19:20:12.114-0600 I CONTROL [js] *stack trace for unhandled exception:
      2018-07-06T19:20:12.113-0600 I CONTROL [ReplicaSetMonitor-TaskExecutor] unhandled exception (access violation) at 0x00007FF8CE72C517, terminating
      2018-07-06T19:20:12.115-0600 I CONTROL [ReplicaSetMonitor-TaskExecutor] **access violation was a read from 0x0
      2018-07-06T19:20:12.115-0600 I CONTROL [ReplicaSetMonitor-TaskExecutor] ** stack trace for unhandled exception:
      2018-07-06T19:20:12.117-0600 I - [js] VCRUNTIME140.dll memmove+0x87x mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? ucrtbase.dll o_strcat_s+0x94x KERNEL32.DLL BaseThreadInitThunk+0x20x
      2018-07-06T19:20:12.119-0600 I CONTROL [js] writing minidump diagnostic file C:\Program Files\MongoDB\Server\4.2018-07-07T01-20-12.mdmp
      2018-07-06T19:20:12.119-0600 I - [ReplicaSetMonitor-TaskExecutor] VCRUNTIME140.dll memmove+0x87x mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? mongo.exe ??? ucrtbase.dll o_strcat_s+0x94x KERNEL32.DLL BaseThreadInitThunk+0x20x
      2018-07-06T19:20:12.120-0600 I CONTROL [ReplicaSetMonitor-TaskExecutor] failed to open minidump file C:\Program Files\MongoDB\Server\4.2018-07-07T01-20-12.mdmp : The process cannot access the file because it is being used by another process.
      2018-07-06T19:20:12.123-0600 I CONTROL [ReplicaSetMonitor-TaskExecutor] __immediate exit due to unhandled exception
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: