Skip to content

BugFix: Resolve race condition during graph visualisation init.#1350

Merged
mondus merged 1 commit into
masterfrom
bugfix_graph_vis_race
Nov 25, 2025
Merged

BugFix: Resolve race condition during graph visualisation init.#1350
mondus merged 1 commit into
masterfrom
bugfix_graph_vis_race

Conversation

@Robadob
Copy link
Copy Markdown
Member

@Robadob Robadob commented Nov 18, 2025

Missing mutex lock when a graph is first linked to visualisation.

Reported by @DavidFletcherShef in FLAMEGPU/FLAMEGPU2-docs#189 (comment)

CI failures appear to be due to GitHub outage, 500 internal server error during repo fetches.

@Robadob Robadob self-assigned this Nov 18, 2025
@Robadob Robadob added the bug label Nov 18, 2025
Copy link
Copy Markdown
Member

@ptheywood ptheywood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sensible

(I've not got the problem case to test this, and we don't have automated testing of vis)

@DavidFletcherShef
Copy link
Copy Markdown

I've tried the updated version, compiling with -DFLAMEGPU_VERSION=bugfix_graph_vis_race using rc4. It now runs without the error I was seeing before. Many thanks for the fix.

@mondus mondus merged commit 11d717c into master Nov 25, 2025
34 of 37 checks passed
@mondus mondus deleted the bugfix_graph_vis_race branch November 25, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants