From: <jc...@gm...> - 2015-10-20 16:30:50
|
I've made an example that shows the problem, but it is quite large :-( sorry. This is a binding for the vips image processing library. The libvips packaged for ubuntu is missing the typelib, unfortunately, so you need to build from source: https://github.com/jcupitt/libvips You need: ./bootstrap.sh ./configure --prefix=/home/john/vips make make install Then add vips to your library path and to GI_TYPELIB_PATH. Then install this branch of this gem: https://github.com/jcupitt/ruby-vips8/tree/gc-segv so: bundle install rake build gem install pkg/ruby-vips8-0.1.0.gem Then run: $ ./example/example3.rb loop 0 ... loop 1 ... loop 2 ... loop 3 ... loop 4 ... loop 5 ... loop 6 ... loop 7 ... /home/john/packages/gems/gems/gobject-introspection-3.0.7/lib/gobject-introspection/callable-info.rb:31: [BUG] rb_gc_mark(): 0x00000001ff1878 is T_NONE ruby 2.1.2p95 (2014-05-08) [x86_64-linux-gnu] Please let me know if you have problems setting this up, perhaps I can make it smaller. John |