So what do you have at 5:01:21 that is causing the program to crash?
When I create a project, I always do it in segments ,never a full blown project that is 10 minutes or longer. I add an item or two (video,audio, transition, etc) and to a test render before adding more. That way I can immediately see what is causing the problem. Smaller segments that have rendered without problems, can easily be "merged" for the final product.
Also using videos from different devices often cause problems since they may have different properties (such as variable frame rates, etc) whci the program may not accept. This problem exists for other video programs as well.
I don't understand what Photo Edit is supposed to do