On Thu, Jan 15, 2009 at 6:57 AM, koranthala <koranth...@gmail.com> wrote: > Hi, > I have a twisted based application based on Python 2.4.3. I also > have one thread in this application. > > I found that my program crashes repeatedly after a random interval > (ranging from 10 min to 3 hr). When I say crash, it is not just that > the program dies. Rather in WinXP - a window comes mentioning that > 'Python.exe unexpectedly crashed'. > I tried putting in catching the exception by using try: except - > and logging everything. But the logging code is also not hit, i.e. > even the 'except' code is not hit. I feel that the base python > interpreter itself is crashing due to some bug in my program. > Earlier, I had put code as > try: > except: > log > At this time, my whole machine also froze. It was so slow that > one mouse movement happened after 7-8 minutes after I moved the > mouse. > > Then I modified the code to > try: > except Exception: > log > > Then, the machine no longer freezes. But, still there is no > logging of errors happening too. > > Could anyone guide me on this? I have been facing this issue for a > day, and cannot seem to solve it. > > P.S -> I am not allowed to post the code of application - so I hope > I have explained it enough.
Do you use any 3rd party extensions (DLLs) ? cheers James -- http://mail.python.org/mailman/listinfo/python-list