Search Issue Tracker

Fixed in 2020.1

Fixed in 2018.4, 2019.2, 2019.3

Votes

0

Found in

2019.2.0a4

2019.2.7f2

2019.3

2020.1

Issue ID

1194176

Regression

Yes

Editor crashes at RtlEnterCriticalSection when the assembly is reloaded

Mono

-

Steps to reproduce:
1. Download and open the attached project
2. Create a new script

Results: Editor crashes when on assembly is reloaded and System.Diagnostics.Process.GetCurrentProcess().MainModule is called.

Reproduced with: 2020.1.0a9, 2019.3.0b8, 2019.2.11f1
Not reproducible with: 2019.2.0a3, 2018.4.12f1
Regression introduced in: 2019.2.0a4

========== OUTPUTTING STACK TRACE ==================

0x00007FF957E3B40D (ntdll) RtlEnterCriticalSection
0x00007FF907DD6878 (mono-2.0-bdwgc) [c:\users\builduser\builds\ypt7xzqf\0\vm\mono\mono\metadata\class.c:6645] mono_bounded_array_class_get
0x00007FF907E533F0 (mono-2.0-bdwgc) [c:\users\builduser\builds\ypt7xzqf\0\vm\mono\mono\metadata\object.c:5993] mono_array_new_checked
0x00007FF907E63896 (mono-2.0-bdwgc) [c:\users\builduser\builds\ypt7xzqf\0\vm\mono\mono\metadata\w32process.c:588] ves_icall_System_Diagnostics_Process_GetModules_internal
0x00000219FFB3DEB9 (Mono JIT Code) (wrapper managed-to-native) System.Diagnostics.Process:GetModules_internal (System.Diagnostics.Process,intptr)
0x00000219FFB3DBF3 (Mono JIT Code) System.Diagnostics.Process:GetModules_internal (Microsoft.Win32.SafeHandles.SafeProcessHandle)
0x00000219FFB3B34B (Mono JIT Code) System.Diagnostics.Process:get_Modules ()
0x00000219FFB3B083 (Mono JIT Code) System.Diagnostics.Process:get_MainModule ()
<...>

========== END OF STACKTRACE ===========

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.