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

Crash connecting to replicaset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8.1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: