Skip to content

Fatal Crash/Panic in map/ordered_map.rs:225 #4493

@KieranP

Description

@KieranP

Describe the bug

The application panicked (crashed).
Message:  Object already borrowed: BorrowMutError
Location: core/engine/src/builtins/map/ordered_map.rs:225
The application panicked (crashed).
Message:  Object already borrowed: BorrowMutError
Location: core/engine/src/builtins/map/ordered_map.rs:225
The application panicked (crashed).
Message:  panic in a destructor during cleanup
Location: library/core/src/panicking.rs:233
thread caused non-unwinding panic. aborting.
zsh: abort      boa -m play.js

To Reproduce

(assuming git and typescript are installed)

git clone https://github.com/KieranP/Game-Of-Life-Implementations.git
cd typescript
tsc
boa -m play.js

Expected behavior

No crash

Build environment (please complete the following information):

  • OS: macOS 26.0.1
  • Boa Version: 0.21.0
  • Target triple: (used precompiled binary from homebrew)
  • Rustc version: (used precompiled binary from homebrew)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions