Skip to content

Bug: eclair v0.12.0 docker image: eclair crashes when trying to open channels #1212

@ZZiigguurraatt

Description

@ZZiigguurraatt

eclair crashes when trying to open channels with the v0.12.0 docker image. This is with eclair <-> eclair and eclair<->lnd channels.

I am running

$ cat /etc/issue
Ubuntu 22.04.2 LTS \n \l

Here is some output from ecliar when it happens:

bob 2025-05-16 17:22:04,506 INFO  f.a.e.io.PeerConnection CON - connection authenticated (direction=incoming)
bob 2025-05-16 17:22:04,534 INFO  f.a.e.io.PeerConnection CON n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 - peer is using features=option_anchors_zero_fee_htlc_tx:optional,option_upfront_shutdown_script:optional,option_route_blinding:optional,option_data_loss_protect:mandatory,var_onion_optin:mandatory,option_static_remotekey:mandatory,payment_secret:mandatory,option_shutdown_anysegwit:optional,option_channel_type:optional,basic_mpp:optional,gossip_queries:optional (unknown=31,2023), networks=
bob 2025-05-16 17:22:04,535 INFO  f.a.e.io.PeerConnection CON n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 - not syncing with this peer
bob 2025-05-16 17:22:04,542 INFO  f.a.eclair.router.Router SYN n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 - received query_channel_range with firstBlockNum=0 numberOfBlocks=1 extendedQueryFlags_opt=TlvStream(Set(QueryFlags(1)),Set())
bob 2025-05-16 17:22:04,548 INFO  f.a.eclair.router.Router SYN n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 - replying with 0 items for range=(0, 1)
bob 2025-05-16 17:22:04,555 INFO  f.a.e.io.PeerConnection SYN n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 - setting up gossipTimestampFilter=GossipTimestampFilter(06226e46111a0b59caaf126043eb5bbf28c34f3a5e332a1fc7b2b73cf188910f,1747416124 unixsec,4294967295,TlvStream(Set(),Set()))
bob 2025-05-16 17:22:15,656 WARN  f.a.e.b.b.ZmqWatcher - cannot get block for blockId=0000000000000000000000000000000000000000000000000000000000000000, a reorg may have happened: Block not found (code: -5)
bob 2025-05-16 17:22:24,520 INFO  f.a.eclair.Diagnostics n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 c:b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb - IN msg=OpenChannel(06226e46111a0b59caaf126043eb5bbf28c34f3a5e332a1fc7b2b73cf188910f,b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb,250000 sat,0 msat,354 sat,247500000,2500 sat,1 msat,2500 sat/kw,CltvExpiryDelta(144),483,02af995c26a3ef1cf7d4501b5980545dd7babe24c69550ee7a46692dc13ca07226,02c079de70c774e80207b64cd4a60f6ede562242450058c56f931ee80ce86ea636,03e7b33fdcdc764e5592b521e6f3fa12696ccb093639b58994c94f93caf119bfdf,03441df7d06cccef246b4d3a86a07e748254af41a0eb85bd9a34434421266705bf,02977e4eeb7b7945c0e4da01f462f558a5be48ce6cb1a4c02bf1f510d79396bb02,03d5830002df3f074e21e6507946cfc1de6bead21b11c99bcbbb25cf95856ce886,ChannelFlags(announceChannel=true, nonInitiatorPaysCommitFees=false),TlvStream(Set(UpfrontShutdownScriptTlv(ByteVector(empty)), ChannelTypeTlv(anchor_outputs_zero_fee_htlc_tx)),Set()))
bob 2025-05-16 17:22:24,520 INFO  f.a.e.i.Peer n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 c:b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb - IN msg=OpenChannel(06226e46111a0b59caaf126043eb5bbf28c34f3a5e332a1fc7b2b73cf188910f,b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb,250000 sat,0 msat,354 sat,247500000,2500 sat,1 msat,2500 sat/kw,CltvExpiryDelta(144),483,02af995c26a3ef1cf7d4501b5980545dd7babe24c69550ee7a46692dc13ca07226,02c079de70c774e80207b64cd4a60f6ede562242450058c56f931ee80ce86ea636,03e7b33fdcdc764e5592b521e6f3fa12696ccb093639b58994c94f93caf119bfdf,03441df7d06cccef246b4d3a86a07e748254af41a0eb85bd9a34434421266705bf,02977e4eeb7b7945c0e4da01f462f558a5be48ce6cb1a4c02bf1f510d79396bb02,03d5830002df3f074e21e6507946cfc1de6bead21b11c99bcbbb25cf95856ce886,ChannelFlags(announceChannel=true, nonInitiatorPaysCommitFees=false),TlvStream(Set(UpfrontShutdownScriptTlv(ByteVector(empty)), ChannelTypeTlv(anchor_outputs_zero_fee_htlc_tx)),Set()))
bob 2025-05-16 17:22:24,535 INFO  fr.acinq.eclair.io.Peer n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 - accepting a new channel with type=anchor_outputs_zero_fee_htlc_tx temporaryChannelId=b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb localParams=LocalParams(038c4a562826eceec355067e8d52220a35775517cc3850e0aabac0d2cfe76171d4,m/814648045'/1936106073/803177880'/399560081/1735344378'/1615363465'/467457028/606498727/0',546 sat,112500000 msat,Some(2500 sat),1 msat,CltvExpiryDelta(720),30,false,false,None,None,option_simple_close:optional,option_route_blinding:optional,option_dual_fund:optional,gossip_queries_ex:optional,option_quiesce:optional,option_data_loss_protect:mandatory,var_onion_optin:mandatory,option_static_remotekey:mandatory,option_scid_alias:optional,option_onion_messages:optional,option_support_large_channel:optional,option_anchors_zero_fee_htlc_tx:optional,payment_secret:mandatory,option_shutdown_anysegwit:optional,option_channel_type:optional,basic_mpp:optional,gossip_queries:optional)
bob 2025-05-16 17:22:24,585 INFO  f.a.e.c.fsm.Channel n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 c:b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb - will use fundingMinDepth=Some(6)
bob 2025-05-16 17:22:24,599 INFO  f.a.e.i.Peer n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 c:b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb - OUT msg=AcceptChannel(b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb,546 sat,112500000,2500 sat,1 msat,6,CltvExpiryDelta(720),30,02743446e7fc4e26b79dfd89cccfa04fd5756756be8262d05fa8a9cd161a661df2,02919ac95173fed4fd9ed24c5555a3b5098143841d17488f6190aebb62d7c28b90,031a4dea0d565a1e8da577bb2a7ea09ade64473ec5ba0563343a684510afbccdfb,03eb3cc4cdf6e28833feb9c27cc322c8dd2919a33fbed9b9ff19b0f93d5f2342da,02c4bf92ea178ee37478eb4a426061a2ac38bad2ba277147e1d27b88cdde40d84d,020855ebe3960036cb7034d0433cf12f627ec3116eff9e8b8deaf0c07a7a9363f9,TlvStream(Set(UpfrontShutdownScriptTlv(ByteVector(empty)), ChannelTypeTlv(anchor_outputs_zero_fee_htlc_tx)),Set()))
bob 2025-05-16 17:22:24,599 INFO  f.a.eclair.Diagnostics n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 c:b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb - OUT msg=AcceptChannel(b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb,546 sat,112500000,2500 sat,1 msat,6,CltvExpiryDelta(720),30,02743446e7fc4e26b79dfd89cccfa04fd5756756be8262d05fa8a9cd161a661df2,02919ac95173fed4fd9ed24c5555a3b5098143841d17488f6190aebb62d7c28b90,031a4dea0d565a1e8da577bb2a7ea09ade64473ec5ba0563343a684510afbccdfb,03eb3cc4cdf6e28833feb9c27cc322c8dd2919a33fbed9b9ff19b0f93d5f2342da,02c4bf92ea178ee37478eb4a426061a2ac38bad2ba277147e1d27b88cdde40d84d,020855ebe3960036cb7034d0433cf12f627ec3116eff9e8b8deaf0c07a7a9363f9,TlvStream(Set(UpfrontShutdownScriptTlv(ByteVector(empty)), ChannelTypeTlv(anchor_outputs_zero_fee_htlc_tx)),Set()))
bob 2025-05-16 17:22:24,606 INFO  f.a.eclair.Diagnostics n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 c:b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb - IN msg=FundingCreated(b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb,d9caafaaa79566f76fb91b5a76adbb457cb85a4cbdfee82f3a38429b2a67ddda,1,03ca70f40d3f3b629289d9d1432e613380696a44d64eb14fb7fab3ed8f7591402a29a72a3bd2cc7d22308462eea35c6bec617e572a6b438c8f7cf44dd5adb195,TlvStream(Set(),Set()))
bob 2025-05-16 17:22:24,607 INFO  f.a.e.i.Peer n:03c886a182d93073581d0f5b538977018dfd801abcac0d2719047fe3bca84176f7 c:b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb - IN msg=FundingCreated(b1b35525018677d0a98adf3c25f7fe89b95af707617bb202c71fda1414bf0beb,d9caafaaa79566f76fb91b5a76adbb457cb85a4cbdfee82f3a38429b2a67ddda,1,03ca70f40d3f3b629289d9d1432e613380696a44d64eb14fb7fab3ed8f7591402a29a72a3bd2cc7d22308462eea35c6bec617e572a6b438c8f7cf44dd5adb195,TlvStream(Set(),Set()))
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000000041c0, pid=1, tid=116
#
# JRE version: OpenJDK Runtime Environment Temurin-21.0.7+6 (21.0.7+6) (build 21.0.7+6-LTS)
# Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.7+6 (21.0.7+6-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [secp256k1-16fa581c-407c-4ce5-b11d-255881b5fcbb-libsecp256k1-jni.so+0x11e46]  secp256k1_der_parse_integer+0x166
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /app/core.1)
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid1.log
[26.002s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Running as eclair user:
bash eclair-node/bin/eclair-node.sh  -Declair.node-alias=bob -Declair.server.public-ips.0=172.18.0.4 -Declair.server.port=9735 -Declair.api.enabled=true -Declair.api.binding-ip=0.0.0.0 -Declair.api.port=8080 -Declair.api.password=eclairpw -Declair.chain=regtest -Declair.bitcoind.host=polar-n4-backend1 -Declair.bitcoind.rpcport=18443 -Declair.bitcoind.rpcuser=polaruser -Declair.bitcoind.rpcpassword=polarpass -Declair.bitcoind.zmqblock=tcp://polar-n4-backend1:28336 -Declair.bitcoind.zmqtx=tcp://polar-n4-backend1:28335 -Declair.datadir=/home/eclair/.eclair -Declair.printToConsole=true -Declair.on-chain-fees.feerate-tolerance.ratio-low=0.00001 -Declair.on-chain-fees.feerate-tolerance.ratio-high=10000.0
bob 2025-05-16 17:22:27,021 INFO  fr.acinq.eclair.Plugin - loading 0 plugins
bob 2025-05-16 17:22:27,199 INFO  a.e.slf4j.Slf4jLogger - Slf4jLogger started
bob 2025-05-16 17:22:27,885 INFO  fr.acinq.eclair.Setup - hello!
bob 2025-05-16 17:22:27,886 INFO  fr.acinq.eclair.Setup - version=0.12.0 commit=notag
bob 2025-05-16 17:22:27,886 INFO  fr.acinq.eclair.Setup - datadir=/home/eclair/.eclair
bob 2025-05-16 17:22:27,886 INFO  fr.acinq.eclair.Setup - initializing secure random generator
bob 2025-05-16 17:22:27,938 INFO  f.a.eclair.NodeParams - use seed file: /home/eclair/.eclair/node_seed.dat
bob 2025-05-16 17:22:27,939 INFO  f.a.eclair.NodeParams - use seed file: /home/eclair/.eclair/channel_seed.dat
bob 2025-05-16 17:22:28,455 INFO  fr.acinq.eclair.Setup - bitcoind version=290000

I've tried this inside polar and using the docker image manually outside of polar and I get the same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions