I have had a problem for around 4 years and across several macs. This issue has occurred on a 2012 MacBook Pro and a 2015 iMac that was replaced twice by Apple when trying to sort out the same problem a couple of years ago.
Having recently got a MacBook pro 13” 2018, and the problem still occurring I’ve spent quite some time with Apple support trying to narrow down the cause. (The Mac was set up from scratch to try to avoid the problem being migrated if it was a user profile issue)
The problem is that around 50% of the time the machines would crash while sleeping. After some in depth investigation it seems unrelated to which apps are currently running.
On my previous iMac the solution I eventually came to was to set it to never go to sleep which avoided the problem occurring.
Having had apple support get their engineering team to investigate detailed logs, they have identified Rhino as a cause.
I have uninstalled rhino for the time being to try to confirm this is the case but after a couple of days I’ve had no crashes.
I am happy to share the logs I sent to Apple with you if that would help identify the problem? Please tell me how to transfer them to you privately.
Given the persistence of this problem I suspect others must be experiencing it as well.
I would very much appreciate a swift investigation and fix to this so that I can install and use rhino again. It is critical to our workflow.