New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail with "perl: xs/opcontext.c:73: plcb_opctx_initop: Assertion" #44
Comments
If you're not going to support the module, maybe you can at lest specify what should be the C client library version this module works with...? |
I haven't had time to look into it, but you can likely safely skip the tests. The C client version is backwards compatible and should therefore function perfectly fine with the library. The problem seems to be with the Perl version and a change in the XS behavior. Specifically, https://github.com/mnunberg/perl-Couchbase-Client/blob/master/xs/plcb-return.h#L7 - apparently, Maybe you can try regenerating |
Hmm, strange but the module works on my other machine which is Debian.
On the Debian machine:
So, now I'm confused, what could be wrong on my Gentoo machine? |
I have perl v5.14.2 on the Debian box and perl v5.20.2 on the Gentoo machine. |
I should have been a bit clearer. I think this has to do with the version of Perl rather than the version of the Couchbase library. It seems that Perl changed some of the XS internals and XS behavior breaking older code. It might also be the case that the
|
I regenerated new
and then replace
|
Callpath:
Likely the definition of |
Sorry for the long reply.
The result of this is that tests don't fail now, but there is this strange output:
The good news is that the module works now! :) |
Hi there, Just curious if you're planning on fixing this problem in a new version any time soon? |
I would like to support this module, however I'm not sure how much time I have on my hands. In principle I'd like to continue supporting this module on major platforms, which in this case means the platforms I actually use. I would not mind integrating patches to other perl versions, but I likely will not have the time to ensure it works on all Perl versions except the one I may have installed locally (in this case, 5.16 and 5.18). Also consider that I no longer use Perl on a day-to-day basis here at Couchbase, so my interest in this module is a bit lower than it once was (where I actually needed this module to function). Of course, if enough people showed interest in the Perl module, it might become an officially supported module. Right now it's supported in my free time and not a corporate Couchbase endeavor. To properly integrate this fix into a newer version I would need to check whether this fix actually works as intended, or if it's simply a small band-aid that has other adverse consequences. |
I was also asking about official Perl client support on the Couchbase Forums site, unfortunately no plans for it right now. I guess only if Couchbase grows big enough and more people from the Perl community show up their interest in the product, maybe then... |
Hi there,
I'm trying to install the module but the tests fail with the following error:
I have
libcouchbase-2.5.8
C client library installed.The
CouchbaseMock.jar
file was taken fromlibcouchbase-2.5.8/tests/CouchbaseMock.jar
.The text was updated successfully, but these errors were encountered: