Bugs item #3464434, was opened at 2011-12-23 07:45
Message generated for change (Comment added) made by ktou
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=470969&aid=3464434&group_id=53614
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: winkerbean (winkerbean)
Assigned to: Nobody/Anonymous (nobody)
Summary: possible crash with "require 'pango'"
Initial Comment:
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.)
----------------------------------------------------------------------
>Comment By: Kouhei Sutou (ktou)
Date: 2011-12-25 01:33
Message:
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.
----------------------------------------------------------------------
Comment By: winkerbean (winkerbean)
Date: 2011-12-23 07:45
Message:
If more information is needed, do let Me know. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=470969&aid=3464434&group_id=53614
|