Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
1.0.4, 1.1.0-dp5
-
None
-
Security Level: Public
-
None
Description
This is related to CCBC-120 (stack trace there). Will fix accordingly soon.
Basically the error handler checks for the 'ctx' which is not reset in-between calls.
The ideal solution should be for start_loop to accept a cookie argument and call lcb_set_cookie on it. This way there is always a valid cookie.
Otherwise the cookie remains a stale pointer and when the global error handler is called, it crashes.
Attachments
Issue Links
- depends on
-
CCBC-120 Unhandled opcode=92
- Closed
For Gerrit Dashboard: PCBC-143 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
22426,3 | PCBC-143 - Segfault during non-create error callback | master | php-ext-couchbase | Status: MERGED | +2 | +1 |
22869,2 | PCBC-143 segfault during non-connect error handler (backport) | 1.0.x | php-ext-couchbase | Status: ABANDONED | +1 | +1 |