I’ve got a testnet wallet that causes this assertion failure when I turn on CPU mining:
0Assertion failed: ("mempool transaction missing input" == 0), function CreateNewBlock, file main.cpp, line 4233.
I’m guessing it is a no-longer-valid-because-of-a-re-org transaction, but the wallet code shouldn’t be adding invalid transactions to the memory pool.