[PCBC-294] Conflicts with XDebug Created: 20/Sep/14  Updated: 20/Sep/14

Status: Open
Project: Couchbase PHP client library
Component/s: library
Affects Version/s: 2.0.0
Fix Version/s: None
Security Level: Public

Type: Task Priority: Major
Reporter: Remi Collet Assignee: Brett Lawson
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
$ gdb php
(gdb) run -n -d zend_extension=xdebug.so -dextension=modules/couchbase.so --re couchbase
...
Program received signal SIGSEGV, Segmentation fault.
...
(gdb) bt
#0 0x00007fffed533a9e in xdebug_execute_internal (current_execute_data=0x7ffff7f78668, fci=0x0, return_value_used=0)
    at /usr/src/debug/php-pecl-xdebug-2.2.5/NTS/xdebug.c:1589
#1 0x000055555582c3c0 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /usr/src/debug/php-5.6.1RC1/Zend/zend_vm_execute.h:560
#2 0x00005555557c32d8 in execute_ex (execute_data=0x7ffff7f78668) at /usr/src/debug/php-5.6.1RC1/Zend/zend_vm_execute.h:363
#3 0x0000555555777db9 in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php-5.6.1RC1/Zend/zend_dtrace.c:73
#4 0x00007fffed532fcc in xdebug_execute_ex (execute_data=0x7ffff7f78668) at /usr/src/debug/php-pecl-xdebug-2.2.5/NTS/xdebug.c:1437
#5 0x000055555577b61a in zend_eval_stringl (
    str=0x7fffed318f10 "/**\n * Various constants used for flags, data-type encoding and decoding, etc...\n * throughout this SDK.\n *\n * @author Brett Lawson <brett19@gmail.com>\n */\n\n/** @internal */ define('COUCHBASE_VAL_MASK"..., str_len=<optimized out>, retval_ptr=retval_ptr@entry=0x0,
    string_name=string_name@entry=0x7fffed318e8b "CouchbaseNative") at /usr/src/debug/php-5.6.1RC1/Zend/zend_execute_API.c:1080
#6 0x000055555577b6f6 in zend_eval_string (str=<optimized out>, retval_ptr=retval_ptr@entry=0x0, string_name=string_name@entry=0x7fffed318e8b "CouchbaseNative")
    at /usr/src/debug/php-5.6.1RC1/Zend/zend_execute_API.c:1119
#7 0x00007fffed31497c in zm_activate_couchbase (type=<optimized out>, module_number=<optimized out>) at /tmp/couchbase-2.0.0/couchbase.c:63
#8 0x0000555555790060 in zend_activate_modules () at /usr/src/debug/php-5.6.1RC1/Zend/zend_API.c:2414
#9 0x00005555557265da in php_request_startup () at /usr/src/debug/php-5.6.1RC1/main/main.c:1672
#10 0x000055555582da05 in do_cli (argc=7, argv=0x555555b85880) at /usr/src/debug/php-5.6.1RC1/sapi/cli/php_cli.c:965
#11 0x0000555555611550 in main (argc=7, argv=0x555555b85880) at /usr/src/debug/php-5.6.1RC1/sapi/cli/php_cli.c:1378





[PCBC-293] fastlz extension Created: 20/Sep/14  Updated: 20/Sep/14  Resolved: 20/Sep/14

Status: Resolved
Project: Couchbase PHP client library
Component/s: library
Affects Version/s: 2.0.0
Fix Version/s: None
Security Level: Public

Type: Task Priority: Major
Reporter: Remi Collet Assignee: Brett Lawson
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
In phpstubstr.h : fastlz_compress

What is the extension providing this function ?

In config.m4 I see
        PHP_ADD_EXTENSION_DEP(couchbase, json)
and in couchbase.c
        ZEND_MODULE_REQUIRED("json"),

But nothing for igbinary or fastlz.


 Comments   
Comment by Brett Lawson [ 20/Sep/14 ]
igbinary and fastlz are both no longer required to utilize the SDK. They are only used when the SDK requires them, and the use of them is evaluated late in the process enough to have them already available if they are installed.
Comment by Remi Collet [ 20/Sep/14 ]
But please, what is the extension which provides fastlz_* functions ?
There is no "official" on pecl ?
Any github link ?




[PCBC-292] Missing LICENSE Created: 20/Sep/14  Updated: 20/Sep/14  Resolved: 20/Sep/14

Status: Resolved
Project: Couchbase PHP client library
Component/s: docs
Affects Version/s: 2.0.0
Fix Version/s: None
Security Level: Public

Type: Task Priority: Major
Reporter: Remi Collet Assignee: Brett Lawson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
This file is mandatory for packaging.
Present in github repo, just missing in package.xml

 Comments   
Comment by Brett Lawson [ 20/Sep/14 ]
Corrected.




Generated at Tue Sep 23 08:32:24 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.