-
Notifications
You must be signed in to change notification settings - Fork 198
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
ConcurrentModificationException in LaunchBarManager.storeActiveDescriptor() #262
Labels
debug
The debug components of CDT, anything to do with running or debugging the target.
Milestone
Comments
trancexpress
added a commit
to trancexpress/cdt
that referenced
this issue
Jan 27, 2023
This change synchronizes access to LaunchBarManager.descriptors, to avoid a ConcurrentModificationException when adding descriptors for 2 launches at the same time. Fixes: eclipse-cdt#262
trancexpress
added a commit
to trancexpress/cdt
that referenced
this issue
Jan 27, 2023
This change synchronizes access to LaunchBarManager.descriptors, to avoid a ConcurrentModificationException when adding descriptors for 2 launches at the same time. Fixes: eclipse-cdt#262
jonahgraham
added
the
debug
The debug components of CDT, anything to do with running or debugging the target.
label
Jan 30, 2023
jonahgraham
pushed a commit
that referenced
this issue
Feb 4, 2023
This change synchronizes access to LaunchBarManager.descriptors, to avoid a ConcurrentModificationException when adding descriptors for 2 launches at the same time. Fixes: #262
@trancexpress I merged the change now, if you want to cleanup that code further I would be happy to review such changes too. |
trancexpress
added a commit
to trancexpress/cdt
that referenced
this issue
Feb 6, 2023
This change makes LaunchBarManager.descriptors a synchronized map, slightly reducing the extra code and complexity added for eclipse-cdt#262. Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
jonahgraham
pushed a commit
that referenced
this issue
Feb 6, 2023
This change makes LaunchBarManager.descriptors a synchronized map, slightly reducing the extra code and complexity added for #262. Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
During our ARTs, we encountered the following CME:
The above is triggered from one of our plug-ins, while creating a launch configuration (and saving it).
If I debug the respective test, I see also a job is trying to change the container in question:
I can't reproduce the race conditions itself though.
Expected behavior
No CME occurrs.
The text was updated successfully, but these errors were encountered: