I am running a Windows program through Wine (i.e.,
wine example.exe). The program (or, more likely, Wine) has the funny behavior that instead of cleanly exiting when I close the application, it throws a read access exception; my terminal reads:
wine: Unhandled page fault on read access to 0x00000018 at address 0x7f7969ea (thread 0009), starting debugger...
As a result, the program doesn't exit cleanly and I have to Control-C in the terminal or
kill -9 it to close the program.
Question: Is there a way to have the wine process exit whenever there is an unhandled page fault, instead of starting the debugger as the terminal output suggests? (An aside: the debugger doesn't actually start; there is a subsequent message complaining about errors starting the wine debugger.)