clightning4j / esplora_clnd_plugin

Using @blockstream Esplora web explorer to fetch bitcoin data for clightning
8 stars 11 forks source link

Report crash during the estimation fee #32

Closed vincenzopalazzo closed 4 years ago

vincenzopalazzo commented 4 years ago

During the test to support tor I receive this crash!

I will look inside it

This is the stacktrace

2020-09-04T20:00:47.842Z INFO plugin-esplora: err: estimatefees: json error ({\"3\":147)?
/media/vincent/VincentHDD/SandBoxDev/lightning/lightningd/../plugins/esplora error: bad response to estimatefees (bad 'result' field), response was {"jsonrpc":"2.0","id":322,"error":{"code":400,"message":"estimatefees: json error ({\"3\":147)?"} }
2020-09-04T20:00:47.843Z **BROKEN** lightningd: /media/vincent/VincentHDD/SandBoxDev/lightning/lightningd/../plugins/esplora error: bad response to estimatefees (bad 'result' field), response was {"jsonrpc":"2.0","id":322,"error":{"code":400,"message":"estimatefees: json error ({\"3\":147)?"} }
lightningd: FATAL SIGNAL 6 (version v0.9.0-1-modded)
0x55eede8ae5d0 send_backtrace
    common/daemon.c:38
0x55eede8ae676 crashdump
    common/daemon.c:51
0x7fc6b51ecfcf ???
    ???:0
0x7fc6b51ecf47 ???
    ???:0
0x7fc6b51ee8b0 ???
    ???:0
0x55eede87d764 fatal
    lightningd/log.c:820
0x55eede860c93 bitcoin_plugin_error
    lightningd/bitcoind.c:119
0x55eede860d89 estimatefees_callback
    lightningd/bitcoind.c:179
0x55eede89cf1c plugin_response_handle
    lightningd/plugin.c:335
0x55eede89d0d8 plugin_read_json_one
    lightningd/plugin.c:444
0x55eede89d231 plugin_read_json
    lightningd/plugin.c:477
0x55eede90efc8 next_plan
    ccan/ccan/io/io.c:59
0x55eede90fb45 do_plan
    ccan/ccan/io/io.c:407
0x55eede90fb83 io_ready
    ccan/ccan/io/io.c:417
0x55eede911d49 io_loop
    ccan/ccan/io/poll.c:445
0x55eede8756e4 io_loop_with_timers
    lightningd/io_loop_with_timers.c:24
0x55eede87ad06 main
    lightningd/lightningd.c:997
0x7fc6b51cfb96 ???
    ???:0
0x55eede8606c9 ???
    ???:0
0xffffffffffffffff ???
    ???:0
2020-09-04T20:00:50.459Z **BROKEN** lightningd: FATAL SIGNAL 6 (version v0.9.0-1-modded)
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: common/daemon.c:43 (send_backtrace) 0x55eede8ae626
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: common/daemon.c:51 (crashdump) 0x55eede8ae676
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7fc6b51ecfcf
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7fc6b51ecf47
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7fc6b51ee8b0
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: lightningd/log.c:820 (fatal) 0x55eede87d764
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: lightningd/bitcoind.c:119 (bitcoin_plugin_error) 0x55eede860c93
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: lightningd/bitcoind.c:179 (estimatefees_callback) 0x55eede860d89
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:335 (plugin_response_handle) 0x55eede89cf1c
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:444 (plugin_read_json_one) 0x55eede89d0d8
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:477 (plugin_read_json) 0x55eede89d231
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:59 (next_plan) 0x55eede90efc8
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:407 (do_plan) 0x55eede90fb45
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:417 (io_ready) 0x55eede90fb83
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: ccan/ccan/io/poll.c:445 (io_loop) 0x55eede911d49
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: lightningd/io_loop_with_timers.c:24 (io_loop_with_timers) 0x55eede8756e4
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: lightningd/lightningd.c:997 (main) 0x55eede87ad06
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7fc6b51cfb96
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x55eede8606c9
2020-09-04T20:00:50.459Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0xffffffffffffffff
Log dumped in crash.log.20200904200050
fundchannel: autoclean: Lost connection to the RPC socket.Lost connection to the RPC socket.
vincenzopalazzo commented 4 years ago

Closed by https://github.com/lvaccaro/esplora_clnd_plugin/pull/34