Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-203

Crash connecting to replicaset

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 0.8.1
    • Affects Version/s: 0.7
    • Component/s: None
    • None

      Connecting to replica set crash my app.

      Digging into mongo source I've notice this:

      On mongo_replica_set_check_seed() an object named "hosts" (bson) is declared, not used, but then free (destroyed).

      It crashes the driver. Removing declaration and bson_destroy() call, driver works smoothly. Don't know if same problem appears in other places.

            Assignee:
            gjmurakami Gary Murakami
            Reporter:
            trikko Andrea Fontana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: