Subject:
Re: [ruby-ffi] can't explain this behavior
From:
Alexander Kabanov
Date:
4/20/11 7:49 PM
To:
ruby-ffi@googlegroups.com

tried using 1.9.2 - everything works as expected, thanks

--Alex

On Wed, Apr 20, 2011 at 1:25 PM, Chuck Remes <cremes.devlist@mac.com> wrote:
> On Apr 20, 2011, at 1:12 PM, Alexander Kabanov wrote:

[skip]

>>
>> ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-linux] RHEL 5.4
>> ffi (1.0.7)
>
> This might be your issue. I think that 1.8.x support is "best effort" and no longer a target. Try your code again with 1.9.2 and see if it functions more reliably. Alternately, try your code with some other ruby runtimes (JRuby, Rubinius) that have FFI support and see if they provide additional details in their errors. Those other runtimes could greatly aid in debugging.
>
> cr
>
>
>