From: saxenapooja03@...
Date: 2014-06-10T07:16:14+00:00
Subject: [ruby-core:63047] [ruby-trunk - Bug #9922] Compiling Ruby 1.9.3p194 from source code with openssl crashe

Issue #9922 has been updated by Pooja Saxena.

File libeay dependency.png added
File ruby exe depedency.png added
File ssleay dependency.png added

Dont know much about dependency checking, hence did not get much. But understood that three of them depends on both msvcrt.dll and msvcr90.dll. But logs in windows say faluting module path to msvcr90.dll. Attaching screenshot of dependency walker result for the reference 

----------------------------------------
Bug #9922: Compiling Ruby 1.9.3p194 from source code with openssl crashe
https://bugs.ruby-lang.org/issues/9922#change-47128

* Author: Pooja Saxena
* Status: Feedback
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v:  ruby 1.9.3p194 (2012-04-20 revision 35410) [i386-mswin32_90]
* Backport: 1.9.3: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Hi,

I am trying to compile ruby from source code. And i am using thin server. Problem is when i am trying to start thin with ssl option by specifying :-

ruby bin/thin --ssl -a 127.0.0.1 -p 44466 start

I starts the server, but on accessing the https://localhost:44466. It crashes ruby and gives the error on console and a popup comes saying ruby interpretor has stopped working.

"This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."

and in windows even logs i see :--

Faulting application name: ruby.exe, version: 1.9.3.194, time stamp: 0x5154804d
Faulting module name: MSVCR90.dll, version: 9.0.30729.4940, time stamp: 0x4ca2ef57
Exception code: 0x40000015
Fault offset: 0x0005beae
Faulting process id: 0x11d4
Faulting application start time: 0x01cf7fb6cca849aa
Faulting application path: C:\Ruby19\bin\ruby.exe
Faulting module path: C:\Windows\WinSx\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_50916076bcb9a742\MSVCR90.dll
Report Id: 47c368b9-ebaa-11e3-8cd8-8c89a5d53bc0`

I've compiled ruby with diff versions of openssl, but same application crash error. I am on windows platform and compiliing using microsoft visual studio8. Please let me know if i am missing some steps. how can remove/avoid this 'msvcr90.dll' error.

platform :- windows7
compiler :- Microsoft visual studio9
Ruby :- ruby1.9.3p194
Openssl :- openssl 1.0.0d/openssl 1.0.0e

---Files--------------------------------
scrreshot ruby crash.png (32.7 KB)
ruby exe depedency.png (255 KB)
libeay dependency.png (267 KB)
ssleay dependency.png (268 KB)


-- 
https://bugs.ruby-lang.org/