Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1
    • Component/s: library
    • Security Level: Public
    • Labels:
      None

      Description

      There is a typo for the touch_multi (double __ in the function name for the function couchbase_touch_multi) causing the runtime linker to abort if the function is being called.

      The current unit tests didn't cover the functional touch interface.

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

        Activity

        trond Trond Norbye created issue -
        trond Trond Norbye made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Show
        trond Trond Norbye added a comment - http://review.couchbase.org/#/c/23229/
        Hide
        trond Trond Norbye added a comment -

        THe current workaround is to use the object-oriented interface

        Show
        trond Trond Norbye added a comment - THe current workaround is to use the object-oriented interface
        trond Trond Norbye made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.1.1 [ 10439 ]
        Resolution Fixed [ 1 ]
        Hide
        TimSmith Tim Smith (Inactive) added a comment - - edited

        This is more important than that. PHP can't open couchbase.so at all, no matter if you use any couchbase functions or not. Just trying to start up php-fpm to load couchbase.so fails:

        Starting php-fpm: [13-Dec-2012 14:08:49] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/root/php-lib/php-ext-couchbase/couchbase.so' - /root/php-lib/php-ext-couchbase/couchbase.so: undefined symbol: php_couchbase_touch__multi_impl in Unknown on line 0

        This was tested on Centos 5.8 and 6.3 (with install from the centos55 and centos62 rpms).

        I recompiled couchbase.so from current master php-ext-couchbase, and it does work OK.

        Please get a new 1.1 official release out as soon as possible. The current one is not usable at all.

        Show
        TimSmith Tim Smith (Inactive) added a comment - - edited This is more important than that. PHP can't open couchbase.so at all, no matter if you use any couchbase functions or not. Just trying to start up php-fpm to load couchbase.so fails: Starting php-fpm: [13-Dec-2012 14:08:49] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/root/php-lib/php-ext-couchbase/couchbase.so' - /root/php-lib/php-ext-couchbase/couchbase.so: undefined symbol: php_couchbase_touch__multi_impl in Unknown on line 0 This was tested on Centos 5.8 and 6.3 (with install from the centos55 and centos62 rpms). I recompiled couchbase.so from current master php-ext-couchbase, and it does work OK. Please get a new 1.1 official release out as soon as possible. The current one is not usable at all.
        Hide
        TimSmith Tim Smith (Inactive) added a comment -

        Unofficial (user-supplied) build that fixes this issue. Just copy it as couchbase.so into your php lib directory.

        Show
        TimSmith Tim Smith (Inactive) added a comment - Unofficial (user-supplied) build that fixes this issue. Just copy it as couchbase.so into your php lib directory.
        TimSmith Tim Smith (Inactive) made changes -
        Attachment PCBC-163-couchbase.so [ 16004 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 23136 ] Couchbase SDK Workflow [ 44371 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes