Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Investigate possible concurrency issue in gRPC daemon during Init #1801

Closed
Assignees
Labels
topic: codeRelated to content of the project itself topic: gRPCRelated to the gRPC interface type: imperfectionPerceived defect in any part of project
@cmaglie

Description

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 a BoardSearch has been executed together with the Init).

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

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itself topic: gRPCRelated to the gRPC interface type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /