rddl-network / rddl-2-plmnt-service

GNU Affero General Public License v3.0
1 stars 0 forks source link

Bug: r2p seg fault after reading result #51

Closed eckelj closed 5 months ago

eckelj commented 5 months ago
Apr 02 17:39:23 ip-10-21-27-154 systemd[1]: Started Planetmint rddl-2-plmnt.
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: Key: tlq1qqvzjktza39wrv888egancgsexj4m3wkydj3slmvaum69d2gk7nqv7kp4g49kz3le0mgdfr3dpkv93apjpum363k2xy76anwmc, Value: {"confidential>
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: Result: 1e3963ca1479eba07e0f8cbe2baf49fc4fa793ac3416c181bb306cba88fb50f7panic: runtime error: invalid memory address or nil pointe>
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1ddadd4]
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: goroutine 24 [running]:
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: github.com/rddl-network/rddl-2-plmnt-service/service.(*PlanetmintClient).CheckMintRequest(0x0?, {0xc000b66200, 0x40})
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]:         /home/runner/work/rddl-2-plmnt-service/rddl-2-plmnt-service/service/planetmint_client.go:65 +0x2f4
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: github.com/rddl-network/rddl-2-plmnt-service/service.(*R2PService).checkMintRequest(0x2e27e40?, {0xc000b66200?, 0xc000afcff0?})
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]:         /home/runner/work/rddl-2-plmnt-service/rddl-2-plmnt-service/service/periodic_tasks.go:79 +0x25
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: github.com/rddl-network/rddl-2-plmnt-service/service.(*R2PService).ExecutePotentialConversion(0xc001175310, {{0xc000c6c380, 0x66},>
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]:         /home/runner/work/rddl-2-plmnt-service/rddl-2-plmnt-service/service/periodic_tasks.go:54 +0x38b
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: github.com/rddl-network/rddl-2-plmnt-service/service.(*R2PService).convertArrivedFunds(0xc001175310)
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]:         /home/runner/work/rddl-2-plmnt-service/rddl-2-plmnt-service/service/backend.go:96 +0x335
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]: created by github.com/rddl-network/rddl-2-plmnt-service/service.(*R2PService).registerPeriodicTasks.func1 in goroutine 11
Apr 02 17:41:23 ip-10-21-27-154 rddl-2-plmnt[188774]:         /home/runner/work/rddl-2-plmnt-service/rddl-2-plmnt-service/service/periodic_tasks.go:23 +0xc5
Apr 02 17:41:23 ip-10-21-27-154 systemd[1]: planetmint-rddl-2-plmnt.service: Main process exited, code=exited, status=2/INVALIDARGUMENT