[#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

[ruby-core:78508] [Ruby trunk Bug#12994] Embedded ruby vs2015 build crashes

From: fjilderda@...
Date: 2016-12-06 07:48:14 UTC
List: ruby-core #78508
Issue #12994 has been updated by Freddy Jilderda.


Ok, but the rb_w32_sysinit function is not declared in a header file.

----------------------------------------
Bug #12994: Embedded ruby vs2015 build crashes
https://bugs.ruby-lang.org/issues/12994#change-61890

* 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>

In This Thread

Prev Next