When you start a program some of the scripts etc it needs to function properly, it allocates a stack of memory for calculations, variables and other data it needs.
And for a multitude of reasons it can exceed the allocated memory slots so an overflow occurs.
As a result it tries to use another location and that usually kicks off other problems
Line 0 means its gone pear shaped from the get go, from the very first line of code !