Search Issue Tracker
Not Reproducible
Votes
0
Found in
2017.3.0a1
Issue ID
931075
Regression
No
Editor crash when calling RepaintImmediately followed by Close on EditorWindow (OS X)
Editor crashes when calling RepaintImmediately followed by Close on EditorWindow.
See included project for three tests, one of which crashes the editor.
The test GetWindowThenRepaintImmediatelyThenClose should crash the editor on OSX pretty consistently (it runs 30 iterations). If you insert a yield (i.e. GetWindowThenRepaintImmediatelyThenYieldThenClose) between RepaintImmediately and Close it doesn't crash.
The call stack changes from time to time, but it usually has this at the top:
#0 0x00007fff95647803 in tiny_malloc_from_free_list ()
#1 0x00007fff95646705 in szone_malloc_should_clear ()
#2 0x00000001008a2ac4 in my_calloc(_malloc_zone_t*, unsigned long, unsigned long) at /Users/salvadorj/Repositories/unity1/Runtime/Allocator/MemoryManager.cpp:313
I'm not sure what's happening, but maybe the window is being deallocated twice?
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment