Investigate possible concurrency issue in gRPC daemon during Init
#1801
Labels
topic: code
Related to content of the project itself
topic: gRPC
Related to the gRPC interface
type: imperfection
Perceived defect in any part of project
Describe the problem
Following this report:
arduino/arduino-ide#681 (comment)
it seems possible to have concurrent reads and writes in the arduino-cli core instances, in particular when the
Init
call is ongoing and another concurrent call happens (in the example above aBoardSearch
has been executed together with theInit
).To reproduce
I didn't try to reproduce it yet, but I think this is a signal of a potential problem that must be solved.
Expected behavior
The CLI must not crash
Arduino CLI version
nightly
Operating system
N/A
Operating system version
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: