This repository has moved to https://github.com/GemHQ/money-tree
wink / money-tree Goto Github PK
View Code? Open in Web Editor NEWThis repository has moved to
Home Page: https://github.com/GemHQ/money-tree
License: MIT License
This repository has moved to
Home Page: https://github.com/GemHQ/money-tree
License: MIT License
This repository has moved to https://github.com/GemHQ/money-tree
When using a test key from the BIP32 spec, an incorrect public/private key pair seems to be generated for path m/0/280
for example, on 20k sample, 0.32% of the nodes seemed to be bogus.
In this example, for a node at m/0/280
, the generated private key is 5KGQtEWt3g5fJi9tkF18XN5RY6yqC6JeTeq3PfKc9oU7T53L547
, which doesn't seem to match the generated address 1MApHkjhPPA4j1QgcSUE8PgegprxwXfSvy
.
Reproduction
2.0.0p0 :001 > require 'money-tree'
=> true
2.0.0p0 :002 > root = MoneyTree::Node.from_serialized_address('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi')
=> #<MoneyTree::Node:0x007fac2c413e78 ...>
2.0.0p0 :003 > n = root.node_for_path('m/0/280')
=> #<MoneyTree::Node:0x007fac2c3fa450 ...>
2.0.0p0 :004 > n.private_key.to_wif
=> "5KGQtEWt3g5fJi9tkF18XN5RY6yqC6JeTeq3PfKc9oU7T53L547"
2.0.0p0 :005 > n.to_address
=> "1MApHkjhPPA4j1QgcSUE8PgegprxwXfSvy"
2.0.0p0 :006 >
I'm trying this:
$ @hdwallet_master = MoneyTree::Node.from_serialized_address("xpub661MyMwAqRbcFHJRZ6Nqzs2TqB6HeMzWQ2arnoUzALaR9hqDBMzw2M558W2RpppTYk5kg1X3VeKh3qqddP4yN6nKhDgScHJjavhZ7zmfb4o")
$ @hdwallet_master.node_for_path("M/0/1").to_address
And getting this
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/openssl_extensions.rb:26: [BUG] Segmentation fault at 0x00000000000008
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0028 p:---- s:0135 e:000134 CFUNC :EC_KEY_get0_group
c:0027 p:0023 s:0131 e:000130 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/openssl_extensions.rb:26
c:0026 p:0018 s:0117 e:000116 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/openssl_extensions.rb:48
c:0025 p:0132 s:0112 e:000111 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:102
c:0024 p:0025 s:0102 e:000101 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:147
c:0023 p:0053 s:0094 e:000092 BLOCK /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:186 [FINISH]
c:0022 p:---- s:0087 e:000086 IFUNC
c:0021 p:---- s:0085 e:000084 CFUNC :each
c:0020 p:---- s:0083 e:000082 CFUNC :each_with_index
c:0019 p:0052 s:0080 e:000079 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:180
c:0018 p:0009 s:0072 e:000071 EVAL (irb):7 [FINISH]
c:0017 p:---- s:0070 e:000069 CFUNC :eval
c:0016 p:0024 s:0063 e:000062 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/workspace.rb:86
c:0015 p:0025 s:0056 e:000054 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/context.rb:380
c:0014 p:0022 s:0050 e:000049 BLOCK /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:492
c:0013 p:0040 s:0042 e:000041 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:624
c:0012 p:0009 s:0037 e:000036 BLOCK /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:489
c:0011 p:0118 s:0033 e:000032 BLOCK /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb:247 [FINISH]
c:0010 p:---- s:0030 e:000029 CFUNC :loop
c:0009 p:0007 s:0027 e:000026 BLOCK /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb:233 [FINISH]
c:0008 p:---- s:0025 e:000024 CFUNC :catch
c:0007 p:0015 s:0021 e:000020 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb:232
c:0006 p:0030 s:0018 E:001368 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:488
c:0005 p:0008 s:0015 e:000014 BLOCK /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:397 [FINISH]
c:0004 p:---- s:0013 e:000012 CFUNC :catch
c:0003 p:0143 s:0009 E:002618 METHOD /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:396
c:0002 p:0021 s:0004 E:001568 EVAL /usr/local/rbenv/versions/2.1.2/bin/irb:11 [FINISH]
c:0001 p:0000 s:0002 E:000c58 TOP [FINISH]
/usr/local/rbenv/versions/2.1.2/bin/irb:11:in `<main>'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:396:in `start'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:396:in `catch'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:397:in `block in start'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:488:in `eval_input'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb:232:in `each_top_level_statement'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb:232:in `catch'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb:233:in `block in each_top_level_statement'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb:233:in `loop'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb:247:in `block (2 levels) in each_top_level_statement'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:489:in `block in eval_input'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:624:in `signal_status'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb:492:in `block (2 levels) in eval_input'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/context.rb:380:in `evaluate'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/workspace.rb:86:in `evaluate'
/usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/workspace.rb:86:in `eval'
(irb):7:in `irb_binding'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:180:in `node_for_path'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:180:in `each_with_index'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:180:in `each'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:186:in `block in node_for_path'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:147:in `subnode'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb:102:in `derive_public_key'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/openssl_extensions.rb:48:in `add'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/openssl_extensions.rb:26:in `add'
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/openssl_extensions.rb:26:in `EC_KEY_get0_group'
-- C level backtrace information -------------------------------------------
irb(+0x163bfa) [0x7fcf41277bfa]
irb(+0x1c3bec) [0x7fcf412d7bec]
irb(rb_bug+0xb8) [0x7fcf412d7ef8]
irb(+0xe32f9) [0x7fcf411f72f9]
/lib64/libpthread.so.0(+0xf710) [0x7fcf40ce4710] AbstractMemory.h:101
/usr/lib64/libcrypto.so.10(EC_KEY_get0_group+0) [0x7fcf36f87050]
/usr/lib64/libffi.so.5(ffi_call_unix64+0x4c) [0x7fcf37e75dac] Pointer.c:345
/usr/lib64/libffi.so.5(ffi_call+0x214) [0x7fcf37e75b34] Pointer.c:451
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/ffi-1.9.3/ffi_c.so(rbffi_CallFunction+0xf1) [0x7fcf3808ee11] Call.c:378
/usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/ffi-1.9.3/ffi_c.so(+0x176b6) [0x7fcf3808f6b6] MethodHandle.c:232
irb(+0x14ca9a) [0x7fcf41260a9a]
irb(+0x1623fb) [0x7fcf412763fb]
irb(+0x158521) [0x7fcf4126c521]
irb(+0x15d97c) [0x7fcf4127197c]
irb(rb_yield_values+0x110) [0x7fcf41272660]
irb(+0x14cd95) [0x7fcf41260d95]
irb(rb_yield+0x8d) [0x7fcf412738fd]
irb(rb_ary_each+0x57) [0x7fcf4128f737]
irb(+0x150b1c) [0x7fcf41264b1c]
irb(+0x150f24) [0x7fcf41264f24]
irb(rb_iterate+0x128) [0x7fcf4125cb48]
irb(rb_block_call+0x2b) [0x7fcf4125cd9b]
irb(+0x1b9412) [0x7fcf412cd412]
irb(+0x14ca9a) [0x7fcf41260a9a]
irb(+0x1623fb) [0x7fcf412763fb]
irb(+0x1591af) [0x7fcf4126d1af]
irb(+0x15d97c) [0x7fcf4127197c]
irb(+0x15eeea) [0x7fcf41272eea]
irb(+0x15f7ad) [0x7fcf412737ad]
irb(+0x14ca9a) [0x7fcf41260a9a]
irb(+0x158521) [0x7fcf4126c521]
irb(+0x15d97c) [0x7fcf4127197c]
irb(+0x1605cb) [0x7fcf412745cb]
irb(rb_rescue2+0x113) [0x7fcf411371d3]
irb(+0x148dce) [0x7fcf4125cdce]
irb(+0x14ca9a) [0x7fcf41260a9a]
irb(+0x1623fb) [0x7fcf412763fb]
irb(+0x1591af) [0x7fcf4126d1af]
irb(+0x15d97c) [0x7fcf4127197c]
irb(+0x15e3f1) [0x7fcf412723f1]
irb(+0x148015) [0x7fcf4125c015]
irb(+0x149b30) [0x7fcf4125db30]
irb(+0x14ca9a) [0x7fcf41260a9a]
irb(+0x1623fb) [0x7fcf412763fb]
irb(+0x1591af) [0x7fcf4126d1af]
irb(+0x15d97c) [0x7fcf4127197c]
irb(+0x15e3f1) [0x7fcf412723f1]
irb(+0x148015) [0x7fcf4125c015]
irb(+0x149b30) [0x7fcf4125db30]
irb(+0x14ca9a) [0x7fcf41260a9a]
irb(+0x1623fb) [0x7fcf412763fb]
irb(+0x1591af) [0x7fcf4126d1af]
irb(+0x15d97c) [0x7fcf4127197c]
irb(rb_iseq_eval_main+0x300) [0x7fcf41271fa0]
irb(+0x237aa) [0x7fcf411377aa]
irb(ruby_run_node+0x36) [0x7fcf41139526]
irb(+0x21cbb) [0x7fcf41135cbb]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7fcf40098d1d]
irb(+0x21b99) [0x7fcf41135b99]
-- Other runtime information -----------------------------------------------
* Loaded script: irb
* Loaded features:
0 enumerator.so
1 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
2 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
3 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb
4 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/compatibility.rb
5 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/defaults.rb
6 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/deprecate.rb
7 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/errors.rb
8 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/version.rb
9 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/requirement.rb
10 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/platform.rb
11 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/basic_specification.rb
12 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/stub_specification.rb
13 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/util/stringio.rb
14 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/specification.rb
15 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/exceptions.rb
16 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb
17 thread.rb
18 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/thread.so
19 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/monitor.rb
20 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb
21 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems.rb
22 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/e2mmap.rb
23 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/init.rb
24 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/workspace.rb
25 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/inspector.rb
26 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/context.rb
27 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/extend-command.rb
28 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/output-method.rb
29 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/notifier.rb
30 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/slex.rb
31 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-token.rb
32 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/ruby-lex.rb
33 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/src_encoding.rb
34 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/magic-file.rb
35 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/readline.so
36 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/input-method.rb
37 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/locale.rb
38 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/irb.rb
39 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/path_support.rb
40 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/dependency.rb
41 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/digest.so
42 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/digest.rb
43 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/openssl.so
44 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl/bn.rb
45 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl/cipher.rb
46 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/stringio.so
47 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl/config.rb
48 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl/digest.rb
49 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl/x509.rb
50 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl/buffering.rb
51 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/fcntl.so
52 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl/ssl.rb
53 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl.rb
54 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/ffi-1.9.3/ffi_c.so
55 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/platform.rb
56 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/types.rb
57 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/library.rb
58 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/errno.rb
59 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/pointer.rb
60 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/memorypointer.rb
61 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/struct_layout_builder.rb
62 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/struct.rb
63 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/union.rb
64 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/managedstruct.rb
65 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/callback.rb
66 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/io.rb
67 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/autopointer.rb
68 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/variadic.rb
69 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/enum.rb
70 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi/ffi.rb
71 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/ffi-1.9.3/lib/ffi.rb
72 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/openssl_extensions.rb
73 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/version.rb
74 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/base64.rb
75 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/support.rb
76 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/networks.rb
77 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/key.rb
78 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/address.rb
79 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree/node.rb
80 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/money-tree-0.8.7/lib/money-tree.rb
* Process memory map:
7fcf36257000-7fcf3626d000 r-xp 00000000 fc:01 917610 /lib64/libgcc_s-4.4.7-20120601.so.1
7fcf3626d000-7fcf3646c000 ---p 00016000 fc:01 917610 /lib64/libgcc_s-4.4.7-20120601.so.1
7fcf3646c000-7fcf3646d000 rw-p 00015000 fc:01 917610 /lib64/libgcc_s-4.4.7-20120601.so.1
7fcf3646d000-7fcf3648a000 r-xp 00000000 fc:01 917830 /lib64/libselinux.so.1
7fcf3648a000-7fcf36689000 ---p 0001d000 fc:01 917830 /lib64/libselinux.so.1
7fcf36689000-7fcf3668a000 r--p 0001c000 fc:01 917830 /lib64/libselinux.so.1
7fcf3668a000-7fcf3668b000 rw-p 0001d000 fc:01 917830 /lib64/libselinux.so.1
7fcf3668b000-7fcf3668c000 rw-p 00000000 00:00 0
7fcf3668c000-7fcf366a2000 r-xp 00000000 fc:01 917835 /lib64/libresolv-2.12.so
7fcf366a2000-7fcf368a2000 ---p 00016000 fc:01 917835 /lib64/libresolv-2.12.so
7fcf368a2000-7fcf368a3000 r--p 00016000 fc:01 917835 /lib64/libresolv-2.12.so
7fcf368a3000-7fcf368a4000 rw-p 00017000 fc:01 917835 /lib64/libresolv-2.12.so
7fcf368a4000-7fcf368a6000 rw-p 00000000 00:00 0
7fcf368a6000-7fcf368a8000 r-xp 00000000 fc:01 917652 /lib64/libkeyutils.so.1.3
7fcf368a8000-7fcf36aa7000 ---p 00002000 fc:01 917652 /lib64/libkeyutils.so.1.3
7fcf36aa7000-7fcf36aa8000 r--p 00001000 fc:01 917652 /lib64/libkeyutils.so.1.3
7fcf36aa8000-7fcf36aa9000 rw-p 00002000 fc:01 917652 /lib64/libkeyutils.so.1.3
7fcf36aa9000-7fcf36ab3000 r-xp 00000000 fc:01 917643 /lib64/libkrb5support.so.0.1
7fcf36ab3000-7fcf36cb2000 ---p 0000a000 fc:01 917643 /lib64/libkrb5support.so.0.1
7fcf36cb2000-7fcf36cb3000 r--p 00009000 fc:01 917643 /lib64/libkrb5support.so.0.1
7fcf36cb3000-7fcf36cb4000 rw-p 0000a000 fc:01 917643 /lib64/libkrb5support.so.0.1
7fcf36cb4000-7fcf36cc9000 r-xp 00000000 fc:01 917802 /lib64/libz.so.1.2.3
7fcf36cc9000-7fcf36ec8000 ---p 00015000 fc:01 917802 /lib64/libz.so.1.2.3
7fcf36ec8000-7fcf36ec9000 r--p 00014000 fc:01 917802 /lib64/libz.so.1.2.3
7fcf36ec9000-7fcf36eca000 rw-p 00015000 fc:01 917802 /lib64/libz.so.1.2.3
7fcf36eca000-7fcf3707f000 r-xp 00000000 fc:01 532554 /usr/lib64/libcrypto.so.1.0.1e
7fcf3707f000-7fcf3727f000 ---p 001b5000 fc:01 532554 /usr/lib64/libcrypto.so.1.0.1e
7fcf3727f000-7fcf3729a000 r--p 001b5000 fc:01 532554 /usr/lib64/libcrypto.so.1.0.1e
7fcf3729a000-7fcf372a6000 rw-p 001d0000 fc:01 532554 /usr/lib64/libcrypto.so.1.0.1e
7fcf372a6000-7fcf372aa000 rw-p 00000000 00:00 0
7fcf372aa000-7fcf372d3000 r-xp 00000000 fc:01 917756 /lib64/libk5crypto.so.3.1
7fcf372d3000-7fcf374d3000 ---p 00029000 fc:01 917756 /lib64/libk5crypto.so.3.1
7fcf374d3000-7fcf374d4000 r--p 00029000 fc:01 917756 /lib64/libk5crypto.so.3.1
7fcf374d4000-7fcf374d5000 rw-p 0002a000 fc:01 917756 /lib64/libk5crypto.so.3.1
7fcf374d5000-7fcf374d6000 rw-p 00000000 00:00 0
7fcf374d6000-7fcf374d9000 r-xp 00000000 fc:01 917795 /lib64/libcom_err.so.2.1
7fcf374d9000-7fcf376d8000 ---p 00003000 fc:01 917795 /lib64/libcom_err.so.2.1
7fcf376d8000-7fcf376d9000 r--p 00002000 fc:01 917795 /lib64/libcom_err.so.2.1
7fcf376d9000-7fcf376da000 rw-p 00003000 fc:01 917795 /lib64/libcom_err.so.2.1
7fcf376da000-7fcf377b5000 r-xp 00000000 fc:01 917820 /lib64/libkrb5.so.3.3
7fcf377b5000-7fcf379b4000 ---p 000db000 fc:01 917820 /lib64/libkrb5.so.3.3
7fcf379b4000-7fcf379be000 r--p 000da000 fc:01 917820 /lib64/libkrb5.so.3.3
7fcf379be000-7fcf379c0000 rw-p 000e4000 fc:01 917820 /lib64/libkrb5.so.3.3
7fcf379c0000-7fcf37a01000 r-xp 00000000 fc:01 917860 /lib64/libgssapi_krb5.so.2.2
7fcf37a01000-7fcf37c01000 ---p 00041000 fc:01 917860 /lib64/libgssapi_krb5.so.2.2
7fcf37c01000-7fcf37c02000 r--p 00041000 fc:01 917860 /lib64/libgssapi_krb5.so.2.2
7fcf37c02000-7fcf37c04000 rw-p 00042000 fc:01 917860 /lib64/libgssapi_krb5.so.2.2
7fcf37c04000-7fcf37c65000 r-xp 00000000 fc:01 532530 /usr/lib64/libssl.so.1.0.1e
7fcf37c65000-7fcf37e65000 ---p 00061000 fc:01 532530 /usr/lib64/libssl.so.1.0.1e
7fcf37e65000-7fcf37e69000 r--p 00061000 fc:01 532530 /usr/lib64/libssl.so.1.0.1e
7fcf37e69000-7fcf37e70000 rw-p 00065000 fc:01 532530 /usr/lib64/libssl.so.1.0.1e
7fcf37e70000-7fcf37e77000 r-xp 00000000 fc:01 532564 /usr/lib64/libffi.so.5.0.6
7fcf37e77000-7fcf38077000 ---p 00007000 fc:01 532564 /usr/lib64/libffi.so.5.0.6
7fcf38077000-7fcf38078000 rw-p 00007000 fc:01 532564 /usr/lib64/libffi.so.5.0.6
7fcf38078000-7fcf38099000 r-xp 00000000 fc:01 2103941 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/ffi-1.9.3/ffi_c.so
7fcf38099000-7fcf38298000 ---p 00021000 fc:01 2103941 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/ffi-1.9.3/ffi_c.so
7fcf38298000-7fcf3829a000 rw-p 00020000 fc:01 2103941 /usr/local/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/ffi-1.9.3/ffi_c.so
7fcf3829a000-7fcf3829b000 r-xp 00000000 fc:01 1453224 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/fcntl.so
7fcf3829b000-7fcf3849a000 ---p 00001000 fc:01 1453224 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/fcntl.so
7fcf3849a000-7fcf3849b000 rw-p 00000000 fc:01 1453224 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/fcntl.so
7fcf3849b000-7fcf384a2000 r-xp 00000000 fc:01 1453235 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/stringio.so
7fcf384a2000-7fcf386a2000 ---p 00007000 fc:01 1453235 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/stringio.so
7fcf386a2000-7fcf386a3000 rw-p 00007000 fc:01 1453235 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/stringio.so
7fcf386a3000-7fcf386a6000 r-xp 00000000 fc:01 1453254 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/digest.so
7fcf386a6000-7fcf388a6000 ---p 00003000 fc:01 1453254 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/digest.so
7fcf388a6000-7fcf388a7000 rw-p 00003000 fc:01 1453254 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/digest.so
7fcf388a7000-7fcf38a0d000 r-xp 00000000 fc:01 1054931 /usr/local/ssl/lib/libcrypto.so.0.9.8
7fcf38a0d000-7fcf38c0d000 ---p 00166000 fc:01 1054931 /usr/local/ssl/lib/libcrypto.so.0.9.8
7fcf38c0d000-7fcf38c32000 rw-p 00166000 fc:01 1054931 /usr/local/ssl/lib/libcrypto.so.0.9.8
7fcf38c32000-7fcf38c36000 rw-p 00000000 00:00 0
7fcf38c36000-7fcf38c84000 r-xp 00000000 fc:01 1054934 /usr/local/ssl/lib/libssl.so.0.9.8
7fcf38c84000-7fcf38e83000 ---p 0004e000 fc:01 1054934 /usr/local/ssl/lib/libssl.so.0.9.8
7fcf38e83000-7fcf38e8a000 rw-p 0004d000 fc:01 1054934 /usr/local/ssl/lib/libssl.so.0.9.8
7fcf38e8a000-7fcf38ed9000 r-xp 00000000 fc:01 1453216 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/openssl.so
7fcf38ed9000-7fcf390d8000 ---p 0004f000 fc:01 1453216 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/openssl.so
7fcf390d8000-7fcf390dc000 rw-p 0004e000 fc:01 1453216 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/openssl.so
7fcf390dc000-7fcf390f9000 r-xp 00000000 fc:01 917586 /lib64/libtinfo.so.5.7
7fcf390f9000-7fcf392f9000 ---p 0001d000 fc:01 917586 /lib64/libtinfo.so.5.7
7fcf392f9000-7fcf392fd000 rw-p 0001d000 fc:01 917586 /lib64/libtinfo.so.5.7
7fcf392fd000-7fcf3931f000 r-xp 00000000 fc:01 917844 /lib64/libncurses.so.5.7
7fcf3931f000-7fcf3951e000 ---p 00022000 fc:01 917844 /lib64/libncurses.so.5.7
7fcf3951e000-7fcf3951f000 rw-p 00021000 fc:01 917844 /lib64/libncurses.so.5.7
7fcf3951f000-7fcf39559000 r-xp 00000000 fc:01 917810 /lib64/libreadline.so.6.0
7fcf39559000-7fcf39759000 ---p 0003a000 fc:01 917810 /lib64/libreadline.so.6.0
7fcf39759000-7fcf39761000 rw-p 0003a000 fc:01 917810 /lib64/libreadline.so.6.0
7fcf39761000-7fcf39762000 rw-p 00000000 00:00 0
7fcf39762000-7fcf39769000 r-xp 00000000 fc:01 1453256 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/readline.so
7fcf39769000-7fcf39969000 ---p 00007000 fc:01 1453256 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/readline.so
7fcf39969000-7fcf3996a000 rw-p 00007000 fc:01 1453256 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/readline.so
7fcf3996a000-7fcf3996d000 r-xp 00000000 fc:01 1453228 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/thread.so
7fcf3996d000-7fcf39b6c000 ---p 00003000 fc:01 1453228 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/thread.so
7fcf39b6c000-7fcf39b6d000 rw-p 00002000 fc:01 1453228 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/thread.so
7fcf39b6d000-7fcf39b6f000 r-xp 00000000 fc:01 1453282 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7fcf39b6f000-7fcf39d6f000 ---p 00002000 fc:01 1453282 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7fcf39d6f000-7fcf39d70000 rw-p 00002000 fc:01 1453282 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7fcf39d70000-7fcf39d72000 r-xp 00000000 fc:01 1453292 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7fcf39d72000-7fcf39f71000 ---p 00002000 fc:01 1453292 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7fcf39f71000-7fcf39f72000 rw-p 00001000 fc:01 1453292 /usr/local/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7fcf39f72000-7fcf3fe03000 r--p 00000000 fc:01 532707 /usr/lib/locale/locale-archive
7fcf3fe03000-7fcf3fe74000 r-xp 00000000 fc:01 917601 /lib64/libfreebl3.so
7fcf3fe74000-7fcf40073000 ---p 00071000 fc:01 917601 /lib64/libfreebl3.so
7fcf40073000-7fcf40075000 r--p 00070000 fc:01 917601 /lib64/libfreebl3.so
7fcf40075000-7fcf40076000 rw-p 00072000 fc:01 917601 /lib64/libfreebl3.so
7fcf40076000-7fcf4007a000 rw-p 00000000 00:00 0
7fcf4007a000-7fcf40205000 r-xp 00000000 fc:01 917772 /lib64/libc-2.12.so
7fcf40205000-7fcf40404000 ---p 0018b000 fc:01 917772 /lib64/libc-2.12.so
7fcf40404000-7fcf40408000 r--p 0018a000 fc:01 917772 /lib64/libc-2.12.so
7fcf40408000-7fcf40409000 rw-p 0018e000 fc:01 917772 /lib64/libc-2.12.so
7fcf40409000-7fcf4040e000 rw-p 00000000 00:00 0
7fcf4040e000-7fcf40491000 r-xp 00000000 fc:01 917839 /lib64/libm-2.12.so
7fcf40491000-7fcf40690000 ---p 00083000 fc:01 917839 /lib64/libm-2.12.so
7fcf40690000-7fcf40691000 r--p 00082000 fc:01 917839 /lib64/libm-2.12.so
7fcf40691000-7fcf40692000 rw-p 00083000 fc:01 917839 /lib64/libm-2.12.so
7fcf40692000-7fcf40699000 r-xp 00000000 fc:01 917621 /lib64/libcrypt-2.12.so
7fcf40699000-7fcf40899000 ---p 00007000 fc:01 917621 /lib64/libcrypt-2.12.so
7fcf40899000-7fcf4089a000 r--p 00007000 fc:01 917621 /lib64/libcrypt-2.12.so
7fcf4089a000-7fcf4089b000 rw-p 00008000 fc:01 917621 /lib64/libcrypt-2.12.so
7fcf4089b000-7fcf408c9000 rw-p 00000000 00:00 0
7fcf408c9000-7fcf408cb000 r-xp 00000000 fc:01 917552 /lib64/libdl-2.12.so
7fcf408cb000-7fcf40acb000 ---p 00002000 fc:01 917552 /lib64/libdl-2.12.so
7fcf40acb000-7fcf40acc000 r--p 00002000 fc:01 917552 /lib64/libdl-2.12.so
7fcf40acc000-7fcf40acd000 rw-p 00003000 fc:01 917552 /lib64/libdl-2.12.so
7fcf40acd000-7fcf40ad4000 r-xp 00000000 fc:01 917599 /lib64/librt-2.12.so
7fcf40ad4000-7fcf40cd3000 ---p 00007000 fc:01 917599 /lib64/librt-2.12.so
7fcf40cd3000-7fcf40cd4000 r--p 00006000 fc:01 917599 /lib64/librt-2.12.so
7fcf40cd4000-7fcf40cd5000 rw-p 00007000 fc:01 917599 /lib64/librt-2.12.so
7fcf40cd5000-7fcf40cec000 r-xp 00000000 fc:01 917591 /lib64/libpthread-2.12.so
7fcf40cec000-7fcf40eec000 ---p 00017000 fc:01 917591 /lib64/libpthread-2.12.so
7fcf40eec000-7fcf40eed000 r--p 00017000 fc:01 917591 /lib64/libpthread-2.12.so
7fcf40eed000-7fcf40eee000 rw-p 00018000 fc:01 917591 /lib64/libpthread-2.12.so
7fcf40eee000-7fcf40ef2000 rw-p 00000000 00:00 0
7fcf40ef2000-7fcf40f12000 r-xp 00000000 fc:01 917941 /lib64/ld-2.12.so
7fcf40ff8000-7fcf40fff000 r--s 00000000 fc:01 658466 /usr/lib64/gconv/gconv-modules.cache
7fcf41001000-7fcf41107000 rw-p 00000000 00:00 0
7fcf41108000-7fcf4110b000 rw-p 00000000 00:00 0
7fcf4110b000-7fcf4110c000 r-xp 00000000 00:00 0
7fcf4110c000-7fcf4110d000 ---p 00000000 00:00 0
7fcf4110d000-7fcf41111000 rw-p 00000000 00:00 0
7fcf41111000-7fcf41112000 r--p 0001f000 fc:01 917941 /lib64/ld-2.12.so
7fcf41112000-7fcf41113000 rw-p 00020000 fc:01 917941 /lib64/ld-2.12.so
7fcf41113000-7fcf41114000 rw-p 00000000 00:00 0
7fcf41114000-7fcf41395000 r-xp 00000000 fc:01 1450074 /usr/local/rbenv/versions/2.1.2/bin/ruby
7fcf41595000-7fcf4159b000 rw-p 00281000 fc:01 1450074 /usr/local/rbenv/versions/2.1.2/bin/ruby
7fcf4159b000-7fcf415c0000 rw-p 00000000 00:00 0
7fcf41d18000-7fcf425dd000 rw-p 00000000 00:00 0 [heap]
7fff3045c000-7fff30471000 rw-p 00000000 00:00 0 [stack]
7fff305d6000-7fff305d7000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[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
My open ssl version:
$ openssl version -a
OpenSSL 0.9.8y 5 Feb 2013
built on: Fri Jul 4 23:23:01 EDT 2014
platform: linux-x86_64
options: bn(64,64) md2(int) rc4(1x,char) des(idx,cisc,16,int) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_HEARTBEATS -Wa,--noexecstack -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM
OPENSSLDIR: "/usr/local/ssl"
$ ruby --version
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
Hi,
I was having a problem deploying to Heroku. It seems to relate to money-tree/key.rb:4:
require 'pry'
Only when I added 'pry' to production ENV in Gemfile it was fixed.
What is the right solution for this?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.