Search Issue Tracker

Fix In Review

Fix In Review for 6000.5.0a8

Fixed in 6000.4.0b11, 6000.5.0a8

Votes

0

Found in

6000.4.0b9

6000.5.0a7

Issue ID

UUM-131632

Regression

No

Crash: disposing ECB after exception during playback may free dynamic buffers which are assigned to entities

Core Runtime

-

How to reproduce:
1. Open the attached “IN-128408” project
2. Open the “InMap” scene
3. Enter Play mode
4. Exit Play mode
5. Observe the crash

Reproducible with: 2023.3.0b1, 6000.0.65f1, 6000.3.3f1, 6000.4.0b3
Could not test with: 6000.5.0a4 (could not solve package errors)

Reproduced on: Windows 11
Not reproduced on: No other environment tested

First few lines of the stack trace when using 6.3 and 6.4:
0x00007FFF19A72807 (Unity) tlsf_free
0x00007FFF1756D9DF (Unity) DynamicHeapAllocator::Deallocate
0x00007FFF17567D12 (Unity) DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate
0x00007FFF175776AF (Unity) MemoryManager::TryDeallocateWithLabel
0x00007FFF17578E33 (Unity) free_alloc_internal

6000.0.65f1:
0x00007FFE8055F4EB (Unity) MemoryProfiler::GetAllocationRoot
0x00007FFE8099C8CC (Unity) MemoryProfiler::UnregisterAllocation
0x00007FFE8055A0C4 (Unity) MemoryManager::RegisterDeallocation
0x00007FFE8055BD08 (Unity) MemoryManager::TryDeallocateWithLabel
0x00007FFE8055D543 (Unity) free_alloc_internal

  1. Resolution Note:

    Fixed in 6000.5.0a8

  2. Resolution Note (fix version 6000.5.0a8):

    Fixed in 6000.5.0a8

  3. Resolution Note (fix version 6000.4.0b11):

    Fixed in 6000.4.0b11

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.