Search Issue Tracker

Duplicate

Votes

0

Found in

2019.4

2020.1

2020.1.5f1

2020.2

2021.1

Issue ID

1278006

Regression

No

[Mac] Shader Compiler crash on GfxDeviceMetalBase::CommonDrawSetup when opening a project after WWise integration

Shader System

-

How to reproduce:
1. Open the project attached by the user

Reproducible with: 2019.4.17f1, 2020.1.11f1, 2020.2.0b9, 2021.1.0a5

First lines of the stacktrace:
Thread 0x700008f1a000 may have been prematurely finalized
#0 0x0000010a2f229d in Socket::WaitForAvailableRecvData(long)
Thread 0x700008f1a000 may have been prematurely finalized
#1 0x00700008f197e0 in (Unknown)
Thread 0x700008f1a000 may have been prematurely finalized
#2 0x0000010a2f2189 in SocketStream::SendAll(void const*, unsigned long, long)
Thread 0x700008f1a000 may have been prematurely finalized
#3 0x0000010c2b2cab in shadercompiler::WriteLine(ShaderCompilerConnection&, core::basic_string<char, core::StringStorageDefault<char> > const&)

Thread 0x70000bd67000 may have been prematurely finalized
#0 0x007fff6e8fe5ad in pthread_mutex_lock
Thread 0x70000bd67000 may have been prematurely finalized
#1 0x0000010b6a6111 in CompileKernelVariantJobForEach(KernelCompileJobData*, unsigned int)
Thread 0x70000bd67000 may have been prematurely finalized
#2 0x0000010a328dd0 in JobQueue::Exec(JobInfo*, long long, int, bool)
Thread 0x70000bd67000 may have been prematurely finalized
#3 0x0000010a3293f3 in JobQueue::Steal(JobGroup*, JobInfo*, long long, int, bool, bool)

Thread 0x7000029d7000 may have been prematurely finalized
#0 0x0000010e00d5fb in GfxDeviceMetalBase::CommonDrawSetup(VertexDeclarationMetal*, GfxBuffer* const*, unsigned int const*, int, GfxPrimitiveType, bool)
Thread 0x7000029d7000 may have been prematurely finalized
#1 0x0000010e015ba7 in non-virtual thunk to GfxDeviceMetalBase::DrawBufferRangesPlatform(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned long, int)
Thread 0x7000029d7000 may have been prematurely finalized
#2 0x0000010c3440c9 in SinglePassStereoSupportExt::DrawBuffersStereo(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned long)
Thread 0x7000029d7000 may have been prematurely finalized
#3 0x0000010e00daa5 in GfxDeviceMetalBase::DrawBuffers(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*)

Notes:
- Doesn't reproduce on Windows
- Doesn't happen with any WWise project and we currently don't know what specifically has to happen to trigger this
- Tested on 10.15.6

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.