I have a not up to date testnet node, started a reindex via -reindex, go into RPC console and enter setgenerate true, which leads to a crash.
Assertion failed! src/main.cpp Line: 4283 (differs from current master, as I have some own stuff in)
Expression: "mempool transaction missing input" == 0