Hello everyone, I have a problem installing the puma server, the
settings are made below:
1-I installed devkit
2-unpack the OpenSSL Package, eg in c: \ openssl
3-copied the dlls openssl (libeay32.dll and ssleay32.dll) to your ruby /
bin directory.
4-booted DevKit c: \ devkit \ devkitvars.bat
And finally executed the following command:
gem install puma - --with-opt-dir = c: \ openssl
My operating system configuration:
Widowns 7 64-bit
intel i7 8gb ram
Ruby Version: 2.0.0p598 x64
This occurs the error below:
C:\DevKit_x64>puma -v
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/puma_http11.so:
[BU
G] Segmentation fault
ruby 2.0.0p598 (2014-11-13) [x64-mingw32]
– Control frame information
c:0013 p:-6781140 s:0061 e:000060 TOP [FINISH]
c:0012 p:---- s:0059 e:000058 CFUNC :require
c:0011 p:0115 s:0055 e:000054 METHOD
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core
_ext/kernel_require.rb:55
c:0010 p:0119 s:0045 e:000044 TOP
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/pum
a-2.11.1/lib/puma/server.rb:18 [FINISH]
c:0009 p:---- s:0043 e:000042 CFUNC :require
c:0008 p:0115 s:0039 e:000038 METHOD
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core
_ext/kernel_require.rb:55
c:0007 p:0023 s:0029 e:000028 TOP
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/pum
a-2.11.1/lib/puma/cli.rb:4 [FINISH]
c:0006 p:---- s:0027 e:000026 CFUNC :require
c:0005 p:0115 s:0023 e:000022 METHOD
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core
_ext/kernel_require.rb:55
c:0004 p:0007 s:0013 e:000012 TOP
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/pum
a-2.11.1/bin/puma:6 [FINISH]
c:0003 p:---- s:0010 e:000009 CFUNC :load
c:0002 p:0118 s:0006 E:000918 EVAL C:/Ruby200-x64/bin/puma:23 [FINISH]
c:0001 p:0000 s:0002 E:0005d8 TOP [FINISH]
C:/Ruby200-x64/bin/puma:23:in <main>' C:/Ruby200-x64/bin/puma:23:in
load’
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/bin/puma:6:in <top (require d)>' C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require
’
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require ' C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/cli.rb:4:in
<top (
required)>’
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require ' C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require
’
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/server.rb:18:in
<t op (required)>' C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require
’
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
`require
’
– C level backtrace information
C:\Windows\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0xa)
[0x0000000077BA135A]
C:\Windows\system32\KERNELBASE.dll(WaitForSingleObjectEx+0x9c)
[0x000007FEFDE010
AC]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_bugreport+0x9d)
[0x000000006F287
B1D]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_name_err_mesg_new+0x838)
[0x0000000
06F142828]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_bug+0x45)
[0x000000006F1435D5]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_check_safe_str+0x3e1)
[0x000000006F
20C051]
[0x0000000000401A85]
C:\Windows\SYSTEM32\ntdll.dll(_C_specific_handler+0x9c)
[0x0000000077B685A8]
C:\Windows\SYSTEM32\ntdll.dll(RtlDecodePointer+0xbd)
[0x0000000077B79D0D]
C:\Windows\SYSTEM32\ntdll.dll(RtlUnwindEx+0xbbf) [0x0000000077B691AF]
C:\Windows\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e)
[0x0000000077BA127
8]
C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\puma-2.11.1\lib\puma\puma_http11.so(Init
_puma_http11+0x3e8) [0x000000006E0C4B78]
[0x000000006E0C3EB2]
C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\puma-2.11.1\lib\puma\puma_http11.so(Init
_puma_http11+0x2a0) [0x000000006E0C4A30]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(dln_load+0x1d3)
[0x000000006F101643]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_call_cfunc+0x12c)
[0x000000006F2
8501C]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_require_safe+0x56f)
[0x000000006F14
DE8F]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_error_arity+0x125)
[0x000000006F272
6A5]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_f_send+0x5a1)
[0x000000006F2814D1]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x1cf8)
[0x00000
0006F276DC8]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x5cb9)
[0x00000
0006F27AD89]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_iseq_eval+0x193)
[0x000000006F284A6
3]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_rubylevel_errinfo+0x5ea)
[0x0000000
06F14C23A]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_require_safe+0x5a1)
[0x000000006F14
DEC1]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_error_arity+0x125)
[0x000000006F272
6A5]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_f_send+0x5a1)
[0x000000006F2814D1]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x1cf8)
[0x00000
0006F276DC8]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x5cb9)
[0x00000
0006F27AD89]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_iseq_eval+0x193)
[0x000000006F284A6
3]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_rubylevel_errinfo+0x5ea)
[0x0000000
06F14C23A]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_require_safe+0x5a1)
[0x000000006F14
DEC1]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_error_arity+0x125)
[0x000000006F272
6A5]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_f_send+0x5a1)
[0x000000006F2814D1]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x1cf8)
[0x00000
0006F276DC8]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x5cb9)
[0x00000
0006F27AD89]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_iseq_eval+0x193)
[0x000000006F284A6
3]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_rubylevel_errinfo+0x5ea)
[0x0000000
06F14C23A]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_rubylevel_errinfo+0x10fe)
[0x000000
006F14CD4E]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_error_arity+0x125)
[0x000000006F272
6A5]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_f_send+0x5a1)
[0x000000006F2814D1]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x1cf8)
[0x00000
0006F276DC8]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x5cb9)
[0x00000
0006F27AD89]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_iseq_eval_main+0x1e0)
[0x000000006F
284C90]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(rb_check_copyable+0x3287)
[0x000000006
F148597]
C:\Ruby200-x64\bin\x64-msvcrt-ruby200.dll(ruby_run_node+0x51)
[0x000000006F14AE1
1]
[0x0000000000402D14]
[0x00000000004013D7]
[0x00000000004014F8]
C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd)
[0x000000007794652D]
– Other runtime information
-
Loaded script: C:/Ruby200-x64/bin/puma
-
Loaded features:
0 enumerator.so
1 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/enc/encdb.so
2 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/enc/iso_8859_1.so
3 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/enc/trans/transdb.so
4 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/rbconfig.rb
5 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/compatibility.rb
6 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/defaults.rb
7 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/deprecate.rb
8 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/errors.rb
9 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/version.rb
10 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/requirement.rb
11 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/platform.rb
12 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/specification.rb
13 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/exceptions.rb
14
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/defaults/operating_system.rb
15 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/enc/utf_16le.so
16 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/enc/trans/utf_16_32.so
17 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb
18 C:/Ruby200-x64/lib/ruby/2.0.0/thread.rb
19 C:/Ruby200-x64/lib/ruby/2.0.0/monitor.rb
20 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb
21 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems.rb
22 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/dependency.rb
23 C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/path_support.rb
24 C:/Ruby200-x64/lib/ruby/2.0.0/optparse.rb
25 C:/Ruby200-x64/lib/ruby/2.0.0/uri/common.rb
26 C:/Ruby200-x64/lib/ruby/2.0.0/uri/generic.rb
27 C:/Ruby200-x64/lib/ruby/2.0.0/uri/ftp.rb
28 C:/Ruby200-x64/lib/ruby/2.0.0/uri/http.rb
29 C:/Ruby200-x64/lib/ruby/2.0.0/uri/https.rb
30 C:/Ruby200-x64/lib/ruby/2.0.0/uri/ldap.rb
31 C:/Ruby200-x64/lib/ruby/2.0.0/uri/ldaps.rb
32 C:/Ruby200-x64/lib/ruby/2.0.0/uri/mailto.rb
33 C:/Ruby200-x64/lib/ruby/2.0.0/uri.rb
34 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/etc.so
35 C:/Ruby200-x64/lib/ruby/2.0.0/fileutils.rb
36 C:/Ruby200-x64/lib/ruby/2.0.0/set.rb
37 C:/Ruby200-x64/lib/ruby/2.0.0/delegate.rb
38 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/enc/trans/single_byte.so
39 C:/Ruby200-x64/lib/ruby/2.0.0/tmpdir.rb
40 C:/Ruby200-x64/lib/ruby/2.0.0/tempfile.rb
41
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/multipart.rb
42 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/date_core.so
43 C:/Ruby200-x64/lib/ruby/2.0.0/date/format.rb
44 C:/Ruby200-x64/lib/ruby/2.0.0/date.rb
45 C:/Ruby200-x64/lib/ruby/2.0.0/time.rb
46
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/utils.rb
47 C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack.rb
48 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/stringio.so
49
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/thread_pool.r
b
50
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/const.rb
51
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/events.rb
52
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/null_io.rb
53
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/compat.rb
54
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/util.rb
55
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/reactor.rb
56
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/detect.rb
57
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/client.rb
58
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/binder.rb
59
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/delegation.rb60 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/digest.so
61 C:/Ruby200-x64/lib/ruby/2.0.0/digest.rb
62 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/openssl.so
63 C:/Ruby200-x64/lib/ruby/2.0.0/openssl/bn.rb
64 C:/Ruby200-x64/lib/ruby/2.0.0/openssl/cipher.rb
65 C:/Ruby200-x64/lib/ruby/2.0.0/openssl/config.rb
66 C:/Ruby200-x64/lib/ruby/2.0.0/openssl/digest.rb
67 C:/Ruby200-x64/lib/ruby/2.0.0/openssl/x509.rb
68 C:/Ruby200-x64/lib/ruby/2.0.0/openssl/buffering.rb
69 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/fcntl.so
70 C:/Ruby200-x64/lib/ruby/2.0.0/openssl/ssl.rb
71 C:/Ruby200-x64/lib/ruby/2.0.0/openssl.rb
72
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/accept_nonblo
ck.rb
73
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/body_proxy.rb
74
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/commonlogger.r
b
75
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/puma-2.11.1/lib/puma/rack_patch.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension
libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application’s support team for more information.
Thank you in advance any help.