[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[ruby-core:78859] [Ruby trunk Bug#12956] require a native library that yields the error 'incompatiable library version' shuts down the interpreter fatally
From:
usa@...
Date:
2016-12-27 09:28:23 UTC
List:
ruby-core #78859
Issue #12956 has been updated by Usaku NAKAMURA. Backport changed from 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: REQUIRED, 2.2: DONE, 2.3: REQUIRED ruby_2_2 r57208 merged revision(s) 56832. ---------------------------------------- Bug #12956: require a native library that yields the error 'incompatiable library version' shuts down the interpreter fatally https://bugs.ruby-lang.org/issues/12956#change-62267 * Author: Christian K旦stlin * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.3.2p217 (2016-11-15 revision 56796) [x86_64-darwin16] * Backport: 2.1: REQUIRED, 2.2: DONE, 2.3: REQUIRED ---------------------------------------- I would like to rescue from this in ruby-code. Looking at the source in dln.c around line 1334 shows, that there is a special APPLE define with a comment that suggests, that properly cleaning up with dlclose crashes. Disabling the special handling on my machine running OSX Sierra 10.12.1 did not show the crashing behavior, but instead I was able to rescue from the LoadError. To reproduce I attached my native extension. To reproduce this just run irb -I. and require 'dotstar' ---Files-------------------------------- dotstar.bundle (208 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>