Search Issue Tracker

Fixed

Fixed in 1.1.0-pre.2

Votes

0

Found in [Package]

1.1.0-pre.1

Issue ID

PROFB-156

Regression

Yes

Crash on tlsf_memalign when loading a memory snapshot with the Memory profiler

Package: Memory Profiler

-

Reproduction steps:
1. Open the attached project “SnapshotCrash”
2. Open Memory Profiler (Window > Analysis > Memory Profiler)
3. In the Memory Profiler window select the “UnityAnimationURPExamples_2023-05-31_15-15-17.snap” memory snapshot (last on the list)

Expected result: The snapshot of memory is opened
Actual result: Editor crashes

Reproducible with: 0.4.0-preview.1 (2021.3.27f1), 1.1.0-pre.1 (2022.3.2f1, 2023.1.0f1, 2023.2.0a18)
Not reproducible with: 0.2.10-preview.1 (2021.3.27f1)

Reproducible on: Windows 10
Not reproducible on: Intel macOS 13.3

0x00007ff73fb52071 (Unity) tlsf_memalign
0x00007ff73d93db49 (Unity) DynamicHeapAllocator::Allocate
0x00007ff73d94b38c (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007ff73d93e2d1 (Unity) MemoryManager::Allocate

  1. Resolution Note (fix version 1.1.0-pre.2):

    No longer crashes on reading large managed heap

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.