GithubHelp home page GithubHelp logo

Comments (2)

rustyrussell avatar rustyrussell commented on May 18, 2024

Adam Mashrique [email protected] writes:

crash.log
+514.907179118 lightningd(20657):jcon fd 7:IO-IN: 3738636530353136623434323462383861636364633230663030225d207d +514.907417361 lightningd(20657):jcon fd 7:DEBUG: Failing: Amount 1000 below fee 8972 +514.907478519 lightningd(20657):jcon fd 7:DEBUG: Failing: Amount 18446744073709543644 is too large +514.907638050 lightningd(20657):BROKEN: FATAL SIGNAL 6 RECEIVED

Hi Adam!

    Cool find, thanks!  Obviously, it should fail more gracefully.

I've pushed a fix for now, and audited to make sure it doesn't happen
elsewhere.

Thanks,
Rusty.

from lightning.

musdom avatar musdom commented on May 18, 2024

I also crashed lightningd trying to open a second channel with the same peer, and it won't start again.

$ ./daemon/lightningd
lightningd(12552): ID: 03a41910dbbcea6d47574e1cbfdce558c5908bb5264af691dc2a89e0ab04a72323
load_peer_anchor_input: two inputs for 'SELECT * FROM anchor_inputs WHERE peer = x'032282512a55842274728d58d371e1186a558071d6de509e32e5d6e765b0d3da7b';'
lightningd(12552): load_peer_anchor_input: two inputs for 'SELECT * FROM anchor_inputs WHERE peer = x'032282512a55842274728d58d371e1186a558071d6de509e32e5d6e765b0d3da7b';'
Log dumped in crash.log

crash.log

+192648.324847682 lightningd(20925):DEBUG: starting: bitcoin-cli -testnet=1 getblock 0000000000001f4116416aa118a3d830133d1d3bfe054381452b7aeeea7be648 false
+192648.347107021 lightningd(20925):DEBUG: reaped 12385: bitcoin-cli -testnet=1 getblock 0000000000001f4116416aa118a3d830133d1d3bfe054381452b7aeeea7be648 false
+192648.347347548 lightningd(20925):DEBUG: Adding block 48e67beaee7a2b45814305fe3b1d3d1330d8a318a16a4116411f000000000000
+192648.347584471 032282512a55842274728d58d371e1186a558071d6de509e32e5d6e765b0d3da7b:DEBUG: Anchor at depth 16
+192648.348025717 lightningd(20925):BROKEN: Amount of 4602 won't cover fee 6400

from lightning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.