Subject:
Re: [ruby-ffi] FFI 1.0.4
From:
Wayne Meissner
Date:
1/8/11 6:16 AM
To:
ruby-ffi@googlegroups.com
CC:
Luis Lavena <luislavena@gmail.com>



On Saturday, January 8, 2011 7:05:15 AM UTC+10, bk wrote:
I have tried to build on a 64 bit Fedora machine running ruby 1.8.7
(2010-12-23 patchlevel 330) [x86_64-linux] and it hangs in the tests at
"async callback". Any idea how to debug this?

I would suggest:
1) ensure it all works fine under 1.9.2
2) run the rest of the specs, in particular spec/ffi/function_spec.rb on 1.8.7 to see if there are any other failures.

After that, you'll have to get your hands dirty and debug it using gdb (or printf statements), and see where each thread in the async test is blocking.