[ros-bugs] [Bug 1255] msvcrt 's _CIfmod crashes python 2.3.5 and ReactOS

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Fri Jul 11 02:33:23 CEST 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=1255





--- Comment #16 from Goplat <mrnobo1024 at yahoo.com>  2008-07-11 02:33:21 CET ---
As for why python hangs when the test fails: This is caused by a bug in
lib\sdk\crt\mem\i386\memchr_asm.s. "repne scasb" doesn't affect ZF when ecx=0,
so memchr(..., ..., 0) will not always return NULL like it should. This puts
python's file_readlines into an infinite loop.

Putting something to clear ZF (e.g. "test %esp,%esp") before it will fix that
problem.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Ros-bugs mailing list