-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pay plugin crashes when trying to pay Breez invoice #4533
Comments
Actually, it's any invoice now, not just the ones mentioned above. I'll try removing gossip_store and see what happens. |
Removing |
Actually, I managed to pay the original Breez invoice but when I attempted to pay the following @lntxbot one it crashed with the same error and now is crashing when attempting to pay any invoice:
|
I installed the latest master 0f2009c and now getting a different assertion error:
|
I deleted
but subsequent attempts at paying eg.:
result in the original assertion error:
|
Now trying to pay a 200sat Blue Wallet invoice:
Backtrace:
I don't know much about gossmap to navigate these offsets and figure out the actual node ids though. Please let me know what I can debug further if possible (pinging @cdecker ) |
Now I can't pay any type of invoice, still getting:
|
There are a couple of ways this can happen, but we shouldn't crash. Fixed ElementsProject#4488 Fixes ElementsProject#4533 Changelog-Fixed: pay: Fixed an issue when filtering routehints when we can't find ourselves in the local network view.
There are a couple of ways this can happen, but we shouldn't crash. Fixed ElementsProject#4488 Fixes ElementsProject#4533 Changelog-Fixed: pay: Fixed an issue when filtering routehints when we can't find ourselves in the local network view.
Issue and Steps to Reproduce
Here's the Breez invoice:
lnbc34320n1psf7ng9pp5ptt4wa32mwr3047gxytsdh5u6e4maxufulj7zypwdfx4hcwxzkvsdq2vfex2et6xgcqzpgxqrrssrzjqvgptfurj3528snx6e3dtwepafxw5fpzdymw9pj20jj09sunnqmwqqqqqyqqqqqqqqqqqqlgqqqqqqgqjqnp4qvtacy8q08fxngz0pyj26e4phmsvcf9n0qhnw2x5ldq0c58p9dkwqsp5qd5u7z72t3s8jzw2094xdda2aj3tmxrrrlh0fzyazjjalv88zgls9qy9qsqxw6x5r7ftqzxq3tk4pcn2503yqne5dqszp0vw9mewymqfzkrg78p8twphuya2dm632vzvk9z28uqs5nk5h98jfgkm860wm4ffhxsn8gpmlygh6
Running c-lightning 0.10.0 on FreeBSD 12.2-RELEASE-p6
Trying to pay the above invoice (or any other where the payee is private/unknown - eg. Phoenix or @lntxbot) results in a crash. Some debug info:
Assertion failed: (localoff + len <= tal_bytelen(map->local)), function map_copy, file common/gossmap.c, line 94.
And here's the output from
lldb
(FreeBSD equivalent ofgdb
) attached to the pay process:The text was updated successfully, but these errors were encountered: