-
Notifications
You must be signed in to change notification settings - Fork 85
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
segvs on Travis #1
Comments
Well, it's failing in https://github.com/cryptosphere/rbnacl/blob/master/lib/rbnacl/boxer.rb#L62 It appears to be blowing up inside the XSalsa20 code, so I'm guessing that's not receiving an appropriately sized buffer. |
That would be my guess too, but the specs are green here, and the prototype is correct according to the C code. I think it might require poking around in the c code to understand |
I'm wondering how well NaCl's combined input/output buffers are playing with FFI... I tried loading it up in valgrind but FFI obscures what's actually happening. This is one of my first experiences debugging an FFI extension and I'm not really sure how to proceed. |
I can reproduce it here. It fails on my 32-bit netbook, but not the main laptop which is 64-bit. Still no idea how to solve, but at least the debug cycle no longer involves Travis. |
I'm curious if it's similar to this. NaCl's API is so weird ;) On Mon, Jan 21, 2013 at 12:33 AM, Jon notifications@github.com wrote:
Tony Arcieri |
No, I don't think so. I'm only changing an |
@namelessjon project moved, and Travis builds can now see libsodium, however there's a segv occuring.
I'm gonna try to dig into this, however perhaps you'll figure it out first?
https://travis-ci.org/cryptosphere/rbnacl/jobs/4273137
The text was updated successfully, but these errors were encountered: