Skip to content

fix:Array3D iterator bug#2429

Merged
rprospero merged 1 commit intodevelop2from
array_3d_fix
May 8, 2026
Merged

fix:Array3D iterator bug#2429
rprospero merged 1 commit intodevelop2from
array_3d_fix

Conversation

@rprospero
Copy link
Copy Markdown
Contributor

I tracked down the source of my Array3D issues. It is a legitimate bug, but it only gets triggered when performing a parallel iteration. Even then, it depends on how TBB decides to split the work. On most machines, TBB splits into a few different threads on the array's Z-axis, so the bug isn't triggered. On my machine, for whatever reason, TBB decided to split into a thousand different threads that didn't even respect the Y-axis boundaries, so it created the weird conditions where the bug could be triggered.

The good news is that my testing mostly shows that this is a crash-to-desktop style bug, not a silently-produce-wrong-data bug, so I am probably the only person who ever experienced it.

@rprospero rprospero merged commit 66c7735 into develop2 May 8, 2026
9 checks passed
@rprospero rprospero deleted the array_3d_fix branch May 8, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants