noreply at rubyforge.org
2008-Oct-11 17:39 UTC
[wxruby-development] [ wxruby-Bugs-22383 ] Instantiation of Wx::Bitmap causes segfault
Bugs item #22383, was opened at 2008-10-11 13:39 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=22383&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Instantiation of Wx::Bitmap causes segfault Initial Comment: Instantiating a Wx::Bitmap with width and height causes a segmentation fault. This is the minimal example I could find where the behaviour is exhibited: irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''wx'' => true irb(main):004:0> Wx::Bitmap.new(1, 1) /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.8-x86-linux/lib/wx/classes/bitmap.rb:17: [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i486-linux] Note that without width and height, no segmentation fault is caused:> Wx::Bitmap.new=> #<Wx::Bitmap:0xb5eef164> I''m running Ubuntu Hardy. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=22383&group_id=35