I’m using -txindex in my normal environment, when using payment requests without the client running, the client is started without any parameters and detects the missing -txindex and asks me Do you want to rebuild the block database now?
answering no here crashes the client.
https://github.com/bitcoin/bitcoin/blob/master/src/init.cpp#L834 @sipa Can you check that part of the code, as most of it was done by you :).
Edit: Error is on Win7 x64 and it’s a BEX (Buffer Overflow Exception).