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

Crash on Windows when probing serial LED strip #105

Open
wizzomafizzo opened this issue Oct 20, 2024 · 0 comments
Open

Crash on Windows when probing serial LED strip #105

wizzomafizzo opened this issue Oct 20, 2024 · 0 comments

Comments

@wizzomafizzo
Copy link
Member

C:\LaunchBox\ThirdParty\TapTo>TapTo.exe
TapTo v2.0.0-dev
3:51PM INF TapTo v2.0.0-dev
3:51PM INF config path = C:\LaunchBox\ThirdParty\TapTo\tapto.ini
3:51PM INF app path = C:\LaunchBox\ThirdParty\TapTo\TapTo.exe
3:51PM INF connection_string =
3:51PM INF allow_commands = false
3:51PM INF disable_sounds = false
3:51PM INF probe_device = true
3:51PM INF exit_game = false
3:51PM INF exit_game_blocklist = []
3:51PM INF debug = true
3:51PM DBG opening database
3:51PM DBG starting API service
3:51PM DBG running platform setup
Device address: 192.168.0.169
Press Enter to exit
3:51PM DBG acr122 reader found: ACS ACR122U PICC Interface 0
3:51PM DBG connecting to COM1
3:51PM DBG running sam configuration
3:51PM DBG failed to open detected serial port, blocklisting: COM1 error="timeout waiting for ACK"
3:51PM DBG connecting to COM3
3:51PM DBG failed to open detected serial port, blocklisting: COM3 error="Serial port busy"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x4d1a73]

goroutine 34 [running]:
github.com/wizzomafizzo/tapto/pkg/readers/pn532_uart.(*Pn532UartReader).Detect(0xc00007a640?, {0xc0000ae280, 0x1, 0x69cca8?})
C:/Users/calla/tapto/pkg/readers/pn532_uart/pn532_uart.go:305 +0x353
github.com/wizzomafizzo/tapto/pkg/service.connectReaders({0x69ef80, 0x9b9e80}, 0xc00017c000, 0xc00007a640, 0xc000300000)
C:/Users/calla/tapto/pkg/service/readers.go:96 +0x586
github.com/wizzomafizzo/tapto/pkg/service.readerManager.func3()
C:/Users/calla/tapto/pkg/service/readers.go:198 +0xee
created by github.com/wizzomafizzo/tapto/pkg/service.readerManager in goroutine 8
C:/Users/calla/tapto/pkg/service/readers.go:183 +0x265

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