Search Issue Tracker

Fixed in 2020.2.X

Votes

0

Found in

2020.2.0a19

Issue ID

1269988

Regression

Yes

Crash on saving data from Profiler ProfilerDriver_CUSTOM_SaveProfile(ScriptingBackendNativeStringPtrOpaque

Profiling

-

Crash on saving data from Profiler ProfilerDriver_CUSTOM_SaveProfile(ScriptingBackendNativeStringPtrOpaque*)

To repro:
0. Open sampleproject attached, open scene NetCube.
1. Start Deep profiling of Editor.
2. Enter playmode.
3. Wait for some time, exit playmode and save profiled data.

Actual result: Editor crashes with stack trace:

Thread 0 Crashed:: tid_307
0 ??? 0x00007fff6a6bceb6 0 + 140734978838198
1 libmonobdwgc-2.0.dylib 0x00000001390ce9dd mono_sigsegv_signal_handler + 443
2 com.unity3d.UnityEditor5.x 0x000000010a34d258 burst_signal_handler(int, __siginfo*, void*) + 232
3 ??? 0x00007fff6a76e5fd 0 + 140734979565053
4 com.apple.CoreFoundation 000000000000000000 0 + 0
5 libsystem_c.dylib 0x00007fff6a607891 __vfprintf + 5379
6 libsystem_c.dylib 0x00007fff6a62dad3 __v2printf + 475
7 libsystem_c.dylib 0x00007fff6a613ee7 _vsnprintf + 417
8 libsystem_c.dylib 0x00007fff6a613f90 vsnprintf + 68
9 com.unity3d.UnityEditor5.x 0x000000010a831ae6 VFormat(char const*, __va_list_tag*) + 86
10 com.unity3d.UnityEditor5.x 0x000000010a831c33 Format(char const*, ...) + 147
11 com.unity3d.UnityEditor5.x 0x000000010c9f8143 profiling::ProfilerSession::GenerateLoadSaveError(core::basic_string<char, core::StringStorageDefault<char> > const&, bool, core::basic_string<char, core::StringStorageDefault<char> >) + 51
12 com.unity3d.UnityEditor5.x 0x000000010c9f9005 profiling::ProfilerSession::SaveToFile(core::basic_string<char, core::StringStorageDefault<char> > const&) + 581
13 com.unity3d.UnityEditor5.x 0x000000010cb2ebf6 ProfilerDriver_CUSTOM_SaveProfile(ScriptingBackendNativeStringPtrOpaque*) + 214
14 ???

Reproduces in 2020.2.0a19

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.