Skip to content

bad transaction script in testnet #61

@vincenzopalazzo

Description

@vincenzopalazzo

Today I receive the following crash on my testnet node

0000000003cb2b284f93a48b7f5893b5c10bb16cfe763adc0aa7876dada/raw with the following result [size=42429 hex=0000002039afb2b61ad1f723ebde1a4e053384c652bbf26840091f5469aa01000000000075014081e7a33d3cb62fcc171242e4670a1791c068d51d867abb260a?]
2022-08-24T14:31:36.428Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutCommand: TxId: 5a1f85a749ab570336069a85a5e7e377ca42200d3c015c452d42e9f2bfcc8d5b
2022-08-24T14:31:36.429Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutCommand: Vout: 1
2022-08-24T14:31:37.856Z DEBUG   plugin-btcli4j-gen.sh: Request to http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/testnet/api/tx/5a1f85a749ab570336069a85a5e7e377ca42200d3c015c452d42e9f2bfcc8d5b/outspend/1 with the following result [text={\"spent\":false}]
2022-08-24T14:31:37.857Z DEBUG   038863cf8ab91046230f561cd5b386cbff8309fa02e3f0c3ed161a3aeb64a643b9-gossipd: seeker: found 0 new node_announcements in 66 scids
2022-08-24T14:31:37.857Z DEBUG   gossipd: seeker: state = NORMAL No new node_announcements in 66 scids
2022-08-24T14:31:37.863Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutCommand: UTXO Status: {
2022-08-24T14:31:37.863Z DEBUG   plugin-btcli4j-gen.sh:   \"spend\": false
2022-08-24T14:31:37.863Z DEBUG   plugin-btcli4j-gen.sh: }
2022-08-24T14:31:38.372Z DEBUG   plugin-btcli4j-gen.sh: Request to http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/testnet/api/tx/5a1f85a749ab570336069a85a5e7e377ca42200d3c015c452d42e9f2bfcc8d5b with the following result [size=1562 text={\"txid\":\"5a1f85a749ab570336069a85a5e7e377ca42200d3c015c452d42e9f?]
2022-08-24T14:31:38.373Z **BROKEN** plugin-btcli4j-gen.sh: We receive a 200 code from the server, but the reponse looks invalid
2022-08-24T14:31:38.373Z **BROKEN** plugin-btcli4j-gen.sh: Expected a com.google.gson.JsonPrimitive but was com.google.gson.JsonObject
2022-08-24T14:31:38.374Z UNUSUAL plugin-btcli4j-gen.sh: For input string: \"Check fails\"
2022-08-24T14:31:38.376Z **BROKEN** plugin-btcli4j-gen.sh: Message empty
2022-08-24T14:31:38.377Z **BROKEN** lightningd: /home/vincent/github/btcli4j/btcli4j-gen.sh error: bad response to getutxout (bad 'result' field: Parsing '{result:{script:': object does not have member script), response was {"id":197,"jsonrpc":"2.0","result":{}}
2022-08-24T14:31:38.541Z **BROKEN** lightningd: FATAL SIGNAL 6 (version v0.12.0rc3)
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: common/daemon.c:38 (send_backtrace) 0x55ca6c1f1f0d
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: common/daemon.c:46 (crashdump) 0x55ca6c1f1f5d
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: /build/glibc-fWwxX8/glibc-2.28/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 ((null)) 0x7f95b34f283f
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: ../sysdeps/unix/sysv/linux/raise.c:51 (__GI_raise) 0x7f95b34f27bb
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: /build/glibc-fWwxX8/glibc-2.28/stdlib/abort.c:79 (__GI_abort) 0x7f95b34dd534
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/log.c:854 (fatal_vfmt) 0x55ca6c193349
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/log.c:864 (fatal) 0x55ca6c1933fa
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/bitcoind.c:115 (bitcoin_plugin_error) 0x55ca6c1649cf
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/bitcoind.c:539 (getutxout_callback) 0x55ca6c1657b2
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:591 (plugin_response_handle) 0x55ca6c1bc544
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:702 (plugin_read_json_one) 0x55ca6c1bc79f
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:747 (plugin_read_json) 0x55ca6c1bc97e
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:59 (next_plan) 0x55ca6c2ab44f
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:407 (do_plan) 0x55ca6c2abfef
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:417 (io_ready) 0x55ca6c2ac02d
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: ccan/ccan/io/poll.c:453 (io_loop) 0x55ca6c2ae24a
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/io_loop_with_timers.c:22 (io_loop_with_timers) 0x55ca6c18a441
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: lightningd/lightningd.c:1195 (main) 0x55ca6c19023c
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: ../csu/libc-start.c:308 (__libc_start_main) 0x7f95b34df09a
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x55ca6c164369
2022-08-24T14:31:38.541Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0xffffffffffffffff

Looks like there is somethings wrong with the transaction script

Metadata

Metadata

Labels

bugSomething isn't workingcrash

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions