Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-135

lcb_server_purge_implicit_responses: Assertion `nr == sizeof(req)' failed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.2.0
    • Component/s: library
    • Security Level: Public
    • Labels:
      None

      Description

      Cannot reproduce, this is all the info I have

      FAIL GetMulti - MgetOrdered [tests/phpt/GetMulti/MgetOrdered.phpt]

      mnunberg@csure:/sources/lcb2.0-repo/php$ cat tests/phpt/GetMulti/*.out
      PHP_COUCHBASE_OK
      php: src/server.c:799: lcb_server_purge_implicit_responses: Assertion `nr == sizeof(req)' failed.

      Might be related to CCBC-120

      To reiterate again, I cannot reproduce this - I just happened to notice it

      1. core
        10.43 MB
        Mark Nunberg
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        mnunberg Mark Nunberg added a comment -

        I've closed this bug and believe it to be fixed in 2.2.0

        Show
        mnunberg Mark Nunberg added a comment - I've closed this bug and believe it to be fixed in 2.2.0
        Hide
        mnunberg Mark Nunberg added a comment -

        It is the same error, I've responded on the SO thread. In short, they're using an older libcouchbase.

        Show
        mnunberg Mark Nunberg added a comment - It is the same error, I've responded on the SO thread. In short, they're using an older libcouchbase.
        Show
        pvarley Patrick Varley added a comment - Could this be the same error: http://stackoverflow.com/questions/21161598/how-to-solve-lcb-server-purge-implicit-responses-assertion-nr-sizeofreq/21217217#21217217
        Hide
        ingenthr Matt Ingenthron added a comment -

        Talking with Mark, he can't regularly repro this, but does still see it randomly

        Show
        ingenthr Matt Ingenthron added a comment - Talking with Mark, he can't regularly repro this, but does still see it randomly
        Hide
        mnunberg Mark Nunberg added a comment -

        Core Dump – self-compiled versions of lcb and php-ext

        Show
        mnunberg Mark Nunberg added a comment - Core Dump – self-compiled versions of lcb and php-ext
        Hide
        mnunberg Mark Nunberg added a comment -

        #0 0x00007f4d29d00475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        #1 0x00007f4d29d036f0 in *__GI_abort () at abort.c:92
        #2 0x00007f4d29cf9621 in *_GI__assert_fail (assertion=0x7f4d28a88fd3 "nr == sizeof(req)",
        file=<optimized out>, line=799, function=0x7f4d28a893c0 "lcb_server_purge_implicit_responses")
        at assert.c:81
        #3 0x00007f4d28a7ab53 in lcb_server_purge_implicit_responses (c=0x2c35ff0, seqno=34,
        end=1354691478793889000) at src/server.c:799
        #4 0x00007f4d28a79a56 in lcb_server_destroy (server=0x2c35ff0) at src/server.c:394
        #5 0x00007f4d28a74ba5 in lcb_destroy (instance=0x2c83ed0) at src/instance.c:347
        #6 0x00007f4d28c9b836 in php_couchbase_res_dtor (rsrc=<optimized out>)
        at /sources/lcb2.0-repo/php/couchbase.c:43
        #7 0x00000000006ae89e in list_entry_destructor (ptr=0x7f4d27d177d8)
        at /tmp/buildd/php5-5.4.4/Zend/zend_list.c:183
        #8 0x00000000006ac6bd in zend_hash_del_key_or_index (ht=0xdb8750, arKey=0x0, nKeyLength=0, h=56,
        flag=753497888) at /tmp/buildd/php5-5.4.4/Zend/zend_hash.c:531
        #9 0x00000000006ae9b1 in _zend_list_delete (id=14243) at /tmp/buildd/php5-5.4.4/Zend/zend_list.c:57
        #10 0x000000000068fa5a in _zval_ptr_dtor (zval_ptr=0x7f4d27d175d8)
        at /tmp/buildd/php5-5.4.4/Zend/zend_variables.h:35
        #11 0x00000000006bf947 in zend_object_std_dtor (object=0x7f4d27c9c978)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:54
        #12 0x00000000006bf979 in zend_objects_free_object_storage (object=0x7f4d27c9c978)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:137
        #13 0x00000000006c5693 in zend_objects_store_del_ref_by_handle_ex (handle=753383344, handlers=0x37a3)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:220
        #14 0x00000000006c56b3 in zend_objects_store_del_ref (zobject=0x7f4d27ca0b60)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:172
        #15 0x000000000068fa5a in _zval_ptr_dtor (zval_ptr=0x7f4d27cfc130)
        at /tmp/buildd/php5-5.4.4/Zend/zend_variables.h:35
        #16 0x00000000006ac7b8 in zend_hash_destroy (ht=0x7f4d27cfd508)
        at /tmp/buildd/php5-5.4.4/Zend/zend_hash.c:560
        #17 0x00000000006bf8ec in zend_object_std_dtor (object=0x7f4d27cb9900)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:44
        #18 0x00000000006bf979 in zend_objects_free_object_storage (object=0x7f4d27cb9900)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:137
        #19 0x00000000006c5693 in zend_objects_store_del_ref_by_handle_ex (handle=753383728, handlers=0x37a3)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:220
        #20 0x00000000006c56b3 in zend_objects_store_del_ref (zobject=0x7f4d27cb9100)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:172
        #21 0x000000000068fa5a in _zval_ptr_dtor (zval_ptr=0x7f4d27cb9a78)
        at /tmp/buildd/php5-5.4.4/Zend/zend_variables.h:35
        #22 0x00000000006ac7b8 in zend_hash_destroy (ht=0x7f4d27cb9c58)
        at /tmp/buildd/php5-5.4.4/Zend/zend_hash.c:560
        --Type <return> to continue, or q <return> to quit--
        #23 0x000000000069d9f7 in _zval_dtor_func (zvalue=0x7f4d27cb9d38)
        at /tmp/buildd/php5-5.4.4/Zend/zend_variables.c:43
        #24 0x000000000068fa5a in _zval_ptr_dtor (zval_ptr=0x7f4d27e325b0)
        at /tmp/buildd/php5-5.4.4/Zend/zend_variables.h:35
        #25 0x00000000006bf947 in zend_object_std_dtor (object=0x7f4d27cf8fa8)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:54
        #26 0x00000000006bf979 in zend_objects_free_object_storage (object=0x7f4d27cf8fa8)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:137
        #27 0x00000000006c51c7 in zend_objects_store_free_object_storage (objects=0xdb8880)
        at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:92
        #28 0x000000000068ffbc in shutdown_executor () at /tmp/buildd/php5-5.4.4/Zend/zend_execute_API.c:297
        #29 0x000000000069e9e5 in zend_deactivate () at /tmp/buildd/php5-5.4.4/Zend/zend.c:941
        #30 0x000000000063e36a in php_request_shutdown (dummy=0x37a3) at /tmp/buildd/php5-5.4.4/main/main.c:1781
        #31 0x0000000000748374 in do_cli (argc=0, argv=0x7fff0f1f03e5)
        at /tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:1174
        #32 0x00000000004310ca in main (argc=32767, argv=0x2a5e210)
        at /tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:1361
        (gdb)

        Show
        mnunberg Mark Nunberg added a comment - #0 0x00007f4d29d00475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007f4d29d036f0 in *__GI_abort () at abort.c:92 #2 0x00007f4d29cf9621 in *_ GI __assert_fail (assertion=0x7f4d28a88fd3 "nr == sizeof(req)", file=<optimized out>, line=799, function=0x7f4d28a893c0 "lcb_server_purge_implicit_responses") at assert.c:81 #3 0x00007f4d28a7ab53 in lcb_server_purge_implicit_responses (c=0x2c35ff0, seqno=34, end=1354691478793889000) at src/server.c:799 #4 0x00007f4d28a79a56 in lcb_server_destroy (server=0x2c35ff0) at src/server.c:394 #5 0x00007f4d28a74ba5 in lcb_destroy (instance=0x2c83ed0) at src/instance.c:347 #6 0x00007f4d28c9b836 in php_couchbase_res_dtor (rsrc=<optimized out>) at /sources/lcb2.0-repo/php/couchbase.c:43 #7 0x00000000006ae89e in list_entry_destructor (ptr=0x7f4d27d177d8) at /tmp/buildd/php5-5.4.4/Zend/zend_list.c:183 #8 0x00000000006ac6bd in zend_hash_del_key_or_index (ht=0xdb8750, arKey=0x0, nKeyLength=0, h=56, flag=753497888) at /tmp/buildd/php5-5.4.4/Zend/zend_hash.c:531 #9 0x00000000006ae9b1 in _zend_list_delete (id=14243) at /tmp/buildd/php5-5.4.4/Zend/zend_list.c:57 #10 0x000000000068fa5a in _zval_ptr_dtor (zval_ptr=0x7f4d27d175d8) at /tmp/buildd/php5-5.4.4/Zend/zend_variables.h:35 #11 0x00000000006bf947 in zend_object_std_dtor (object=0x7f4d27c9c978) at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:54 #12 0x00000000006bf979 in zend_objects_free_object_storage (object=0x7f4d27c9c978) at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:137 #13 0x00000000006c5693 in zend_objects_store_del_ref_by_handle_ex (handle=753383344, handlers=0x37a3) at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:220 #14 0x00000000006c56b3 in zend_objects_store_del_ref (zobject=0x7f4d27ca0b60) at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:172 #15 0x000000000068fa5a in _zval_ptr_dtor (zval_ptr=0x7f4d27cfc130) at /tmp/buildd/php5-5.4.4/Zend/zend_variables.h:35 #16 0x00000000006ac7b8 in zend_hash_destroy (ht=0x7f4d27cfd508) at /tmp/buildd/php5-5.4.4/Zend/zend_hash.c:560 #17 0x00000000006bf8ec in zend_object_std_dtor (object=0x7f4d27cb9900) at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:44 #18 0x00000000006bf979 in zend_objects_free_object_storage (object=0x7f4d27cb9900) at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:137 #19 0x00000000006c5693 in zend_objects_store_del_ref_by_handle_ex (handle=753383728, handlers=0x37a3) at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:220 #20 0x00000000006c56b3 in zend_objects_store_del_ref (zobject=0x7f4d27cb9100) at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:172 #21 0x000000000068fa5a in _zval_ptr_dtor (zval_ptr=0x7f4d27cb9a78) at /tmp/buildd/php5-5.4.4/Zend/zend_variables.h:35 #22 0x00000000006ac7b8 in zend_hash_destroy (ht=0x7f4d27cb9c58) at /tmp/buildd/php5-5.4.4/Zend/zend_hash.c:560 -- Type <return> to continue, or q <return> to quit -- #23 0x000000000069d9f7 in _zval_dtor_func (zvalue=0x7f4d27cb9d38) at /tmp/buildd/php5-5.4.4/Zend/zend_variables.c:43 #24 0x000000000068fa5a in _zval_ptr_dtor (zval_ptr=0x7f4d27e325b0) at /tmp/buildd/php5-5.4.4/Zend/zend_variables.h:35 #25 0x00000000006bf947 in zend_object_std_dtor (object=0x7f4d27cf8fa8) at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:54 #26 0x00000000006bf979 in zend_objects_free_object_storage (object=0x7f4d27cf8fa8) at /tmp/buildd/php5-5.4.4/Zend/zend_objects.c:137 #27 0x00000000006c51c7 in zend_objects_store_free_object_storage (objects=0xdb8880) at /tmp/buildd/php5-5.4.4/Zend/zend_objects_API.c:92 #28 0x000000000068ffbc in shutdown_executor () at /tmp/buildd/php5-5.4.4/Zend/zend_execute_API.c:297 #29 0x000000000069e9e5 in zend_deactivate () at /tmp/buildd/php5-5.4.4/Zend/zend.c:941 #30 0x000000000063e36a in php_request_shutdown (dummy=0x37a3) at /tmp/buildd/php5-5.4.4/main/main.c:1781 #31 0x0000000000748374 in do_cli (argc=0, argv=0x7fff0f1f03e5) at /tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:1174 #32 0x00000000004310ca in main (argc=32767, argv=0x2a5e210) at /tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:1361 (gdb)

          People

          • Assignee:
            mnunberg Mark Nunberg
            Reporter:
            mnunberg Mark Nunberg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes