dogecoinfoundation / gigawallet

GigaWallet is the backend for your Dogecoin Business.
https://gigawallet.dogecoin.org
MIT License
55 stars 10 forks source link

Random crash wen sign transaction (dogecoin_tx_sign_input) #110

Open qlpqlp opened 1 year ago

qlpqlp commented 1 year ago

I'm getting a random crash on Gigawallet wen there is alredy a stuck payout and wen I try to send again another payout wen one transaction is still stuck:

gigawallet: src/tx.c:1126: dogecoin_tx_sign_input: Assertionsigderlen <= 74 && sigderlen >= 70' failed. SIGABRT: abort PC=0x7fc09342a387 m=10 sigcode=18446744073709551610 signal arrived during cgo execution

goroutine 4548 [syscall]: runtime.cgocall(0x855290, 0xc000326458) /usr/lib/golang/src/runtime/cgocall.go:158 +0x5c fp=0xc000326430 sp=0xc0003263f8 pc=0x41a83c github.com/dogeorg/go-libdogecoin._Cfunc_sign_raw_transaction(0x0, 0xc0003e6000, 0x7fc0400021e0, 0x1, 0x7fc040002220) _cgo_gotypes.go:314 +0x4c fp=0xc000326458 sp=0xc000326430 pc=0x7b8a2c github.com/dogeorg/go-libdogecoin.W_sign_raw_transaction(0x0, {0xc00017a140, 0x140}, {0xc0000b80c0, 0x32}, 0x1, {0xc000344100, 0x34}) /root/go/pkg/mod/github.com/dogeorg/go-libdogecoin@v0.0.45/libdogecoin.go:206 +0x110 fp=0xc0003264c0 sp=0xc000326458 pc=0x7b9890 github.com/dogecoinfoundation/gigawallet/pkg/dogecoin.L1Libdogecoin.MakeTransaction({{0x0?, 0x7fc094320108?}}, {0xc0001287e0, 0x2, 0xc0002e00e0?}, {0xc0002ec660, 0x1, 0xc000326b58?}, {0xc0002c6000, 0xfffffff0}, ...) /gigawallet/pkg/dogecoin/libdogecoin.go:158 +0xec5 fp=0xc000326a50 sp=0xc0003264c0 pc=0x7bac65 github.com/dogecoinfoundation/gigawallet/pkg/dogecoin.(*L1Libdogecoin).MakeTransaction(0xc000326c48?, {0xc0001287e0?, 0x1241460?, 0xc000326cc0?}, {0xc0002ec660?, 0x7fc094320108?, 0xa01b04?}, {0xc0002c6000?, 0xe?}, {0xc0002a8420, ...}, ...)

:1 +0xfc fp=0xc000326bc0 sp=0xc000326a50 pc=0x7bcafc github.com/dogecoinfoundation/gigawallet/pkg.(*TxnBuilder).buildTxn(0xc0000c88f0) /gigawallet/pkg/utxo.go:63 +0xca fp=0xc000326d38 sp=0xc000326bc0 pc=0x7708ca github.com/dogecoinfoundation/gigawallet/pkg.(*TxnBuilder).CalculateFee(0xc0000c88f0, {0xc00006a500?, 0x22?}) /gigawallet/pkg/utxo.go:145 +0x85 fp=0xc000326e38 sp=0xc000326d38 pc=0x771545 github.com/dogecoinfoundation/gigawallet/pkg.API.SendFundsToAddress({{0xb7b120, 0xc000194240}, {0xb7b0b0, 0xc0001942f0}, {0xc0000a2000, 0xc0000a4000}, {0xb74c00, 0xc000078a80}, {{{0xa050a2, 0xb}, ...}, ...}}, ...) /gigawallet/pkg/api.go:274 +0x445 fp=0xc0003273d0 sp=0xc000326e38 pc=0x76d8a5 github.com/dogecoinfoundation/gigawallet/pkg/webapi.WebAPI.payToAddress({{{0xb7b120, 0xc000194240}, {0xb7b0b0, 0xc0001942f0}, {0xc0000a2000, 0xc0000a4000}, {0xb74c00, 0xc000078a80}, {{{...}, {...}, ...}, ...}}, ...}, ...) /gigawallet/pkg/webapi/webapi.go:353 +0x2ae fp=0xc000327638 sp=0xc0003273d0 pc=0x84f70e github.com/dogecoinfoundation/gigawallet/pkg/webapi.WebAPI.payToAddress-fm({0xb78780?, 0xc0000f20e0?}, 0xc0002fc030?, {0xc0000dc060?, 0xb750a0?, 0xc0000efb68?}) :1 +0x7e fp=0xc0003279b8 sp=0xc000327638 pc=0x85133e github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc000079140, {0xb78780, 0xc0000f20e0}, 0xc0002fa100) /root/go/pkg/mod/github.com/julienschmidt/httprouter@v1.3.0/router.go:387 +0x81c fp=0xc000327ac8 sp=0xc0003279b8 pc=0x84843c net/http.serverHandler.ServeHTTP({0xb77220?}, {0xb78780, 0xc0000f20e0}, 0xc0002fa100) /usr/lib/golang/src/net/http/server.go:2947 +0x30c fp=0xc000327b78 sp=0xc000327ac8 pc=0x719a0c net/http.(*conn).serve(0xc000000aa0, {0xb78d80, 0xc000192c60}) /usr/lib/golang/src/net/http/server.go:1991 +0x607 fp=0xc000327fb8 sp=0xc000327b78 pc=0x7150e7 net/http.(*Server).Serve.func3() /usr/lib/golang/src/net/http/server.go:3102 +0x2e fp=0xc000327fe0 sp=0xc000327fb8 pc=0x71a34e runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000327fe8 sp=0xc000327fe0 pc=0x47d621 created by net/http.(*Server).Serve /usr/lib/golang/src/net/http/server.go:3102 +0x4db goroutine 1 [chan receive, 1 minutes]: runtime.gopark(0x0?, 0x0?, 0x1f?, 0x41?, 0x1000000000001?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000124598 sp=0xc000124578 pc=0x44f4f6 runtime.chanrecv(0xc00007a2a0, 0x0, 0x1) /usr/lib/golang/src/runtime/chan.go:583 +0x49b fp=0xc000124628 sp=0xc000124598 pc=0x41d83b runtime.chanrecv1(0xc000076b00?, 0x1?) /usr/lib/golang/src/runtime/chan.go:442 +0x18 fp=0xc000124650 sp=0xc000124628 pc=0x41d338 main.Server({{{0xa050a2, 0xb}, {0xa0acf7, 0x16}, {0xa0f627, 0x1c}, {0xb72520, 0x0}, {0x0, 0x0}, ...}, ...}) /gigawallet/cmd/gigawallet/server.go:72 +0xdb6 fp=0xc000125a30 sp=0xc000124650 pc=0x853d96 main.main() /gigawallet/cmd/gigawallet/main.go:74 +0x2c5 fp=0xc000125f80 sp=0xc000125a30 pc=0x8526a5 runtime.main() /usr/lib/golang/src/runtime/proc.go:250 +0x212 fp=0xc000125fe0 sp=0xc000125f80 pc=0x44f132 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000125fe8 sp=0xc000125fe0 pc=0x47d621 goroutine 2 [force gc (idle), 1 minutes]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00004afb0 sp=0xc00004af90 pc=0x44f4f6 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:369 runtime.forcegchelper() /usr/lib/golang/src/runtime/proc.go:302 +0xad fp=0xc00004afe0 sp=0xc00004afb0 pc=0x44f38d runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004afe8 sp=0xc00004afe0 pc=0x47d621 created by runtime.init.6 /usr/lib/golang/src/runtime/proc.go:290 +0x25 goroutine 3 [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00004b790 sp=0xc00004b770 pc=0x44f4f6 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:369 runtime.bgsweep(0x0?) /usr/lib/golang/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc00004b7c8 sp=0xc00004b790 pc=0x43b9f7 runtime.gcenable.func1() /usr/lib/golang/src/runtime/mgc.go:178 +0x26 fp=0xc00004b7e0 sp=0xc00004b7c8 pc=0x430666 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004b7e8 sp=0xc00004b7e0 pc=0x47d621 created by runtime.gcenable /usr/lib/golang/src/runtime/mgc.go:178 +0x6b goroutine 4 [runnable]: runtime.gopark(0xc000024050?, 0xdd45e9e4a8222?, 0x0?, 0x0?, 0xaee968?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00004bf30 sp=0xc00004bf10 pc=0x44f4f6 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:369 runtime.(*scavengerState).sleep(0x11f59e0, 0x411a460000000000) /usr/lib/golang/src/runtime/mgcscavenge.go:468 +0x125 fp=0xc00004bfa0 sp=0xc00004bf30 pc=0x439c65 runtime.bgscavenge(0x0?) /usr/lib/golang/src/runtime/mgcscavenge.go:626 +0x7f fp=0xc00004bfc8 sp=0xc00004bfa0 pc=0x43a05f runtime.gcenable.func2() /usr/lib/golang/src/runtime/mgc.go:179 +0x26 fp=0xc00004bfe0 sp=0xc00004bfc8 pc=0x430606 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004bfe8 sp=0xc00004bfe0 pc=0x47d621 created by runtime.gcenable /usr/lib/golang/src/runtime/mgc.go:179 +0xaa goroutine 5 [finalizer wait, 1 minutes]: runtime.gopark(0x11f6280?, 0xc000007860?, 0x0?, 0x0?, 0xc00004a770?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00004a628 sp=0xc00004a608 pc=0x44f4f6 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:369 runtime.runfinq() /usr/lib/golang/src/runtime/mfinal.go:180 +0x10f fp=0xc00004a7e0 sp=0xc00004a628 pc=0x42f6ef runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004a7e8 sp=0xc00004a7e0 pc=0x47d621 created by runtime.createfing /usr/lib/golang/src/runtime/mfinal.go:157 +0x45 goroutine 6 [select, 1 minutes, locked to thread]: runtime.gopark(0xc00004c7a8?, 0x2?, 0x77?, 0xf8?, 0xc00004c7a4?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00004c618 sp=0xc00004c5f8 pc=0x44f4f6 runtime.selectgo(0xc00004c7a8, 0xc00004c7a0, 0x0?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc00004c758 sp=0xc00004c618 pc=0x45ecfc runtime.ensureSigM.func1() /usr/lib/golang/src/runtime/signal_unix.go:995 +0x1b0 fp=0xc00004c7e0 sp=0xc00004c758 pc=0x462d90 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004c7e8 sp=0xc00004c7e0 pc=0x47d621 created by runtime.ensureSigM /usr/lib/golang/src/runtime/signal_unix.go:978 +0xbd goroutine 18 [syscall, 1 minutes]: runtime.notetsleepg(0x0?, 0x0?) /usr/lib/golang/src/runtime/lock_futex.go:236 +0x34 fp=0xc0000467a0 sp=0xc000046768 pc=0x422c34 os/signal.signal_recv() /usr/lib/golang/src/runtime/sigqueue.go:152 +0x2f fp=0xc0000467c0 sp=0xc0000467a0 pc=0x47a00f os/signal.loop() /usr/lib/golang/src/os/signal/signal_unix.go:23 +0x19 fp=0xc0000467e0 sp=0xc0000467c0 pc=0x794259 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000467e8 sp=0xc0000467e0 pc=0x47d621 created by os/signal.Notify.func1.1 /usr/lib/golang/src/os/signal/signal.go:151 +0x2a goroutine 19 [select, 1 minutes]: runtime.gopark(0xc000046fb0?, 0x2?, 0x0?, 0x0?, 0xc000046f7c?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000046e00 sp=0xc000046de0 pc=0x44f4f6 runtime.selectgo(0xc000046fb0, 0xc000046f78, 0x0?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc000046f40 sp=0xc000046e00 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg/conductor.HookSignals.func1.1() /gigawallet/pkg/conductor/options.go:39 +0x9a fp=0xc000046fe0 sp=0xc000046f40 pc=0x794e7a runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000046fe8 sp=0xc000046fe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/conductor.HookSignals.func1 /gigawallet/pkg/conductor/options.go:37 +0xce goroutine 20 [select, 1 minutes]: runtime.gopark(0xc000047788?, 0x2?, 0x0?, 0x0?, 0xc000047784?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000047610 sp=0xc0000475f0 pc=0x44f4f6 runtime.selectgo(0xc000047788, 0xc000047780, 0x0?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc000047750 sp=0xc000047610 pc=0x45ecfc database/sql.(*DB).connectionOpener(0xc0000c80d0, {0xb78cd8, 0xc0000b6140}) /usr/lib/golang/src/database/sql/sql.go:1224 +0x8d fp=0xc0000477b8 sp=0xc000047750 pc=0x7da76d database/sql.OpenDB.func1() /usr/lib/golang/src/database/sql/sql.go:792 +0x2e fp=0xc0000477e0 sp=0xc0000477b8 pc=0x7d8b4e runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000477e8 sp=0xc0000477e0 pc=0x47d621 created by database/sql.OpenDB /usr/lib/golang/src/database/sql/sql.go:792 +0x18d goroutine 50 [chan receive, 1 minutes]: runtime.gopark(0x968a20?, 0xc00005efaf?, 0x60?, 0xa0?, 0xc0000a4180?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005eee0 sp=0xc00005eec0 pc=0x44f4f6 runtime.chanrecv(0xc00029a000, 0xc00005efaf, 0x1) /usr/lib/golang/src/runtime/chan.go:583 +0x49b fp=0xc00005ef70 sp=0xc00005eee0 pc=0x41d83b runtime.chanrecv2(0xc0000a4120?, 0x9819e0?) /usr/lib/golang/src/runtime/chan.go:447 +0x18 fp=0xc00005ef98 sp=0xc00005ef70 pc=0x41d378 gopkg.in/natefinch/lumberjack%2ev2.(*Logger).millRun(0xc0000a4120) /root/go/pkg/mod/gopkg.in/natefinch/lumberjack.v2@v2.0.0/lumberjack.go:379 +0x45 fp=0xc00005efc8 sp=0xc00005ef98 pc=0x7beba5 gopkg.in/natefinch/lumberjack%2ev2.(*Logger).mill.func1.1() /root/go/pkg/mod/gopkg.in/natefinch/lumberjack.v2@v2.0.0/lumberjack.go:390 +0x26 fp=0xc00005efe0 sp=0xc00005efc8 pc=0x7bed66 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005efe8 sp=0xc00005efe0 pc=0x47d621 created by gopkg.in/natefinch/lumberjack%2ev2.(*Logger).mill.func1 /root/go/pkg/mod/gopkg.in/natefinch/lumberjack.v2@v2.0.0/lumberjack.go:390 +0x96 goroutine 7 [chan receive, 1 minutes]: runtime.gopark(0x0?, 0xc000078cc0?, 0x1f?, 0x41?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00004ced8 sp=0xc00004ceb8 pc=0x44f4f6 runtime.chanrecv(0xc0000a4060, 0x0, 0x1) /usr/lib/golang/src/runtime/chan.go:583 +0x49b fp=0xc00004cf68 sp=0xc00004ced8 pc=0x41d83b runtime.chanrecv1(0x0?, 0x0?) /usr/lib/golang/src/runtime/chan.go:442 +0x18 fp=0xc00004cf90 sp=0xc00004cf68 pc=0x41d338 github.com/dogecoinfoundation/gigawallet/pkg.MessageBus.Run.func1() /gigawallet/pkg/bus.go:125 +0xe7 fp=0xc00004cfe0 sp=0xc00004cf90 pc=0x76f4a7 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004cfe8 sp=0xc00004cfe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg.MessageBus.Run /gigawallet/pkg/bus.go:86 +0xd8 goroutine 8 [select, 1 minutes]: runtime.gopark(0xc00004d6c0?, 0x2?, 0x20?, 0xd5?, 0xc00004d674?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00004d4d8 sp=0xc00004d4b8 pc=0x44f4f6 runtime.selectgo(0xc00004d6c0, 0xc00004d670, 0x0?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc00004d618 sp=0xc00004d4d8 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg.MessageBus.Run.func1.1() /gigawallet/pkg/bus.go:90 +0xc7 fp=0xc00004d7e0 sp=0xc00004d618 pc=0x76f5a7 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004d7e8 sp=0xc00004d7e0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg.MessageBus.Run.func1 /gigawallet/pkg/bus.go:88 +0xca goroutine 9 [select, 1 minutes]: runtime.gopark(0xc000058f10?, 0x2?, 0x46?, 0x59?, 0xc000058eec?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000058d78 sp=0xc000058d58 pc=0x44f4f6 runtime.selectgo(0xc000058f10, 0xc000058ee8, 0x0?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc000058eb8 sp=0xc000058d78 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg/receivers.MessageLogger.Run.func1() /gigawallet/pkg/receivers/logger.go:30 +0x14d fp=0xc000058fe0 sp=0xc000058eb8 pc=0x7cb34d runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/receivers.MessageLogger.Run /gigawallet/pkg/receivers/logger.go:27 +0xd8 goroutine 10 [select, 1 minutes]: runtime.gopark(0xc0001bc720?, 0x2?, 0x0?, 0x0?, 0xc0001bc6f4?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0001bc560 sp=0xc0001bc540 pc=0x44f4f6 runtime.selectgo(0xc0001bc720, 0xc0001bc6f0, 0x0?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0001bc6a0 sp=0xc0001bc560 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg/receivers.CallbackSender.Run.func1() /gigawallet/pkg/receivers/callbacks.go:41 +0xcc fp=0xc0001bc7e0 sp=0xc0001bc6a0 pc=0x7c9e2c runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001bc7e8 sp=0xc0001bc7e0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/receivers.CallbackSender.Run /gigawallet/pkg/receivers/callbacks.go:38 +0xeb goroutine 11 [select]: runtime.gopark(0xc000531f20?, 0x2?, 0x0?, 0x30?, 0xc000531f14?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0001cada0 sp=0xc0001cad80 pc=0x44f4f6 runtime.selectgo(0xc0001caf20, 0xc000531f10, 0x0?, 0x0, 0x41cc60?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0001caee0 sp=0xc0001cada0 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg/services.(*BalanceKeeper).sleepForRetry(0xb7b120?, {0x0?, 0x0?}, 0xc0000a4000?) /gigawallet/pkg/services/balancekeeper.go:411 +0xe5 fp=0xc0001caf50 sp=0xc0001caee0 pc=0x7d1165 github.com/dogecoinfoundation/gigawallet/pkg/services.BalanceKeeper.Run.func1() /gigawallet/pkg/services/balancekeeper.go:65 +0x110 fp=0xc0001cafe0 sp=0xc0001caf50 pc=0x7cd4b0 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001cafe8 sp=0xc0001cafe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/services.BalanceKeeper.Run /gigawallet/pkg/services/balancekeeper.go:40 +0x13f goroutine 25 [select, 1 minutes]: runtime.gopark(0xc000048780?, 0x2?, 0x90?, 0xc0?, 0xc000048764?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0000485f0 sp=0xc0000485d0 pc=0x44f4f6 runtime.selectgo(0xc000048780, 0xc000048760, 0xc0000e01e0?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc000048730 sp=0xc0000485f0 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg/services.InvoiceStamper.Run.func1() /gigawallet/pkg/services/invoicestamper.go:31 +0xb3 fp=0xc0000487e0 sp=0xc000048730 pc=0x7d1393 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000487e8 sp=0xc0000487e0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/services.InvoiceStamper.Run /gigawallet/pkg/services/invoicestamper.go:28 +0xae goroutine 26 [select, 1 minutes]: runtime.gopark(0xc000048f80?, 0x2?, 0x0?, 0x0?, 0xc000048f64?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000048df0 sp=0xc000048dd0 pc=0x44f4f6 runtime.selectgo(0xc000048f80, 0xc000048f60, 0x0?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc000048f30 sp=0xc000048df0 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg/services.PayMaster.Run.func1() /gigawallet/pkg/services/paymaster.go:31 +0xb3 fp=0xc000048fe0 sp=0xc000048f30 pc=0x7d1c33 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000048fe8 sp=0xc000048fe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/services.PayMaster.Run /gigawallet/pkg/services/paymaster.go:28 +0xae goroutine 27 [select]: runtime.gopark(0xc0001cffa0?, 0x3?, 0x0?, 0x30?, 0xc0001cff0a?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0001cfd80 sp=0xc0001cfd60 pc=0x44f4f6 runtime.selectgo(0xc0001cffa0, 0xc0001cff04, 0x40?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0001cfec0 sp=0xc0001cfd80 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg/chaintracker.(*TipChaser).Run.func1() /gigawallet/pkg/chaintracker/tipchaser.go:50 +0x10b fp=0xc0001cffe0 sp=0xc0001cfec0 pc=0x79b9cb runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001cffe8 sp=0xc0001cffe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/chaintracker.(*TipChaser).Run /gigawallet/pkg/chaintracker/tipchaser.go:46 +0xae goroutine 28 [chan receive, 1 minutes]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000049ed0 sp=0xc000049eb0 pc=0x44f4f6 runtime.chanrecv(0xc000078ae0, 0xc000049fc0, 0x1) /usr/lib/golang/src/runtime/chan.go:583 +0x49b fp=0xc000049f60 sp=0xc000049ed0 pc=0x41d83b runtime.chanrecv1(0x0?, 0x0?) /usr/lib/golang/src/runtime/chan.go:442 +0x18 fp=0xc000049f88 sp=0xc000049f60 pc=0x41d338 github.com/dogecoinfoundation/gigawallet/pkg/chaintracker.(*ChainFollower).Run.func1() /gigawallet/pkg/chaintracker/chainfollower.go:65 +0x35 fp=0xc000049fe0 sp=0xc000049f88 pc=0x795275 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/chaintracker.(*ChainFollower).Run /gigawallet/pkg/chaintracker/chainfollower.go:63 +0x85 goroutine 29 [select]: runtime.gopark(0xc000121e58?, 0x2?, 0x0?, 0x0?, 0xc000121e1c?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0000efc80 sp=0xc0000efc60 pc=0x44f4f6 runtime.selectgo(0xc0000efe58, 0xc000121e18, 0x40?, 0x0, 0x0?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0000efdc0 sp=0xc0000efc80 pc=0x45ecfc github.com/dogecoinfoundation/gigawallet/pkg/chaintracker.(*ChainFollower).serviceMain(0xc000078a80) /gigawallet/pkg/chaintracker/chainfollower.go:114 +0x2f2 fp=0xc0000effb0 sp=0xc0000efdc0 pc=0x7955d2 github.com/dogecoinfoundation/gigawallet/pkg/chaintracker.(*ChainFollower).Run.func2() /gigawallet/pkg/chaintracker/chainfollower.go:72 +0x3d fp=0xc0000effe0 sp=0xc0000effb0 pc=0x7951fd runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000effe8 sp=0xc0000effe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/chaintracker.(*ChainFollower).Run /gigawallet/pkg/chaintracker/chainfollower.go:68 +0xf1 goroutine 56 [IO wait]: runtime.gopark(0x0?, 0xb?, 0x0?, 0x0?, 0x12?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005daf8 sp=0xc00005dad8 pc=0x44f4f6 runtime.netpollblock(0x4c9e25?, 0x4d7457?, 0x0?) /usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc00005db30 sp=0xc00005daf8 pc=0x447e97 internal/poll.runtime_pollWait(0x7fc0680b63b8, 0x72) /usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc00005db50 sp=0xc00005db30 pc=0x478149 internal/poll.(*pollDesc).wait(0xc00015e780?, 0xc0002b1000?, 0x0) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc00005db78 sp=0xc00005db50 pc=0x4e3772 internal/poll.(*pollDesc).waitRead(...) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00015e780, {0xc0002b1000, 0x1000, 0x1000}) /usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc00005dbf8 sp=0xc00005db78 pc=0x4e4ada net.(*netFD).Read(0xc00015e780, {0xc0002b1000?, 0x41cd91?, 0x4?}) /usr/lib/golang/src/net/fd_posix.go:55 +0x29 fp=0xc00005dc40 sp=0xc00005dbf8 pc=0x609e09 net.(*conn).Read(0xc0002860c0, {0xc0002b1000?, 0x0?, 0x0?}) /usr/lib/golang/src/net/net.go:183 +0x45 fp=0xc00005dc88 sp=0xc00005dc40 pc=0x61ba45 net/http.(*persistConn).Read(0xc0002b6240, {0xc0002b1000?, 0xc0000e06c0?, 0xc00005dd30?}) /usr/lib/golang/src/net/http/transport.go:1929 +0x4e fp=0xc00005dce8 sp=0xc00005dc88 pc=0x72e74e bufio.(*Reader).fill(0xc000282780) /usr/lib/golang/src/bufio/bufio.go:106 +0xff fp=0xc00005dd20 sp=0xc00005dce8 pc=0x696d9f bufio.(*Reader).Peek(0xc000282780, 0x1) /usr/lib/golang/src/bufio/bufio.go:144 +0x5d fp=0xc00005dd40 sp=0xc00005dd20 pc=0x696efd net/http.(*persistConn).readLoop(0xc0002b6240) /usr/lib/golang/src/net/http/transport.go:2093 +0x1ac fp=0xc00005dfc8 sp=0xc00005dd40 pc=0x72f56c net/http.(*Transport).dialConn.func5() /usr/lib/golang/src/net/http/transport.go:1751 +0x26 fp=0xc00005dfe0 sp=0xc00005dfc8 pc=0x72dd46 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x47d621 created by net/http.(*Transport).dialConn /usr/lib/golang/src/net/http/transport.go:1751 +0x173e goroutine 34 [syscall]: runtime.cgocall(0x854800, 0xc00005ac78) /usr/lib/golang/src/runtime/cgocall.go:158 +0x5c fp=0xc00005ac50 sp=0xc00005ac18 pc=0x41a83c github.com/pebbe/zmq4._C2func_zmq4_msg_recv(0xc0000b8780, 0x7fc04c003590, 0x0) _cgo_gotypes.go:399 +0x56 fp=0xc00005ac78 sp=0xc00005ac50 pc=0x79d6d6 github.com/pebbe/zmq4.(*Socket).RecvBytes.func1(0xc0000b8780?, 0x0?, 0x0) /root/go/pkg/mod/github.com/pebbe/zmq4@v1.2.9/zmq4.go:1082 +0x57 fp=0xc00005acc8 sp=0xc00005ac78 pc=0x7a66f7 github.com/pebbe/zmq4.(*Socket).RecvBytes(0xc0000a2a20, 0x0?) /root/go/pkg/mod/github.com/pebbe/zmq4@v1.2.9/zmq4.go:1082 +0x119 fp=0xc00005ad68 sp=0xc00005acc8 pc=0x7a6359 github.com/pebbe/zmq4.(*Socket).RecvMessageBytes(0xb753a0?, 0xc000014018?) /root/go/pkg/mod/github.com/pebbe/zmq4@v1.2.9/utils.go:141 +0x78 fp=0xc00005adf8 sp=0xc00005ad68 pc=0x79c998 github.com/dogecoinfoundation/gigawallet/pkg/core.(*CoreZMQReceiver).Run.func1() /gigawallet/pkg/core/receiver.go:69 +0x9b fp=0xc00005afe0 sp=0xc00005adf8 pc=0x7b40fb runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/core.(*CoreZMQReceiver).Run /gigawallet/pkg/core/receiver.go:55 +0x23b goroutine 12 [chan receive, 1 minutes]: runtime.gopark(0x487525?, 0xc000078cc0?, 0x1f?, 0x41?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005fdd8 sp=0xc00005fdb8 pc=0x44f4f6 runtime.chanrecv(0xc000078ba0, 0xc00005ff80, 0x1) /usr/lib/golang/src/runtime/chan.go:583 +0x49b fp=0xc00005fe68 sp=0xc00005fdd8 pc=0x41d83b runtime.chanrecv1(0xb753a0?, 0xc000014018?) /usr/lib/golang/src/runtime/chan.go:442 +0x18 fp=0xc00005fe90 sp=0xc00005fe68 pc=0x41d338 github.com/dogecoinfoundation/gigawallet/pkg/webapi.WebAPI.Run.func1() /gigawallet/pkg/webapi/webapi.go:109 +0xbc7 fp=0xc00005ffe0 sp=0xc00005fe90 pc=0x84cc67 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/webapi.WebAPI.Run /gigawallet/pkg/webapi/webapi.go:31 +0x11d goroutine 13 [IO wait]: runtime.gopark(0x200000003?, 0xc000147040?, 0x0?, 0xca?, 0xc0001ccc50?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0001ccbe0 sp=0xc0001ccbc0 pc=0x44f4f6 runtime.netpollblock(0xc0001ccc30?, 0x1ccca8?, 0xc0?) /usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc0001ccc18 sp=0xc0001ccbe0 pc=0x447e97 internal/poll.runtime_pollWait(0x7fc0680b6598, 0x72) /usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc0001ccc38 sp=0xc0001ccc18 pc=0x478149 internal/poll.(*pollDesc).wait(0xc00015e580?, 0x6?, 0x0) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0001ccc60 sp=0xc0001ccc38 pc=0x4e3772 internal/poll.(*pollDesc).waitRead(...) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc00015e580) /usr/lib/golang/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc0001cccf8 sp=0xc0001ccc60 pc=0x4e89f4 net.(*netFD).accept(0xc00015e580) /usr/lib/golang/src/net/fd_unix.go:172 +0x35 fp=0xc0001ccdb0 sp=0xc0001cccf8 pc=0x60bf15 net.(*TCPListener).accept(0xc000012690) /usr/lib/golang/src/net/tcpsock_posix.go:142 +0x28 fp=0xc0001ccde0 sp=0xc0001ccdb0 pc=0x6246e8 net.(*TCPListener).Accept(0xc000012690) /usr/lib/golang/src/net/tcpsock.go:288 +0x3d fp=0xc0001cce10 sp=0xc0001ccde0 pc=0x6238bd net/http.(*onceCloseListener).Accept(0xc000000aa0?) :1 +0x2a fp=0xc0001cce28 sp=0xc0001cce10 pc=0x73ee2a net/http.(*Server).Serve(0xc0001c6000, {0xb78570, 0xc000012690}) /usr/lib/golang/src/net/http/server.go:3070 +0x385 fp=0xc0001ccf58 sp=0xc0001cce28 pc=0x719f65 net/http.(*Server).ListenAndServe(0xc0001c6000) /usr/lib/golang/src/net/http/server.go:2999 +0x7d fp=0xc0001ccf88 sp=0xc0001ccf58 pc=0x719b9d github.com/dogecoinfoundation/gigawallet/pkg/webapi.WebAPI.Run.func1.1() /gigawallet/pkg/webapi/webapi.go:94 +0x25 fp=0xc0001ccfe0 sp=0xc0001ccf88 pc=0x84cda5 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001ccfe8 sp=0xc0001ccfe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/webapi.WebAPI.Run.func1 /gigawallet/pkg/webapi/webapi.go:93 +0xa1c goroutine 14 [IO wait, 1 minutes]: runtime.gopark(0xd0?, 0x20?, 0x68?, 0xdc?, 0xc0001cdc50?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0001cdbe0 sp=0xc0001cdbc0 pc=0x44f4f6 runtime.netpollblock(0xd0?, 0x88800?, 0xc0?) /usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc0001cdc18 sp=0xc0001cdbe0 pc=0x447e97 internal/poll.runtime_pollWait(0x7fc0680b64a8, 0x72) /usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc0001cdc38 sp=0xc0001cdc18 pc=0x478149 internal/poll.(*pollDesc).wait(0xc00015e600?, 0x4?, 0x0) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0001cdc60 sp=0xc0001cdc38 pc=0x4e3772 internal/poll.(*pollDesc).waitRead(...) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc00015e600) /usr/lib/golang/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc0001cdcf8 sp=0xc0001cdc60 pc=0x4e89f4 net.(*netFD).accept(0xc00015e600) /usr/lib/golang/src/net/fd_unix.go:172 +0x35 fp=0xc0001cddb0 sp=0xc0001cdcf8 pc=0x60bf15 net.(*TCPListener).accept(0xc0000126c0) /usr/lib/golang/src/net/tcpsock_posix.go:142 +0x28 fp=0xc0001cdde0 sp=0xc0001cddb0 pc=0x6246e8 net.(*TCPListener).Accept(0xc0000126c0) /usr/lib/golang/src/net/tcpsock.go:288 +0x3d fp=0xc0001cde10 sp=0xc0001cdde0 pc=0x6238bd net/http.(*onceCloseListener).Accept(0xb78d10?) :1 +0x2a fp=0xc0001cde28 sp=0xc0001cde10 pc=0x73ee2a net/http.(*Server).Serve(0xc0001c60f0, {0xb78570, 0xc0000126c0}) /usr/lib/golang/src/net/http/server.go:3070 +0x385 fp=0xc0001cdf58 sp=0xc0001cde28 pc=0x719f65 net/http.(*Server).ListenAndServe(0xc0001c60f0) /usr/lib/golang/src/net/http/server.go:2999 +0x7d fp=0xc0001cdf88 sp=0xc0001cdf58 pc=0x719b9d github.com/dogecoinfoundation/gigawallet/pkg/webapi.WebAPI.Run.func1.2() /gigawallet/pkg/webapi/webapi.go:103 +0x25 fp=0xc0001cdfe0 sp=0xc0001cdf88 pc=0x84cd05 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001cdfe8 sp=0xc0001cdfe0 pc=0x47d621 created by github.com/dogecoinfoundation/gigawallet/pkg/webapi.WebAPI.Run.func1 /gigawallet/pkg/webapi/webapi.go:102 +0xb9b goroutine 41 [GC worker (idle)]: runtime.gopark(0xdd45e9e3f7946?, 0xc000394001?, 0x1?, 0x0?, 0xc000299b60?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0001b8750 sp=0xc0001b8730 pc=0x44f4f6 runtime.gcBgMarkWorker() /usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc0001b87e0 sp=0xc0001b8750 pc=0x4327b1 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001b87e8 sp=0xc0001b87e0 pc=0x47d621 created by runtime.gcBgMarkStartWorkers /usr/lib/golang/src/runtime/mgc.go:1159 +0x25 goroutine 57 [select]: runtime.gopark(0xc0001c8f90?, 0x2?, 0xd8?, 0x8d?, 0xc0001c8f24?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0001c8d90 sp=0xc0001c8d70 pc=0x44f4f6 runtime.selectgo(0xc0001c8f90, 0xc0001c8f20, 0xc0002a0300?, 0x0, 0xc0000a2330?, 0x1) /usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0001c8ed0 sp=0xc0001c8d90 pc=0x45ecfc net/http.(*persistConn).writeLoop(0xc0002b6240) /usr/lib/golang/src/net/http/transport.go:2392 +0xf5 fp=0xc0001c8fc8 sp=0xc0001c8ed0 pc=0x7311f5 net/http.(*Transport).dialConn.func6() /usr/lib/golang/src/net/http/transport.go:1752 +0x26 fp=0xc0001c8fe0 sp=0xc0001c8fc8 pc=0x72dce6 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001c8fe8 sp=0xc0001c8fe0 pc=0x47d621 created by net/http.(*Transport).dialConn /usr/lib/golang/src/net/http/transport.go:1752 +0x1791 goroutine 59 [GC worker (idle)]: runtime.gopark(0xdd45e9e3f6ea1?, 0xc000224968?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0001bd750 sp=0xc0001bd730 pc=0x44f4f6 runtime.gcBgMarkWorker() /usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc0001bd7e0 sp=0xc0001bd750 pc=0x4327b1 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001bd7e8 sp=0xc0001bd7e0 pc=0x47d621 created by runtime.gcBgMarkStartWorkers /usr/lib/golang/src/runtime/mgc.go:1159 +0x25 goroutine 60 [GC worker (idle)]: runtime.gopark(0xdd45e9e44f061?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00036e750 sp=0xc00036e730 pc=0x44f4f6 runtime.gcBgMarkWorker() /usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc00036e7e0 sp=0xc00036e750 pc=0x4327b1 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00036e7e8 sp=0xc00036e7e0 pc=0x47d621 created by runtime.gcBgMarkStartWorkers /usr/lib/golang/src/runtime/mgc.go:1159 +0x25 goroutine 4549 [IO wait]: runtime.gopark(0x0?, 0xb?, 0x0?, 0x0?, 0x13?) /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0000e75e8 sp=0xc0000e75c8 pc=0x44f4f6 runtime.netpollblock(0x4c9e25?, 0x1?, 0x0?) /usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc0000e7620 sp=0xc0000e75e8 pc=0x447e97 internal/poll.runtime_pollWait(0x7fc0680b62c8, 0x72) /usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc0000e7640 sp=0xc0000e7620 pc=0x478149 internal/poll.(*pollDesc).wait(0xc0000a0180?, 0xc00007d211?, 0x0) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0000e7668 sp=0xc0000e7640 pc=0x4e3772 internal/poll.(*pollDesc).waitRead(...) /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0000a0180, {0xc00007d211, 0x1, 0x1}) /usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc0000e76e8 sp=0xc0000e7668 pc=0x4e4ada net.(*netFD).Read(0xc0000a0180, {0xc00007d211?, 0x1?, 0xc0002ac7c8?}) /usr/lib/golang/src/net/fd_posix.go:55 +0x29 fp=0xc0000e7730 sp=0xc0000e76e8 pc=0x609e09 net.(*conn).Read(0xc000014028, {0xc00007d211?, 0x0?, 0x1ff?}) /usr/lib/golang/src/net/net.go:183 +0x45 fp=0xc0000e7778 sp=0xc0000e7730 pc=0x61ba45 net/http.(*connReader).backgroundRead(0xc00007d200) /usr/lib/golang/src/net/http/server.go:678 +0x3f fp=0xc0000e77c8 sp=0xc0000e7778 pc=0x70ee7f net/http.(*connReader).startBackgroundRead.func2() /usr/lib/golang/src/net/http/server.go:674 +0x26 fp=0xc0000e77e0 sp=0xc0000e77c8 pc=0x70eda6 runtime.goexit() /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000e77e8 sp=0xc0000e77e0 pc=0x47d621 created by net/http.(*connReader).startBackgroundRead /usr/lib/golang/src/net/http/server.go:674 +0xca rax 0x0 rbx 0x7fc094377000 rcx 0xffffffffffffffff rdx 0x6 rdi 0x4530 rsi 0x4554 rbp 0x7fc09357ef60 rsp 0x7fc04bffe4a8 r8 0x0 r9 0x7fc0400028a0 r10 0x8 r11 0x206 r12 0xbc0b80 r13 0xbc0bb0 r14 0x0 r15 0x7fc04bffe870 rip 0x7fc09342a387 rflags 0x206 cs 0x33 fs 0x0 gs 0x0 exit status 2`
georgeartem commented 1 year ago

Don't know too much about it, but would it be useful to implement webhooks in addition to polling to release stuck txs?

Nice write up on it here: https://dev.to/koladev/building-a-robust-webhook-server-with-golang-a-comprehensive-guide-4oa0

tjstebbing commented 1 year ago

G'day George, GigaWallet already has a webhooks system:

https://gigawallet.dogecoin.org/installation.html#configuring-callbacks

georgeartem commented 1 year ago

That is awesome! Good to know!

Sent from my iPhone

On Sep 12, 2023, at 12:33 AM, Timothy Stebbing @.***> wrote:

 G'day George, GigaWallet already has a webhooks system:

https://gigawallet.dogecoin.org/installation.html#configuring-callbacks

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

georgeartem commented 1 year ago

Is this something you’ve been able to reproduce and is what you provided above just a dump of the procedures that were running at the time?

Stuck transactions are bad. If stuck transactions lead to the application crashing that is worse. Would a transaction_traceutility or something along those lines be helpful to debug and resolve these scenarios?

raffecat commented 7 months ago

This error is an assertion failure in libdogecoin when signing a transaction.

dogecoin_tx_sign_input: Assertion sigderlen <= 74 && sigderlen >= 70' failed.

Since libdogecoin has no awareness of prior transactions, it cannot be related to a prior transaction being stuck (that part is coincidental.)

We will forward this assertion failure to the libdogecoin team, but it's unlikely they will be able to reproduce the behaviour without the data used in the signing attempt (however, there have been two libdogecoin releases since this report, so they may have fixed it already.)

qlpqlp commented 7 months ago

Much thanks 😁💛