btcruby icon indicating copy to clipboard operation
btcruby copied to clipboard

Segmentation fault at 0x00000000000018

Open gengkeye opened this issue 7 years ago • 1 comments

I was running straight-server and use straight-server-kit command to create an order, then encountered an error. Output displayed on screen is:

[seven@localhost straight-server]$ bundle exec bin/straight-server -p 9696 /home/seven/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/bundler/gems/straight-67b2e1679fb8/lib/straight/faraday_monkeypatch.rb:1: warning: already initialized constant Faraday::SSLOptions /home/seven/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/options.rb:205: warning: previous definition of SSLOptions was here /home/seven/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/bundler/gems/straight-67b2e1679fb8/lib/straight/blockchain_adapters_dispatcher.rb:8: warning: constant ::TimeoutError is deprecated Setting config dir to /home/seven/.straight I, [2017-03-16T17:34:45.864982 #13255] INFO -- : starting Straight Server v 1.0.0 W, [2017-03-16T17:35:00.865987 #13255] WARN -- : Please check correctness of Insight.websocket_url in the config file. Thread.exclusive is deprecated, use Mutex /home/seven/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/reloader.rb:36:in call' /home/seven/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/goliath-1.0.4/lib/goliath/request.rb:166:in block in process'

I, [2017-03-16T17:35:37.251286 #13255] INFO -- : GET /gateways/1/last_keychain_id Thread.exclusive is deprecated, use Mutex /home/seven/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/reloader.rb:36:in call' /home/seven/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/goliath-1.0.4/lib/goliath/request.rb:166:in block in process' I, [2017-03-16T17:36:35.282300 #13255] INFO -- : POST /gateways/1/orders {"amount"=>"1.0", "callback_data"=>"1", "keychain_id"=>1} I, [2017-03-16T17:36:35.282800 #13255] INFO -- : Creating new order with attrs: {:amount=>"1.0", :currency=>nil, :btc_denomination=>nil, :keychain_id=>1, :callback_data=>"1", :data=>nil, :description=>nil, :after_payment_redirect_to=>nil, :auto_redirect=>nil} /home/seven/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/btcruby-1.1.1/lib/btcruby/openssl.rb:109: [BUG] Segmentation fault at 0x00000000000018

gengkeye avatar Mar 17 '17 01:03 gengkeye

It's sovled! I changed the host OS to ubuntu 16. This error didn't occured. And the old OS is Centos 7.

gengkeye avatar Mar 23 '17 05:03 gengkeye