Factorio will crash if you delete the mined entity In the callback for the onrobotpremined event. I'm attaching a mod to demonstrate the bug; just start a new game with this and Factorio should crash.
Normally I'm reticent to report issues caused by my modding mistakes, but Rseding91 advocated reporting crashes regardless of cause. (in case you're wondering, I was trying to do things like swap out certain resources with other types when mined sufficiently, or conditionally prevent the mining from yielding resources)
[0.11.22] Crash deleting mined entity in onrobotpremined
Re: [0.11.22] Crash deleting mined entity in onrobotpremined
Thx for the report, it is fixed for 0.12 now.