And it's a bit hackish... I hope someone has a better design for the callback
I detected db corruption when building a UTXO db on regtest with 0.14.2 (generate 100) and then exit on ShutdownRequested() in CCoinsViewDB::Upgrade()
* exit on master + the work above
achow101: note that the last time this came up, it was an issue of: memcpy(foo, bar, 0), where bar was empty. Valgrind won't report it because the out-of-bounds memory isn't actually copied, but it's still a bad an idea to  an empty container.
I'm pretty sure I don't have anything like that in my changes
jonasschnelli: i recently fixed a bug that could cause that
sipa: already merged? Then I guess I should retest
jonasschnelli: a few days ago
Not sure if the approach of a "c" keypress in splashscreen to abort the UTXO-set upgrade makes sense..
Though adding buttons on splashscreen is – with the current design – cumbersome