Diagnosing IronPython StackOverflowException

367 views Asked by At

I have a program that essentially reads a temp sensor and writes the readings to a file in an infinite loop (i.e. keep running until I crash/exit the program). Worked great on first machine - Iron Python 2.7, MS Visual Studio 2015 and Win 7 Professional. Trying on second machine - Iron Python 2.7.6, latest version of Visual Studio 2015 and I get "Process is terminated due to StackOverflowException". Note the program will operate, but reliably halts with Stack Overflow in about 2-3minutes of operation. I have no clue on how to debug. Is this a setup issue?

Self Diagnosis: Looks like this is a question of default environment - problem exhibited when I run is Iron Python 64 bit. Changed default environment to other version and this issue went away

0

There are 0 answers