Skip to content

Investigate why bincode deserialize is not threadsafe #1395

Closed
AztecProtocol/aztec-packages
#20873

Description

@ludamad

Caused the browser build to segfault
(However, given the lack of debugging tools we have for WASM, and the fact that it should not be just a WASM build issue, recommend debugging as below)

steps to fix:

  • reintroduce parallel_for in PrivateExecutionSteps::parse(std::vector<PrivateExecutionStepRaw>&& steps)
for (size_t i = 0; i < steps.size(); i++) {
    ...
}

=>

parallel_for(steps.size(), [&](size_t i) {
    ...
});
  • debug using cmake --preset tsan to instrument the code. This should reveal the offending line

Activity

  1. added
    audit
    on Jul 4, 2025
  2. removed
    audit
    on Oct 26, 2025
  3. added a commit that references this issue on Feb 25, 2026
    fd54d66
  4. ledwards2225 commented on Mar 2, 2026

    @ledwards2225

    handled. (in part by moving to msgpack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions