Python and pywin32 don't impose any time limits for timeouts and I can't
think of what could cause this other than (say) an exception handler in
your script that ignores exceptions and terminates the process. Even if
Python actually crashed I'd expect Windows to show the "app crashed"
dialog. If you have MSVC you could try running the python process under
it to see if it reports anything strange.
Mark
On 24/04/2012 8:09 AM, Deniz Pelvan wrote:
Hello guys,I am having trouble with the Python interpreter crashing
silently (no exceptions or errors thrown) when I make a call to a
very CPU-intensive method in my COM/ATL component using Pywin32. The
method is an FFT analysis for audio files and hits about 25% CPU on a
single core and runs for about 1 minutes. I have tested the COM
method intensively via normal win32 applications and there are no
problems with it (I can run the same method over and over again 1000s
of times in a win32 app).- Also the same Python script (with a call
to this COM method) will run successfully on different machines and
will fail at the same machine only randomly (i.e. on some machines,
it never fails, while on others, it has ~50% failure rate). - This
specific method is the most CPU-intensive one in the COM component
and other methods do not fail on any of the machines. Because of
this, I think the problem might have something to do with either the
CPU usage or a timeout feature on Python or pywin32. Are there any
tools that would help me narrow down the cause or maybe increase the
CPU/time limits for Python/PyWin32? I haven't seen anything in the
documentation that'd help.Thanks in advanceDeniz Pelvan
_______________________________________________ python-win32 mailing
list python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32