threading IOError

Gabriel Genellina gagenellina at softlab.com.ar
Tue Dec 13 12:13:01 EST 2005


Hi

I'm using Python 2.4.2 on Windows 98 SE.

In a program with several threads, sometimes (I cant determine exactly
when or why) one thread dies with the following traceback:

12/13/05 02:17:47 (WatchDog       ) Unhandled thread exception
Traceback (most recent call last):
  File "E:\prog\pop3\TaskScheduler.py", line 60, in run
    self.finished.wait(self.interval)
  File "C:\Apps\Python\Lib\threading.py", line 348, in wait
    self.__cond.wait(timeout)
  File "C:\Apps\Python\Lib\threading.py", line 218, in wait
    remaining = endtime - _time()
IOError: [Errno 2] No such file or directory

The error appears to be inside the time module, and I can't explain the
IOError there.

Maybe this crash is related too: sometimes, the full program crashes
with an Invalid Page Fault with the following info:

PYTHONW provocó un error de página no válida en el módulo
PYTHON24.DLL de 016f:1e0ab51f.
Registros:
EAX=1e19d1af CS=016f EIP=1e0ab51f EFLGS=00010206
EBX=00841f80 SS=0177 ESP=0071e6ec EBP=00000000
ECX=73962000 DS=0177 ESI=1e06a1b0 FS=1a07
EDX=1e19d1b0 ES=0177 EDI=00000000 GS=0000

Any ideas?

Gabriel Genellina
Softlab SRL




More information about the Python-list mailing list