Search Issue Tracker

Fixed in 2019.3.X

Votes

1

Found in

2019.3.0a9

2019.3.0f6

Issue ID

1215779

Regression

Yes

[Metal] Editor crashes on MemoryManager::Deallocate when unloading scene with a specific Skybox Material

Metal

-

How to reproduce:
1. Open the attached project "case_1215779.zip"
2. Load the "BlazeSkyCore" scene
3. Load the "NewEmptyScene"
4. If the Editor did not crash repeat steps 2 and 3
-- Observe the crash

Reproducible with: 2019.3.0a9, 2019.3.2f1
Not reproducible with: 2017.4.36f1, 2018.4.17f1, 2019.2.20f1, 2019.3.0a8, 2020.1.0a22

Notes:
- the crash should occur after less than 10 attempts
- only reproducible with Metal API

First lines of the stack trace:
#0 0x007fff707ab49a in __pthread_kill
#1 0x007fff70733a1c in abort
#2 0x007fff70823d20 in turn_on_stack_logging
#3 0x007fff70823ade in malloc_report
#4 0x00000111e0b4c3 in MemoryManager::Deallocate(void*, char const*, int)
#5 0x00000111e0ba67 in MemoryManager::Deallocate(void*, MemLabelId const&, char const*, int)
#6 0x0000010f9a530c in dynamic_array<unsigned char, 0ul>::~dynamic_array()
#7 0x00000112433202 in Texture2D::DestroyTexture()
<...>

  1. Resolution Note (fix version 2019.3):

    Fixed in: 2019.3.3f1

Comments (1)

  1. GainfulSage

    Feb 05, 2020 18:12

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.