OK, I've got a very strange situation here. I've got a piece of code that runs fine when doing a javaw -c jython.jar org.python.util.jython mycode.py from the cmd shell. However, when I run the exact same file with the exact same interpreter and jython jar via pydev/eclipse, it runs fine the first time and then every time after that it crashes. However, if I run the program via command line again, it resets the situation somehow and pydev will run the code fine once. After that, it'll crash every time again.
I'm totally stumped. Anyone else have any ideas?
More info: this only occurs in 64 bit versions of the JRE and JDK (tried 1.6.0_13 and 19). 32 bit jre6 works fine.
If it's crashing, it's a java virtual machine bug (there's not much pydev can do about it). It should be reported to the java folks (usually on a crash java will create a dump with lots of info they can use to analyze it).