Deadlock fixed by capturing cs_main earlier:
Deadlock fixed by capturing cs_main earlier:

thread colx-miner: ProcessNewBlock()->CBudgetManager::NewBlock()[cs]->CBudgetManager::CheckAndRemove()->CBudgetProposal::IsValid()->IsBudgetCollateralValid()->GetTransaction()[cs_main]

thread colx-msghand: ActivateBestChain()[cs_main]->ActivateBestChainStep()->ConnectTip()->ConnectBlock()->IsBlockPayeeValid()->IsBudgetPaymentBlock()->GrabHighestCount()[cs]

ColossusCoinXT/ColossusCoinXT,ColossusCoinXT/ColossusCoinXT,ColossusCoinXT/ColossusCoinXT,ColossusCoinXT/ColossusCoinXT,ColossusCoinXT/ColossusCoinXT,ColossusCoinXT/ColossusCoinXT