From: nobu@... Date: 2016-06-04T16:43:36+00:00 Subject: [ruby-core:75839] [Ruby trunk Bug#12457][Third Party's Issue] Ruby 2.2.5 segfaults as soon as I include wxRuby module Issue #12457 has been updated by Nobuyoshi Nakada. File bug-12457.log added Description updated Status changed from Open to Third Party's Issue > [BUG] unknown type 0x22 (0x11 given) Typically, this is an error occurs when an extension library build for 1.8 is loaded. ---------------------------------------- Bug #12457: Ruby 2.2.5 segfaults as soon as I include wxRuby module https://bugs.ruby-lang.org/issues/12457#change-59015 * Author: Donald Wilde * Status: Third Party's Issue * Priority: Normal * Assignee: * ruby -v: 2.2.5p319 * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- 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. ```ruby 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) -- https://bugs.ruby-lang.org/ Unsubscribe: