Subject:
Re: [ruby-ffi] Re: unable to find method?
From:
Vladimir Sizikov
Date:
12/20/09 3:48 AM
To:
ruby-ffi@googlegroups.com

Hi Roger,

On Sun, Dec 20, 2009 at 4:16 AM, rogerdpack <rogerdpack@gmail.com> wrote:
> Hmm.
> Even with :stdcall mine is still segfaulting (1.9.1, 1.8.6)
>
> Could you try this code?
> http://gist.github.com/260343

Same here, the sample crashes on MRI 1.8.6 (mingw) and 1.8.7 (mswin).
But works just fine with JRuby 1.5.0.dev. :)

D:/re/ruby/lib/ruby/gems/1.8/gems/ffi-0.5.4-x86-mswin32/lib/ffi/library.rb:93:
[BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i386-mswin32]

Thanks,
  --Vladimir