#176 possible crash with "require 'pango'"

open
nobody
None
5
2012-12-11
2011-12-23
winkerbean
No

Given a simple script with "require 'pango'" and nothing else, ruby 1.9.3 appears to crash. The crash log is found at http://pastebin.com/9uumWC7v and the ruby output is at http://pastebin.com/0GZzTk6M. I am attempting to run this on a Mac 10.7 machine. (I am seeing similar issues with a Mac 10.5 machine, too.)

Discussion

  • winkerbean

    winkerbean - 2011-12-23

    If more information is needed, do let Me know. Thanks.

     
  • Kouhei Sutou

    Kouhei Sutou - 2011-12-25

    Thanks for your report.
    It seems that GLib was failed to initialize. You got "You forgot to call g_type_init()" message but g_type_init() should be called at "require 'glib2'".

    Could you try the following script?

    require "glib2"
    p GLib::IOChannel # -> [GLib::IOChannel, Enumerable, GLib::Boxed, Object, Kernel, BasicObject]

    If the above script can't return correct ancestors, GLib or Ruby/GLib2 may have a problem.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks