[2017.1.0b3] Random crash when trying to go to Play mode

Unity randomly and rarely (once per 30 play modes) crashes when entering Play mode. No errors, nothing. Unity just closes. Log files says that it tries to open bug reporter, however it does not.

Editor.log

[00:00:00] Enlighten: Precompute started.
[PathTracer] building lightmap data asset.
[00:00:00] Enlighten: Finished 1 Layout Systems job (0.00s execute, 0.00s integrate, 0.05s wallclock)
[00:00:00] Enlighten: Finished 1 Tetrahedralize Probes job (0.00s execute, 0.00s integrate, 0.05s wallclock)
[00:00:00] Enlighten: Precompute took 0.102006 seconds.
Enlighten scene contents:   0 geometries.   0 instances.   0 systems.   0 probe groups.   0 cube maps. Scene is up-to-date.

Packing sprites:
[     62 MB ]Platform assembly: /opt/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.5/System.Numerics.dll (this message is harmless)
Platform assembly: /opt/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.5/System.Transactions.dll (this message is harmless)
Platform assembly: /opt/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.5/Mono.Data.Tds.dll (this message is harmless)
- Repacking is not required. Check took 21.624000 ms.
[     62 MB ]Reloading assemblies for play mode.
Begin MonoManager ReloadAssembly
Receiving unhandled NULL exception
#0  0x007f317909aac0 in funlockfile
#1  0x007f3154af7a00 in mono_domain_free
#2  0x007f3154af7a50 in mono_unity_liveness_calculation_end
#3  0x007f3154af7b20 in mono_threads_attach_tools_thread
#4  0x007f3154af7b60 in GC_inner_start_routine
#5  0x007f3154af7bb0 in GC_call_with_stack_base
#6  0x007f3154af7be0 in start_thread
#7  0x007f3154af7c80 in clone
Launching bug reporter
pp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent

System info

System:    Host: kask-PC Kernel: 4.4.0-77-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3) dm: mdm
           Distro: Linux Mint 18.1 Serena
Machine:   Mobo: ASRock model: H87 Performance
           Bios: American Megatrends v: P2.10 date: 05/06/2014
CPU:       Quad core Intel Core i5-4670K (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27190
           clock speeds: min/max: 800/4200 MHz 1: 4193 MHz 2: 4199 MHz
           3: 4070 MHz 4: 4188 MHz
Graphics:  Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0 chip-ID: 8086:0412
           Card-2: NVIDIA Device 1b81 bus-ID: 01:00.0 chip-ID: 10de:1b81
           Display Server: X.Org 1.18.4 drivers: nvidia,intel (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz, 1680x1050@59.88hz
           GLX Renderer: GeForce GTX 1070/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 375.39 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:8c20
           Card-2 NVIDIA Device 10f0
           driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:10f0
           Card-3 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0 chip-ID: 8086:0c0c
           Card-4 Samson GoMic compact condenser mic
           driver: USB Audio usb-ID: 003-002 chip-ID: 17a0:0305
           Sound: Advanced Linux Sound Architecture v: k4.4.0-77-generic
Network:   Card: Intel Ethernet Connection I217-V
           driver: e1000e v: 3.2.6-k port: f080
           bus-ID: 00:19.0 chip-ID: 8086:153b
           IF: enp0s25 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (13.4% used)
           ID-1: /dev/sda model: Samsung_SSD_750 size: 500.1GB serial: S36SNWAH704194B temp: 0C
Partition: ID-1: / size: 74G used: 34G (49%) fs: ext4 dev: /dev/sda6
           ID-2: swap-1 size: 8.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 40.0C mobo: N/A gpu: 0.0:40C
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active apt sources in file: /etc/apt/sources.list.d/dotnetdev.list
           deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/mono-official.list
           deb http://download.mono-project.com/repo/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/nodesource.list
           deb https://deb.nodesource.com/node_7.x xenial main
           deb-src https://deb.nodesource.com/node_7.x xenial main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://ftp.acc.umu.se/mirror/linuxmint.com/packages serena main upstream import backport
           deb http://ubuntu.trumpetti.atm.tut.fi/ubuntu xenial main restricted universe multiverse
           deb http://ubuntu.trumpetti.atm.tut.fi/ubuntu xenial-updates main restricted universe multiverse
           deb http://ubuntu.trumpetti.atm.tut.fi/ubuntu xenial-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ xenial partner
           Active apt sources in file: /etc/apt/sources.list.d/steam.list
           deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
           deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
           Active apt sources in file: /etc/apt/sources.list.d/vscode.list
           deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
Info:      Processes: 229 Uptime: 2:08 Memory: 4831.6/15831.1MB
           Init: systemd v: 229 runlevel: 5 default: 2 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461 running in gnome-terminal-) inxi: 2.2.35

Mono

kask@kask-PC ~ $ mono --version
Mono JIT compiler version 5.0.0 (Stable 5.0.0.100/9667aa6 Thu May 11 14:33:04 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen (concurrent by default)

the problem seems to start in line 15 after reloading the assemblies MonoManager, try to delete the library folder and see if those assemblies are the one causing the problem, it often solves my issues.

This happens in Unity 2017.1.0f3 as well. It’s quite frequent however - every 15 minutes or so.