There have been quite a few postings about this, my car would cut out just after setting off. I traced this to the bunch of keys that I have my car ignition key on, these were so heavy that the acceleration/motion of the car was having the effect of turning the key, switching off the engine.
I have noted that of all the cars I've had, the ignition switch on this Volvo is very sensitive (bit like me)
So far I have been very pleased with this car, but then it has had the obligatory new gearbox fitted by a previous owner
Merry Xmas.........ttfn...........Alistair