Project

General

Profile

Actions

Bug #12457

closed

Ruby 2.2.5 segfaults as soon as I include wxRuby module

Bug #12457: Ruby 2.2.5 segfaults as soon as I include wxRuby module

Added by donwilde1 (Donald Wilde) over 9 years ago. Updated over 9 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
[ruby-core:75836]

Description

I saw on GitHub that wxW now says it supports 2.2. wx 2.8 installed from packages on Linux Mint 17.3 (derived from Ubuntu 14.04), but the mere inclusion of the module causes this segfault. Ruby 2.2.5 compiled from source.

require 'wx'

class GUI
  include Singleton
  include 'Wx'

  def start
  end

  def shut_down
  end
end
*** LOCAL GEMS ***

bigdecimal (1.2.6)
geometry (6.5)
io-console (0.4.3)
json (1.8.1)
minitest (5.4.3)
power_assert (0.2.2)
psych (2.0.8)
rake (10.4.2)
rdoc (4.2.0)
stl (0.2)
test-unit (3.0.8)
wxruby (2.0.0 x86_64-linux)
/usr/local/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/din/Projects/UAVA/Code/uava1/unique_aerial_vehicle_art.rb
/usr/local/lib/ruby/gems/2.2.0/gems/wxruby-2.0.0-x86_64-linux/lib/wxruby2.so: [BUG] unknown type 0x22 (0x11 given)
(snip)

Files

bug-12457.log (56.7 KB) bug-12457.log nobu (Nobuyoshi Nakada), 06/04/2016 04:40 PM

Updated by nobu (Nobuyoshi Nakada) over 9 years ago Actions #1 [ruby-core:75839]

[BUG] unknown type 0x22 (0x11 given)

Typically, this is an error occurs when an extension library build for 1.8 is loaded.

Actions

Also available in: PDF Atom