I am getting this error. Has there been a fix? I am using Arduino IDE 2.0.3. I was connected to the board and ran an Upload To Programmer and after that only get a Connection Dropped error. I don't know what's relevant in the terminal but here is what looks to be the relevant section. It did detect the board when I first plugged in.
2023-01-21T12:05:06.650Z daemon INFO panic:
2023-01-21T12:05:06.651Z daemon INFO runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x45c0be6]
goroutine 77 [running]:
2023-01-21T12:05:06.652Z daemon INFO github.com/arduino/arduino-cli/arduino/cores.(*Platform).GetAllInstalled(0x487a6a0)
/home/build/arduino/cores/cores.go:269 +0x26
2023-01-21T12:05:06.652Z daemon INFO github.com/arduino/arduino-cli/arduino/cores/packagemanager.(*Explorer).GetInstalledPlatformRelease(0xc0054eb300, 0xc00051a1b0)
/home/build/arduino/cores/packagemanager/package_manager.go:462 +0x28
2023-01-21T12:05:06.653Z daemon INFO github.com/arduino/arduino-cli/commands/upload.runProgramAction(0xc0054eb300, 0x4c8d220, {0x0, 0x0}, {0x0, 0x0}, {0xc0088850c0, 0x3b}, 0xc00536a1c0, {0xc0054de328,
2023-01-21T12:05:06.653Z daemon INFO ...}, ...)
/home/build/commands/upload/upload.go:273 +0x965
github.com/arduino/arduino-cli/commands/upload.BurnBootloader({0xc0054daa60, 0x4c639a0}, 0xc00536a000, {0xcc4a8e8, 0xc0054daa80}, {0xcc4a8e8, 0xc0054daab0})
/home/build/commands/upload/burnbootloader.go:42 +0x545
github.com/arduino/arduino-cli/commands/daemon.(*ArduinoCoreServerImpl).BurnBootloader(0xc005368000, 0x4995d20, {0x4c78c20, 0xc0054daa60})
/home/build/commands/daemon/daemon.go:338 +0x185
2023-01-21T12:05:06.653Z daemon INFO github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1._ArduinoCoreService_BurnBootloader_Handler({0x49c7880, 0xc00033ed40}, {0x4c741b8, 0xc005368000})
/home/build/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go:
2023-01-21T12:05:06.653Z daemon INFO 1656 +0xd0
2023-01-21T12:05:06.654Z daemon INFO google.golang.org/grpc.(*Server).processStreamingRPC(0xc0002c08c0, {0x4c7f1d8, 0xc0004c0000}, 0xc0088e3680, 0xc00043ed80, 0x52bcea0, 0x0)
/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1533 +0xcdb
google.golang.org/grpc.(*Server).handleStream(0xc0002c08c0, {0x4c7f1d8, 0xc0004c0000}, 0xc0088e3680, 0x0)
/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1613 +0x9e5
google.golang.org/grpc.(*Server).serveStreams.func1.2()
/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:934 +0x98
2023-01-21T12:05:06.654Z daemon INFO created by google.golang.org/grpc.(*Server).serveStreams.func1
/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:932 +0x294
2023-01-21T12:05:06.664Z daemon INFO Daemon exited with exit code: 2.
2023-01-21T12:05:06.667Z discovery-log INFO error received
2023-01-21T12:05:06.667Z discovery-log ERROR Unexpected error occurred during the boards discovery.
2023-01-21T12:05:06.667Z discovery-log INFO received end