Search Issue Tracker

Active

Votes

0

Found in [Package]

2.5.1 - Collections

Issue ID

ECSB-1354

Regression

No

Crash on block_locate_free when setting a NativeHashMap value inside a job

Package: Unity Native Collections

-

How to reproduce:
1. Open the attached "CrashRepro" project
2. Open the “Assets/Scenes/MainScene/MainScene.unity“ Scene
2. Enter Play Mode

Reproducible with: 2.4.3 (6000.0.10f1), 2.5.1 (6000.0.23f1)
Can’t test with: 2021.3.44f1, 2022.3.50f1 (errors in the Console)

Reproducible on: macOS 14.5 Sonoma (Intel), Windows 10 (reported by user)
Not reproducible on: No other environment tested

First few lines of stack trace:
0x00007FFE6F48E6CC (Unity) block_locate_free
0x00007FFE6F48EE72 (Unity) tlsf_memalign
0x00007FFE6CFD4D8B (Unity) DynamicHeapAllocator::Allocate
0x00007FFE6CFE3E85 (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007FFE6CFD55BD (Unity) MemoryManager::Allocate
0x00007FFE6CFDFF6E (Unity) malloc_internal

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.