Skip to content
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

LNbits: satdress aborts (Assertion `sym != NULL' failed) #14

Open
Stadicus opened this issue Aug 23, 2021 · 3 comments
Open

LNbits: satdress aborts (Assertion `sym != NULL' failed) #14

Stadicus opened this issue Aug 23, 2021 · 3 comments

Comments

@Stadicus
Copy link

Stadicus commented Aug 23, 2021

I try to connect my self-hosted satdress to LNbits, using the latest pre-built binary v0.2.1. I use the following settings, for "host" I tried https://lnbits.com, https://lnbits.com:80 and other settings.

image

When I click on "Submit", the satdress application immediately aborts:

satdress@stadicus:~/satdress$ ./satdress 
<nil> DBG listening addr=0.0.0.0:17329
<nil> DBG generating invoice backend={"Cert":"","Host":"https://lnbits.com","Key":"02686a9869144bbb9ee8b107be7a77b8"} description_hash=3b9428922ff81dbeb40d8d75d59360ca2b58c597ecbfb04230ff1b02036e6467 msatoshi=1000
satdress: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed.
SIGABRT: abort
PC=0xb18212 m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: unknown pc 0xb18212
stack: frame={sp:0x7ffdfbea4a50, fp:0x0} stack=[0x7ffdfb6a6d08,0x7ffdfbea5d40)
00007ffdfbea4950:  0000000000000000  0000000000b9ede8 
00007ffdfbea4960:  0000000000000000  0000000200000000 
00007ffdfbea4970:  00007ffd10000000  0000000002da7d90
...

see full log on Pastebin.com

I also tried "host" without the protocol prefix: lnbits.com or lnbits.com:80. While the app does not abort, it shows the following error message:

DBG generating invoice backend={"Cert":"","Host":"lnbits.com:80","Key":"02686a9869144bbb9ee8b107be7a77b8"} description_hash=3b9428922ff81dbeb40d8d75d59360ca2b58c597ecbfb04230ff1b02036e6467 msatoshi=1000
@Stadicus
Copy link
Author

I compiled from source using Go 1.17 from the master branch, and this solved my issue.

Feel free to close this issue, and let me know if you need any additional details.

@fiatjaf
Copy link
Collaborator

fiatjaf commented Aug 24, 2021

Sir, I have absolutely no idea of what has happened.

The prebuilt binary is compiled with musl, maybe that has something to do with it. But musl was supposed to be more portable, not less.

You probably know more than I do about this -- if someone else knows, please step in and help us.

@Stadicus
Copy link
Author

You probably know more than I do about this

No way... :) It might have something to do with the VPS I'm running it on, it's a LunaNode "Ubuntu 18.04 64-bit" system. Well, it works if I compile it directly in the machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants