Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-213

SEGV in extension: php_couchbase_pres_dtor (rsrc=<optimized out>) at /sources/lcb2.0-repo/php/couchbase.c:64

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.1.4
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      FAILED TEST SUMMARY
      ---------------------------------------------------------------------
      GetMulti - PlainOO [tests/phpt/GetMulti/PlainOO.phpt]
      GetReplica - GetReplica [tests/phpt/GetReplica/GetReplica.phpt]
      GetReplica - GetReplicaMulti [tests/phpt/GetReplica/GetReplicaMulti.phpt]
      NegativeExpiry - Increment [tests/phpt/NegativeExpiry/Increment.phpt]
      NegativeExpiry - TouchMulti [tests/phpt/NegativeExpiry/TouchMulti.phpt]
      Prefix - Prefix [tests/phpt/Prefix/Prefix.phpt]
      ViewSimple - MissingView [tests/phpt/ViewSimple/MissingView.phpt]
      =====================================================================

      This against a local cluster. Additionally, two of the failed tests segfault. Is this normal?

      For the GetMulti failure:

      Program received signal SIGSEGV, Segmentation fault.
      *_GI__libc_free (mem=0x7ffff37a7e60) at malloc.c:3709
      3709 malloc.c: No such file or directory.
      (gdb) bt
      #0 *_GI__libc_free (mem=0x7ffff37a7e60) at malloc.c:3709
      #1 0x00007ffff47efded in php_couchbase_pres_dtor (rsrc=<optimized out>)
      at /sources/lcb2.0-repo/php/couchbase.c:64
      #2 0x00000000006ae83e in plist_entry_destructor (ptr=0x101a630)
      at /tmp/buildd/php5-5.4.4/Zend/zend_list.c:209
      #3 0x00000000006ab1b5 in zend_hash_apply_deleter () at /tmp/buildd/php5-5.4.4/Zend/zend_hash.c:650
      #4 0x00000000006ac9a8 in zend_hash_graceful_reverse_destroy (ht=0xdb8798)
      at /tmp/buildd/php5-5.4.4/Zend/zend_hash.c:687
      #5 0x000000000069e749 in zend_shutdown () at /tmp/buildd/php5-5.4.4/Zend/zend.c:822
      #6 0x000000000063f44b in php_module_shutdown () at /tmp/buildd/php5-5.4.4/main/main.c:2346
      #7 0x0000000000430f78 in main (argc=32767, argv=0xdb9210) at /tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:1376

      The segfault from the Prefix test is similar.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        ingenthr Matt Ingenthron created issue -
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        Planned Start 2013-03-21 12:00 (initialized without having effort estimation)
        Planned End 2013-03-21 12:00 (initialized without having effort estimation)
        ingenthr Matt Ingenthron made changes -
        Link This issue is triggered by SDKQE-218 [ SDKQE-218 ]
        Hide
        trond Trond Norbye added a comment -

        This error is caused by the persistent connections (and most likely been here from the beginning)

        Show
        trond Trond Norbye added a comment - This error is caused by the persistent connections (and most likely been here from the beginning)
        trond Trond Norbye made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Show
        trond Trond Norbye added a comment - http://review.couchbase.org/#/c/25306/
        trond Trond Norbye made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.1.4 [ 10464 ]
        Fix Version/s 1.1.3 [ 10452 ]
        Resolution Fixed [ 1 ]
        trond Trond Norbye made changes -
        Planned Start 2013-03-21 12:00 2013-03-21 12:00 (set to new fixed version's start date)
        Planned End 2013-03-21 12:00 2013-03-21 12:00 (set to new fixed version's start date)
        brett19 Brett Lawson made changes -
        Workflow jira [ 26287 ] Couchbase SDK Workflow [ 44416 ]

          People

          • Assignee:
            trond Trond Norbye
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes