I've seen this happen, usually when right-clicking something in PP 2.40b1 like the timeline graphs. It doesn't close PP, it just displays the "access violation" error and doesn't open the context menu. Right clicking something else usually "corrects" it, so that the context menu appears again.

I can't reproduce it on command, it's seemingly random.