It could also be a memory shortage problem. 4GB is not a lot, depending on the complexity of your project. If this is the case see the response by “shotcut” here:
This has been resolved. It was probably a (lack of sufficient) memory problem.
The OP sent me his project - a very large number of files totaling over 10GB of space. I managed to get Shotcut to export it on my Windows 10 desktop that has an SSD, but only 8GB of memory. At several points it got very close to hitting the memory limit.
I started Shotcut and opened the MLT file and then ran the export. I did this immediately after a reboot and made sure that no other applications were running. It …