Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-570

Terminated by signal SIGABRT on create ObjectId

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None
    • Environment:
      mac os: 10.11.3
      php: 7.0.3 (cli) (built: Feb 6 2016 13:43:35) ( NTS )
      ext mongodb:
      mongodb support => enabled
      mongodb version => 1.1.2
      mongodb stability => stable
      libmongoc version => 1.3.1-dev

      ```php
      new ObjectID(null);
      ```

      Running code does not throw an exception. The process ends with a conclusion in line console:
      /private/tmp/php70-mongodb20160107-39875-zairlb/mongodb-1.1.2/src/libbson/src/bson/bson-oid.c:480 bson_oid_is_valid (): precondition failed: str
      fish: 'php -S localhost: 9090' terminated by signal SIGABRT (Abort)

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexpts Alex Pts
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: