There's a known issue with newer Nvidia drivers and certain older Nvidia cards that causes MAME to crash. I really doubt there's any way that MAME could be doing something to crash the computer, so all signs point to a bug in the latest Nvidia video drivers. Someone should probably file a bug report over on the Nvidia site.
The only known solution is to install older drivers.