I am getting a some weird errors with the example from the beer sample as well as my own buckets.
PHP Warning: Invalid callback 6953512632594, no array or string given in CouchbaseNative on line 1121
child pid 3957 exit signal Segmentation fault (11)
My environment is as follows
Couchbase SDK 2.0
My Code below
$cluster = new CouchbaseCluster("127.0.0.1:8091");
$bucket = $cluster->openBucket('beer-sample');
$result = $bucket->get('aass_brewery-juleol');
$doc = $result->value;
echo $doc->name . ', ABV: ' . $doc->abv . "\n";
November 10, 2014, 7:57pm
This is a known issue and we are currently investigating, I will let you know as soon as we have something!
You can track progress here: https://www.couchbase.com/issues/browse/PCBC-310
November 10, 2014, 8:52pm
Thank you for the reply, I have since blew away the VM and started fresh with everything. I have not had any segmentation faults yet.
November 23, 2014, 12:08pm
I’ve installed the SDK 2.0.1 on my dev server (mac os) and production server (ubuntu). They both are having this issue. It happens randomly in about 20% of times on dev and 70% of times on production, which is just unacceptable. Is there a workaround for this issue?
November 24, 2014, 7:25pm
The fix should be available through 2.0.2, which is expected to be released on Dec 2nd.
November 25, 2014, 12:10pm
Thanks for the answer. Looking forward to having the bugfix.
December 2, 2014, 4:24pm
Hey Brett. Any news on upcoming update? We can’t go live without it.
The builds were successful last night, doing some final testing and I’ll be doing the release! Should be later today.
December 3, 2014, 3:17am
Have just installed it and the bug seems to be gone. Awesome! Thank you a lot.
UPD: downloaded the source from github (the forum engine doesn’t allow me to post another reply)
December 3, 2014, 3:56am
That is amazing to hear! Where did you grab the build from?