Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2019.1.0a1

2019.2.0a1

2019.2.0f1

2019.3.0a1

Issue ID

1173626

Regression

No

Editor crashes on domain unload when a thread is throwing an exception at the same time

Mono

-

Steps to reproduce:
1. Download 1173626_repro.zip and open "Parlour" scene
2. Enter Play mode
3. Exit Play mode
4. Repeat 2-3 steps 5-15 time

Results: Editor crashes. The crash happens when calling UdpClient.Receive() in a thread

Reproduced with: 2019.3.0a12, 2019.2.1f1, 2019.1.14f1, 2018.4.6f1, 2017.4.30f1

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

RtlLookupFunctionEntry returned NULL function. Aborting stack walk.
0x00007FFDF74F5110 (mono-2.0-bdwgc) [c:\users\builduser\builds\3qty3kto\0\vm\mono\mono\metadata\threads.c:4801] self_interrupt_thread
<Missing stacktrace information>

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

  1. Resolution Note:

    Responded to user with work around for their issue. The primary source of the crash was that a separate thread was firing an exception every tick but was being squashed by a try/catch and therefore not breaking out of the loop. This would cause the subsequent domain unload to fail when it collided with the thread that was spamming exceptions.

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.