The randomness likely comes from the Chance listed on all trait triggers. If a die roll of 100 exceeds the chance, the conditions are not checked.
Here's the modified EDCT. It should help you get past any persistent crash of its kind.
There are also two more versions inside the file, if you or anyone else would like to help hunt down the buggy trigger(s). These (edct_100triggers and edct_no100triggers) have all chances for triggers upped to 100%, so that the game will act consistently instead of randomly like you are currently experiencing. One has all triggers enabled, the other has them all disabled.
The procedure is to enable/disable chunks of/individual triggers and see if the game still/again/no longer crashes and bracket down to the faulty one(s). Report the findings so not everyone needs to check the same ones. As the game takes a while to load and we have more than 20000(!) triggers, this is a lot of work.
Bookmarks