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

xpl2mqtt crash #3

Open
ppollet73 opened this issue May 14, 2024 · 0 comments
Open

xpl2mqtt crash #3

ppollet73 opened this issue May 14, 2024 · 0 comments

Comments

@ppollet73
Copy link

Xpl2mqtt crash when receiving one specific message, see here below:

3:52PM DBG received xpl packet packet="{xpl-stat 1 eedomus-xpl.20240506114210 * hbeat.app map[interval:5 port:3865 remote-ip:192.168.0.42 version:1.6]}"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2953c8]

goroutine 1 [running]:
github.com/droso-hass/xpl2mqtt/xpl.ProcessXPL(0x1def920, 0x1c84270)
/home/runner/work/xpl2mqtt/xpl2mqtt/xpl/decoders.go:40 +0xb0
github.com/droso-hass/xpl2mqtt/xpl.(*Server).Run(0x1c0c020)
/home/runner/work/xpl2mqtt/xpl2mqtt/xpl/server.go:56 +0x29c
main.main()
/home/runner/work/xpl2mqtt/xpl2mqtt/main.go:49 +0x490

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

1 participant