php-ext-couchbase-1.1.5 sporatically coredumping on getMulti

We're testing couchbase php sdk with couchbase 2.0.1 community edition (6 boxes). I'm noticing the following symptoms pop up on our apache webs where a child process will SegFault (11) and drop these cores. Most of them look almost identical in gdb, the r->the_request doesn't really point to any single piece of code. On one box, I've had 3 core dumps over ~20k requests in the last half hour. I don't see the same behavior on another box that handled ~7k requests over the last half hour (possibly hitting limitations?), our legacy boxes are handling ~42k requests over the same time frame. All of our boxes are RHEL6.

#0 0x00007f779e682cfc in php_couchbase_get_callback (instance=<value optimized out>, cookie=0x7f77b387c968, error=LCB_KEY_ENOENT, resp=0x7fff608742b0)
at php-ext-couchbase-1.1.5/get.c:20
#1 0x00007f779e4619bf in ?? () from /usr/lib64/libcouchbase.so.2
#2 0x00007f779e458fce in ?? () from /usr/lib64/libcouchbase.so.2
#3 0x00007f778694eb44 in event_base_loop () from /usr/lib64/libevent-1.4.so.2
#4 0x00007f779e464998 in lcb_wait () from /usr/lib64/libcouchbase.so.2
#5 0x00007f779e684c14 in php_couchbase_get_impl (ht=<value optimized out>, return_value=<value optimized out>, return_value_ptr=0x0, this_ptr=<value optimized out>,
return_value_used=1, multi=1, oo=1, lock=0, touch=0, replica=0) at php-ext-couchbase-1.1.5/get.c:351
#6 0x00007f779e67d3ee in zim_couchbase_getMulti (ht=<value optimized out>, return_value=<value optimized out>, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>,
return_value_used=<value optimized out>) at php-ext-couchbase-1.1.5/apidecl.c:653
#7 0x00007f77a35fa0c8 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:316
#8 0x00007f77a35d1400 in execute (op_array=0x7f77b32dd508) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:107
#9 0x00007f77a35abb3d in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/debug/php-5.3.3/Zend/zend.c:1194
#10 0x00007f77a3559da8 in php_execute_script (primary_file=0x7fff60876d10) at /usr/src/debug/php-5.3.3/main/main.c:2261
#11 0x00007f77a3634a85 in php_handler (r=0x7f77b344ac28) at /usr/src/debug/php-5.3.3/sapi/apache2handler/sapi_apache2.c:669
#12 0x00007f77adea9b00 in ap_run_handler ()
#13 0x00007f77adead3be in ap_invoke_handler ()
#14 0x00007f77adeb8a30 in ap_process_request ()
#15 0x00007f77adeb58f8 in ?? ()
#16 0x00007f77adeb1608 in ap_run_process_connection ()
#17 0x00007f77adebd807 in ?? ()
#18 0x00007f77adebdb1a in ?? ()
#19 0x00007f77adebe79c in ap_mpm_run ()
#20 0x00007f77ade95900 in main ()

anyone seen anything like this or have a glaringly obvious insight? been googling through forums, bug reports, releases and haven't found anything concrete.

1 Answer

« Back to question.