[#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:78495] [Ruby trunk Bug#12994] Embedded ruby vs2015 build crashes
From:
fjilderda@...
Date:
2016-12-05 12:39:04 UTC
List:
ruby-core #78495
Issue #12994 has been updated by Freddy Jilderda.
As a workaround I copy/pasted this code to the start of the _pioinfo function in win32.c (line 2462):
#if RUBY_MSVCRT_VERSION >= 140
if (!__pioinfo) {
set_pioinfo_extra ();
}
#endif
----------------------------------------
Bug #12994: Embedded ruby vs2015 build crashes
https://bugs.ruby-lang.org/issues/12994#change-61874
* Author: Freddy Jilderda
* Status: Feedback
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.4.0dev (2016-11-07 v2_4_0_preview2 56129) [i386-mswin32_140]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
When an embedded ruby engine in a vs2015 application is initialised using ruby_init the function set_pioinfo_extra in win32.c is not called.
This results in a crash when ruby_init is called and it is trying to derefence the __pioinfo pointer in the _pioinfo function in win32.c
--
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>