Runtime error occasionally interrupts my Python script

201 Views Asked by At

I seem to be getting a Runtime error whilst running my Python script in Blackmagic Fusion.

# "The application has requested the Runtime to terminate it in an unusual way".

This does not happen every time I run the script. It only seems to pop up when I feed the Python script a heavy workload, or if I run the Python script multiple times inside of the Blackmagic Fusion compositing software, without restarting the package. I thought this might be a memory leak, but when I check the CPU memory usage, it does not seem to flinch at all.

Does anyone have any idea what might be causing this, or at least a solution of how I might start to debug the script?

Many thanks.

2

There are 2 best solutions below

0
On

if you know how to get runtime error, then run your script using pdb

0
On

Perhaps this'll help. It's apparently a common error with microsoft visual c++: http://support.microsoft.com/kb/884538