Hi all, Can I ask your advice on something?
When my friend runs the following snippet on his Macbook, it crashes. require 'cairo' require 'pango' require 'gtk2' win = Gtk::Window.new win.set_default_size 300, 300 canvas = Gtk::Layout.new surface = Cairo::ImageSurface.new Cairo::FORMAT_ARGB32, 300, 300 context = Cairo::Context.new surface layout = context.create_pango_layout layout.text = 'hello world' context.show_pango_layout layout context.show_page surface.write_to_png 'temp.png' img = Gtk::Image.new 'temp.png' canvas.put img, 50, 50 win.add canvas win.show_all Gtk.main But on my Windows 7, it works well. He is using Macbook with Lion, Xcode 4.1 and rvm. ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0] Ruby/GNOME2 v1.1.2 More information is here: http://pastie.org/3230151 -- C level backtrace information --------------- ... 6 libpixman-1.0.dylib 0x000000010446528c pixman_image_composite32 + 144 It seems to crash in pixman... Any information would be appreciated. Thanks, ashbb
_______________________________________________ Pixman mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pixman
