Subject:
[ruby-ffi] Null Pointer Issue? Am I Racing with the Garbage Collector?
From:
Scott Gonyea
Date:
11/11/10 11:25 PM
To:
ruby-ffi

https://gist.github.com/673753

That will show you the script I'm running, the gdb backtrace, and ruby-
prof (if that helps at all).  I basically was benchmarking my library
with the one I started branching from.  It's all good, until I start
running a whole lot of iterations.  I made some changes, which seems
to have made it less frequent... until I up the number of iterations.

https://github.com/aitrus/curl_ffi/commit/99a231aea24b2d7d63bccaa5c2337b1adff21d00#comments

That was the one fix.  This GSolr junk of mine uses StreamlyFFI and
CurlFFI:

StreamlyFFI: https://github.com/aitrus/streamly_ffi
CurlFFI: https://github.com/aitrus/curl_ffi

Scott