IIS7, PHP 5.5, CB SDK 2.0.1 random crashing


#1

When making a call using $cb->view() it will randomly display the following error:

HTTP Error 500.0 - Internal Server Error
C:\php\php-cgi.exe - The FastCGI process exited unexpectedly
Detailed Error Information
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP
Error Code 0x000000ff
Requested URL http://localhost:80/cb.php
Physical Path x:\x\cb.php
Logon Method Anonymous
Logon User Anonymous

It doesn’t always throw that error, maybe every three times of loading cb.php in IIS. Any ideas what could cause this? There aren’t any errors being logged or thrown aside from the following:

Notice: Undefined index: error in CouchbaseNative on line 858

Here is additional information from Windows Event Viewer:

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: php-cgi.exe
P2: 5.5.19.0
P3: 5463c4d5
P4: php_couchbase.dll
P5: 5.5.11.0
P6: 53a9e288
P7: c0000005
P8: 00001f01
P9:
P10:

Also note that I am running PHP 5.5.19, however I was running 5.5.13 previously and got the same result.


#2

Hey notm84,

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-3104

Cheers, Brett


#3

Thanks brett19! However the link doesn’t work to track progress.


#4

Oh, sorry! Somehow I managed to get a 4 tacked on there.
https://www.couchbase.com/issues/browse/PCBC-310

Cheers, Brett


#5

New version released! I have a few confirmations that it fixes the known issues you were encountering.
Read more here: http://docs.couchbase.com/developer/php-2.0/release-notes.html

Cheers, Brett


#6

Whoops, apologies for the late reply on this. Yes I can confirm the issue has been resolved.

Thanks!