2tvenom / myreplication

Golang MySql binary log replication listener

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error panic: runtime error: slice bounds out of range [:-4]

bylli79 opened this issue · comments

Hello,
after starting, I get the following error:
goroutine 1 [running]:
github.com/2tvenom/myreplication.(*packReader).readNextPackWithAdditionalLength(0xc00010e000, 0x4, 0xc00018b560, 0x0, 0x0)
/2tvenom/myreplication/pack.go:86 +0x348
github.com/2tvenom/myreplication.(*eventLog).readEvent(0xc000120000, 0xc000105ee8, 0xc0001897a0, 0x0, 0x0)
/2tvenom/myreplication/event_log.go:724 +0x45
github.com/2tvenom/myreplication.(*eventLog).Start(0xc000120000, 0x5540d8, 0xc0001120c0)
/2tvenom/myreplication/event_log.go:640 +0x37
main.main()
test.go:86 +0x133
Process finished with exit code 2

What can I do?

Thank you