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

Segmentation fault on mongodump with --host and replicaset

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.2.2
    • Component/s: Tools
    • None
    • Environment:
    • Linux
    • Hide
      1. mongodump -v --host replA/vid-db01-mia,vid-db02-mia,vid-db03-mia,vid-db04-mia,vid-db05-mia -u admin -p --oplog --out /tmp/mongo.dump
        Fri Dec 28 13:08:37 starting new replica set monitor for replica set replA with seed of vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 successfully connected to seed vid-db01-mia:27017 for replica set replA
        Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db01-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db01-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db01-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117825), ok: 1.0 }

        Fri Dec 28 13:08:37 changing hosts to

        { 0: "vid-db01-mia:27017", 1: "vid-db04-mia:27017", 2: "vid-db03-mia:27017", 3: "vid-db02-mia:27017", 4: "vid-db05-mia:27017" }

        from replA/
        Fri Dec 28 13:08:37 trying to add new host vid-db01-mia:27017 to replica set replA
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 successfully connected to new host vid-db01-mia:27017 in replica set replA
        Fri Dec 28 13:08:37 trying to add new host vid-db02-mia:27017 to replica set replA
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 successfully connected to new host vid-db02-mia:27017 in replica set replA
        Fri Dec 28 13:08:37 trying to add new host vid-db03-mia:27017 to replica set replA
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 successfully connected to new host vid-db03-mia:27017 in replica set replA
        Fri Dec 28 13:08:37 trying to add new host vid-db04-mia:27017 to replica set replA
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 successfully connected to new host vid-db04-mia:27017 in replica set replA
        Fri Dec 28 13:08:37 trying to add new host vid-db05-mia:27017 to replica set replA
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 successfully connected to new host vid-db05-mia:27017 in replica set replA
        Fri Dec 28 13:08:37 creating new connection to:vid-db01-mia:27017
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 connected connection!
        Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:37 _check : replA/vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017
        Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db01-mia:27017

        { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db01-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db01-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117828), ok: 1.0 }

        Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017

        { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117829), ok: 1.0 }

        Fri Dec 28 13:08:37 creating new connection to:vid-db04-mia:27017
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 connected connection!
        Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:37 Primary for replica set replA changed to vid-db04-mia:27017
        Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db02-mia:27017

        { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db02-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db02-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117831), ok: 1.0 }

        Fri Dec 28 13:08:37 creating new connection to:vid-db02-mia:27017
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 connected connection!
        Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db03-mia:27017

        { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db03-mia:27017", "vid-db04-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db03-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117831), ok: 1.0 }

        Fri Dec 28 13:08:37 creating new connection to:vid-db03-mia:27017
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 connected connection!
        Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017

        { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117832), ok: 1.0 }

        Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db05-mia:27017

        { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db05-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db05-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117833), ok: 1.0 }

        Fri Dec 28 13:08:37 creating new connection to:vid-db05-mia:27017
        Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG
        Fri Dec 28 13:08:37 connected connection!
        Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:37 replica set monitor for replica set replA started, address is replA/vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017
        connected to: replA/vid-db01-mia,vid-db02-mia,vid-db03-mia,vid-db04-mia,vid-db05-mia
        Enter password: Fri Dec 28 13:08:37 BackgroundJob starting: ReplicaSetMonitorWatcher
        Fri Dec 28 13:08:37 [ReplicaSetMonitorWatcher] starting
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] checking replica set: replA
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017

        { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127835), ok: 1.0 }

        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] _check : replA/vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db01-mia:27017

        { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db01-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db01-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127836), ok: 1.0 }

        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017

        { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127836), ok: 1.0 }

        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db02-mia:27017

        { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db02-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db02-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127837), ok: 1.0 }

        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db03-mia:27017

        { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db03-mia:27017", "vid-db04-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db03-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127837), ok: 1.0 }

        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017

        { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127838), ok: 1.0 }

        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed
        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db05-mia:27017

        { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db05-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db05-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127839), ok: 1.0 }

        Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed

      Fri Dec 28 13:08:49 BackgroundJob starting: ConnectBG
      Fri Dec 28 13:08:49 all dbs
      Fri Dec 28 13:08:49 DATABASE: localhost to /tmp/mongo.dump/localhost
      Fri Dec 28 13:08:49 skipping collection: localhost.test.$id
      Fri Dec 28 13:08:49 localhost.test to /tmp/mongo.dump/localhost/test.bson
      Fri Dec 28 13:08:49 2 objects
      Fri Dec 28 13:08:49 Metadata for localhost.test to /tmp/mongo.dump/localhost/test.metadata.json
      Fri Dec 28 13:08:49 DATABASE: test to /tmp/mongo.dump/test
      Fri Dec 28 13:08:49 skipping collection: test.test.$id
      Fri Dec 28 13:08:49 test.test to /tmp/mongo.dump/test/test.bson
      Fri Dec 28 13:08:49 2 objects
      Fri Dec 28 13:08:49 Metadata for test.test to /tmp/mongo.dump/test/test.metadata.json
      Fri Dec 28 13:08:49 DATABASE: terratv to /tmp/mongo.dump/terratv
      Fri Dec 28 13:08:49 skipping collection: terratv.system.users.$id
      Fri Dec 28 13:08:49 skipping collection: terratv.provider.$id
      Fri Dec 28 13:08:49 skipping collection: terratv.provider.$slug_1
      Fri Dec 28 13:08:49 skipping collection: terratv.provider.$_types_1
      Fri Dec 28 13:08:49 skipping collection: terratv.legacy.$id
      Fri Dec 28 13:08:49 skipping collection: terratv.legacy.$_types_1
      Fri Dec 28 13:08:49 skipping collection: terratv.channel.$id
      Fri Dec 28 13:08:49 skipping collection: terratv.channel.$slug_1
      Fri Dec 28 13:08:49 skipping collection: terratv.channel.$_types_1
      Fri Dec 28 13:08:49 skipping collection: terratv.video.$id
      Fri Dec 28 13:08:49 skipping collection: terratv.video.$slug_1
      Fri Dec 28 13:08:49 skipping collection: terratv.video.$_types_1
      Fri Dec 28 13:08:49 skipping collection: terratv.media.$id
      Fri Dec 28 13:08:49 skipping collection: terratv.media.$_types_1
      Fri Dec 28 13:08:49 terratv.system.users to /tmp/mongo.dump/terratv/system.users.bson
      Fri Dec 28 13:08:49 1 objects
      Fri Dec 28 13:08:49 Metadata for terratv.system.users to /tmp/mongo.dump/terratv/system.users.metadata.json
      Fri Dec 28 13:08:49 terratv.provider to /tmp/mongo.dump/terratv/provider.bson
      Fri Dec 28 13:08:49 2 objects
      Fri Dec 28 13:08:49 Metadata for terratv.provider to /tmp/mongo.dump/terratv/provider.metadata.json
      Fri Dec 28 13:08:49 terratv.legacy to /tmp/mongo.dump/terratv/legacy.bson
      Fri Dec 28 13:08:49 28 objects
      Fri Dec 28 13:08:49 Metadata for terratv.legacy to /tmp/mongo.dump/terratv/legacy.metadata.json
      Fri Dec 28 13:08:49 terratv.channel to /tmp/mongo.dump/terratv/channel.bson
      Fri Dec 28 13:08:49 1 objects
      Fri Dec 28 13:08:49 Metadata for terratv.channel to /tmp/mongo.dump/terratv/channel.metadata.json
      Fri Dec 28 13:08:49 terratv.video to /tmp/mongo.dump/terratv/video.bson
      Fri Dec 28 13:08:49 12 objects
      Fri Dec 28 13:08:49 Metadata for terratv.video to /tmp/mongo.dump/terratv/video.metadata.json
      Fri Dec 28 13:08:49 terratv.media to /tmp/mongo.dump/terratv/media.bson
      Fri Dec 28 13:08:49 33 objects
      Fri Dec 28 13:08:49 Metadata for terratv.media to /tmp/mongo.dump/terratv/media.metadata.json
      Fri Dec 28 13:08:49 DATABASE: admin to /tmp/mongo.dump/admin
      Fri Dec 28 13:08:49 skipping collection: admin.system.users.$id
      Fri Dec 28 13:08:49 admin.system.users to /tmp/mongo.dump/admin/system.users.bson
      Fri Dec 28 13:08:49 3 objects
      Fri Dec 28 13:08:49 Metadata for admin.system.users to /tmp/mongo.dump/admin/system.users.metadata.json
      Fri Dec 28 13:08:49 DATABASE: config to /tmp/mongo.dump/config
      Fri Dec 28 13:08:49 local.oplog.rs to /tmp/mongo.dump/oplog.bson
      Fri Dec 28 13:08:49 0 objects
      Logstream::get called in uninitialized state
      Fri Dec 28 13:08:49 deleting replica set monitor for: replA/vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017
      Segmentation fault (core dumped)

      Show
      mongodump -v --host replA/vid-db01-mia,vid-db02-mia,vid-db03-mia,vid-db04-mia,vid-db05-mia -u admin -p --oplog --out /tmp/mongo.dump Fri Dec 28 13:08:37 starting new replica set monitor for replica set replA with seed of vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017 Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 successfully connected to seed vid-db01-mia:27017 for replica set replA Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db01-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db01-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db01-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117825), ok: 1.0 } Fri Dec 28 13:08:37 changing hosts to { 0: "vid-db01-mia:27017", 1: "vid-db04-mia:27017", 2: "vid-db03-mia:27017", 3: "vid-db02-mia:27017", 4: "vid-db05-mia:27017" } from replA/ Fri Dec 28 13:08:37 trying to add new host vid-db01-mia:27017 to replica set replA Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 successfully connected to new host vid-db01-mia:27017 in replica set replA Fri Dec 28 13:08:37 trying to add new host vid-db02-mia:27017 to replica set replA Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 successfully connected to new host vid-db02-mia:27017 in replica set replA Fri Dec 28 13:08:37 trying to add new host vid-db03-mia:27017 to replica set replA Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 successfully connected to new host vid-db03-mia:27017 in replica set replA Fri Dec 28 13:08:37 trying to add new host vid-db04-mia:27017 to replica set replA Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 successfully connected to new host vid-db04-mia:27017 in replica set replA Fri Dec 28 13:08:37 trying to add new host vid-db05-mia:27017 to replica set replA Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 successfully connected to new host vid-db05-mia:27017 in replica set replA Fri Dec 28 13:08:37 creating new connection to:vid-db01-mia:27017 Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 connected connection! Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:37 _check : replA/vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017 Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db01-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db01-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db01-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117828), ok: 1.0 } Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017 { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117829), ok: 1.0 } Fri Dec 28 13:08:37 creating new connection to:vid-db04-mia:27017 Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 connected connection! Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:37 Primary for replica set replA changed to vid-db04-mia:27017 Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db02-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db02-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db02-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117831), ok: 1.0 } Fri Dec 28 13:08:37 creating new connection to:vid-db02-mia:27017 Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 connected connection! Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db03-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db03-mia:27017", "vid-db04-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db03-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117831), ok: 1.0 } Fri Dec 28 13:08:37 creating new connection to:vid-db03-mia:27017 Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 connected connection! Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017 { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117832), ok: 1.0 } Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:37 ReplicaSetMonitor::_checkConnection: vid-db05-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db05-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db05-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700117833), ok: 1.0 } Fri Dec 28 13:08:37 creating new connection to:vid-db05-mia:27017 Fri Dec 28 13:08:37 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:37 connected connection! Fri Dec 28 13:08:37 dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:37 replica set monitor for replica set replA started, address is replA/vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017 connected to: replA/vid-db01-mia,vid-db02-mia,vid-db03-mia,vid-db04-mia,vid-db05-mia Enter password: Fri Dec 28 13:08:37 BackgroundJob starting: ReplicaSetMonitorWatcher Fri Dec 28 13:08:37 [ReplicaSetMonitorWatcher] starting Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] checking replica set: replA Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017 { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127835), ok: 1.0 } Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] _check : replA/vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017 Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db01-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db01-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db01-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127836), ok: 1.0 } Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017 { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127836), ok: 1.0 } Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db02-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db02-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db02-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127837), ok: 1.0 } Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db03-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db03-mia:27017", "vid-db04-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db03-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127837), ok: 1.0 } Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db04-mia:27017 { setName: "replA", ismaster: true, secondary: false, hosts: [ "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db05-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db04-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127838), ok: 1.0 } Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] ReplicaSetMonitor::_checkConnection: vid-db05-mia:27017 { setName: "replA", ismaster: false, secondary: true, hosts: [ "vid-db05-mia:27017", "vid-db04-mia:27017", "vid-db03-mia:27017", "vid-db02-mia:27017", "vid-db01-mia:27017" ], primary: "vid-db04-mia:27017", me: "vid-db05-mia:27017", maxBsonObjectSize: 16777216, localTime: new Date(1356700127839), ok: 1.0 } Fri Dec 28 13:08:47 [ReplicaSetMonitorWatcher] dbclient_rs replSetGetStatus failed Fri Dec 28 13:08:49 BackgroundJob starting: ConnectBG Fri Dec 28 13:08:49 all dbs Fri Dec 28 13:08:49 DATABASE: localhost to /tmp/mongo.dump/localhost Fri Dec 28 13:08:49 skipping collection: localhost.test.$ id Fri Dec 28 13:08:49 localhost.test to /tmp/mongo.dump/localhost/test.bson Fri Dec 28 13:08:49 2 objects Fri Dec 28 13:08:49 Metadata for localhost.test to /tmp/mongo.dump/localhost/test.metadata.json Fri Dec 28 13:08:49 DATABASE: test to /tmp/mongo.dump/test Fri Dec 28 13:08:49 skipping collection: test.test.$ id Fri Dec 28 13:08:49 test.test to /tmp/mongo.dump/test/test.bson Fri Dec 28 13:08:49 2 objects Fri Dec 28 13:08:49 Metadata for test.test to /tmp/mongo.dump/test/test.metadata.json Fri Dec 28 13:08:49 DATABASE: terratv to /tmp/mongo.dump/terratv Fri Dec 28 13:08:49 skipping collection: terratv.system.users.$ id Fri Dec 28 13:08:49 skipping collection: terratv.provider.$ id Fri Dec 28 13:08:49 skipping collection: terratv.provider.$slug_1 Fri Dec 28 13:08:49 skipping collection: terratv.provider.$_types_1 Fri Dec 28 13:08:49 skipping collection: terratv.legacy.$ id Fri Dec 28 13:08:49 skipping collection: terratv.legacy.$_types_1 Fri Dec 28 13:08:49 skipping collection: terratv.channel.$ id Fri Dec 28 13:08:49 skipping collection: terratv.channel.$slug_1 Fri Dec 28 13:08:49 skipping collection: terratv.channel.$_types_1 Fri Dec 28 13:08:49 skipping collection: terratv.video.$ id Fri Dec 28 13:08:49 skipping collection: terratv.video.$slug_1 Fri Dec 28 13:08:49 skipping collection: terratv.video.$_types_1 Fri Dec 28 13:08:49 skipping collection: terratv.media.$ id Fri Dec 28 13:08:49 skipping collection: terratv.media.$_types_1 Fri Dec 28 13:08:49 terratv.system.users to /tmp/mongo.dump/terratv/system.users.bson Fri Dec 28 13:08:49 1 objects Fri Dec 28 13:08:49 Metadata for terratv.system.users to /tmp/mongo.dump/terratv/system.users.metadata.json Fri Dec 28 13:08:49 terratv.provider to /tmp/mongo.dump/terratv/provider.bson Fri Dec 28 13:08:49 2 objects Fri Dec 28 13:08:49 Metadata for terratv.provider to /tmp/mongo.dump/terratv/provider.metadata.json Fri Dec 28 13:08:49 terratv.legacy to /tmp/mongo.dump/terratv/legacy.bson Fri Dec 28 13:08:49 28 objects Fri Dec 28 13:08:49 Metadata for terratv.legacy to /tmp/mongo.dump/terratv/legacy.metadata.json Fri Dec 28 13:08:49 terratv.channel to /tmp/mongo.dump/terratv/channel.bson Fri Dec 28 13:08:49 1 objects Fri Dec 28 13:08:49 Metadata for terratv.channel to /tmp/mongo.dump/terratv/channel.metadata.json Fri Dec 28 13:08:49 terratv.video to /tmp/mongo.dump/terratv/video.bson Fri Dec 28 13:08:49 12 objects Fri Dec 28 13:08:49 Metadata for terratv.video to /tmp/mongo.dump/terratv/video.metadata.json Fri Dec 28 13:08:49 terratv.media to /tmp/mongo.dump/terratv/media.bson Fri Dec 28 13:08:49 33 objects Fri Dec 28 13:08:49 Metadata for terratv.media to /tmp/mongo.dump/terratv/media.metadata.json Fri Dec 28 13:08:49 DATABASE: admin to /tmp/mongo.dump/admin Fri Dec 28 13:08:49 skipping collection: admin.system.users.$ id Fri Dec 28 13:08:49 admin.system.users to /tmp/mongo.dump/admin/system.users.bson Fri Dec 28 13:08:49 3 objects Fri Dec 28 13:08:49 Metadata for admin.system.users to /tmp/mongo.dump/admin/system.users.metadata.json Fri Dec 28 13:08:49 DATABASE: config to /tmp/mongo.dump/config Fri Dec 28 13:08:49 local.oplog.rs to /tmp/mongo.dump/oplog.bson Fri Dec 28 13:08:49 0 objects Logstream::get called in uninitialized state Fri Dec 28 13:08:49 deleting replica set monitor for: replA/vid-db01-mia:27017,vid-db02-mia:27017,vid-db03-mia:27017,vid-db04-mia:27017,vid-db05-mia:27017 Segmentation fault (core dumped)

      The mongodump is finishing with Segmentation Fault when we are setting the replicaset parameter at --host. The core dump file is attached.

      When we set a single server of the replicaset the mongodump is running OK.

      1. mongodump --host vid-db04-mia -u admin -p --out /tmp/mongo.dump
        connected to: vid-db04-mia
        Enter password:
        Fri Dec 28 13:10:03 all dbs
        Fri Dec 28 13:10:03 DATABASE: localhost to /tmp/mongo.dump/localhost
        Fri Dec 28 13:10:03 localhost.test to /tmp/mongo.dump/localhost/test.bson
        Fri Dec 28 13:10:03 2 objects
        Fri Dec 28 13:10:03 Metadata for localhost.test to /tmp/mongo.dump/localhost/test.metadata.json
        Fri Dec 28 13:10:03 DATABASE: test to /tmp/mongo.dump/test
        Fri Dec 28 13:10:03 test.test to /tmp/mongo.dump/test/test.bson
        Fri Dec 28 13:10:03 2 objects
        Fri Dec 28 13:10:03 Metadata for test.test to /tmp/mongo.dump/test/test.metadata.json
        Fri Dec 28 13:10:03 DATABASE: terratv to /tmp/mongo.dump/terratv
        Fri Dec 28 13:10:03 terratv.system.users to /tmp/mongo.dump/terratv/system.users.bson
        Fri Dec 28 13:10:03 1 objects
        Fri Dec 28 13:10:03 Metadata for terratv.system.users to /tmp/mongo.dump/terratv/system.users.metadata.json
        Fri Dec 28 13:10:03 terratv.provider to /tmp/mongo.dump/terratv/provider.bson
        Fri Dec 28 13:10:03 2 objects
        Fri Dec 28 13:10:03 Metadata for terratv.provider to /tmp/mongo.dump/terratv/provider.metadata.json
        Fri Dec 28 13:10:03 terratv.legacy to /tmp/mongo.dump/terratv/legacy.bson
        Fri Dec 28 13:10:03 28 objects
        Fri Dec 28 13:10:03 Metadata for terratv.legacy to /tmp/mongo.dump/terratv/legacy.metadata.json
        Fri Dec 28 13:10:03 terratv.channel to /tmp/mongo.dump/terratv/channel.bson
        Fri Dec 28 13:10:03 1 objects
        Fri Dec 28 13:10:03 Metadata for terratv.channel to /tmp/mongo.dump/terratv/channel.metadata.json
        Fri Dec 28 13:10:03 terratv.video to /tmp/mongo.dump/terratv/video.bson
        Fri Dec 28 13:10:03 12 objects
        Fri Dec 28 13:10:03 Metadata for terratv.video to /tmp/mongo.dump/terratv/video.metadata.json
        Fri Dec 28 13:10:03 terratv.media to /tmp/mongo.dump/terratv/media.bson
        Fri Dec 28 13:10:03 33 objects
        Fri Dec 28 13:10:03 Metadata for terratv.media to /tmp/mongo.dump/terratv/media.metadata.json
        Fri Dec 28 13:10:03 DATABASE: admin to /tmp/mongo.dump/admin
        Fri Dec 28 13:10:03 admin.system.users to /tmp/mongo.dump/admin/system.users.bson
        Fri Dec 28 13:10:03 3 objects
        Fri Dec 28 13:10:03 Metadata for admin.system.users to /tmp/mongo.dump/admin/system.users.metadata.json
        Fri Dec 28 13:10:03 DATABASE: config to /tmp/mongo.dump/config
        [root@17z ~]# echo $?
        0

            Assignee:
            Unassigned Unassigned
            Reporter:
            infra.videos@corp.terra.com.br Infra Videos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: