[Pixman] Seems to crash in pixman

ashbb ashbbb at gmail.com
Wed Jan 25 03:58:51 PST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20120125/481a0484/attachment.htm>


More information about the Pixman mailing list