Dear Ted, To be sure, it quits sometimes, but not always? Always at trial 90? Is there something unique happening in that trial? My best guess is that the Windows kernel is killing the application because it's trying to access too much memory or otherwise triggers a kernel-caught exception (e.g. floating point exception, segmentation fault, and so on). Could that be the potential culprit? You could open the Task Manager and see memory usage during your run. It doesn't seem like it's a Python-level error, because there'd be a traceback. The other possibility is that one of the lower-level libraries (OpenGL, SDL, or something else) calls exit() at the C level, which seems pretty unlikely. Although it seems unlikely, does the VisionEgg.log file have any additional information? If that doesn't help, we might have to try more drastic debugging measures. If I were in linux or Mac OS X, I'd run "gdb python" to start Python under the GNU debugger, type "run my_script_name.py" to start and run the program. When it eventually exited, gdb would show the exit code and whether the exit was caused by a kernel exception or normally. I imagine that the equivalent is possible under Windows using the Visual Studio debugger, but I have no experience doing so. Ted Strauss wrote: > Hi Andrew, > We are experiencing a problem with our VE script, and are > wondering if you have any advice. > -- The script runs fine for a good while (20+ minutes) > -- Then exits unexpectedly and prints the normal VE exit summary. > (I'm attaching a screen shot) > -- One of the warnings in the summary describes one frame that > took a long time; this is presumably the first frame, while loading > all of our audio and video. > -- The lines above the summary are our experimental trials, it seems > to quit at 90. There are 96 trials in total. This has happened a couple > times, always quitting late in the experiment. > Any thoughts? > Thanks > Ted Strauss > > > > ------------------------------------------------------------------------ > ====================================== The Vision Egg mailing list Archives: //www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html