Sorry for the vague title, but I have ran a test on a problem I had rendering when the GPU was enabled and seemed to have found a possible cause for crash during render, at least in this specific situation. Maybe others can try as well and see what it does.
Quick hardware notes: I am on an old system computer running Windows 10, Vegas version 12. It is an Intel Core 2 duo 3ghz, GeForce GTX470 video (driver 372.90), 4 gig memory, etc.
I render to MPEG2 for HD Bluray and also a Media Player I use for video demos. Source is normally AVCHD from a Canon vixia. I leave GPU turned on in preferences. This works fine for short renders (2 to 5 minutes or so) but more often than not, when rendering to longer videos, 10 minutes or more, it would crash near the end of the render. Mainconcept MPEG2 does not have a GPU option under its render settings. I only have GPU preview under preferences. If I turned this off, it would always successfully render, but with it on, it would crash.It renders and previews much faster when enabled, although I am not sure what part the GPU plays with an MPEG2 render.
I tried to think why it would get that far into the render and crash and I realized that the video card is being used for display at the same time as it is being used in some way for rendering. I obviously cannot turn my display off, but I wondered what would happen if I turned off the "DISPLAY FRAMES while Rendering". This is an option in the extended preferences. You know, where the program screen updates showing you the frames being rendered. ( I think the default is 5 frame updates). I turned this option OFF and was able to do a render twice that previously would crash.
I have not tested this extensively, but I thought maybe others who have problems of unexplained crashes during render might try this and see. Of course, you lose the ability to see the frames being rendered, but you still see the frame count and time left for render. A bit unsettling but worth it if it actually fixes my problem and allows my renders to proceed at about twice the time as just a straight CPU render.
Let me know if you test this and see any similar activity.
Thanks