<div class="gmail_quote">2009/12/16 Josh Albrecht <span dir="ltr">&lt;<a href="mailto:thejash@gmail.com">thejash@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks.  I changed the way I was installing the reactor, but it had no effect.<br>
<br>
I did not realize that Windows 7 was unsupported.  However, I&#39;ve also<br>
reproduced this bug on windows XP, so I think it&#39;s a larger issue,<br>
unfortunately.<br></blockquote><div><br>I also reproduce the problem consistently with a custom build of python2.5.1 with Visual Studio 8.<br>It never occurs in non-optimized build, but I was able to include debug info and attach the debugger.<br>
<br>The errors are really strange: it seems that a register randomly changes its value to 0x10<br><br>python25.dll!PyEval_CallObjectWithKeywords<br>        (_object * func=0x00fa3968, _object * arg=tuple(), _object * kw=0x00000010) <br>
python25.dll!PyInstance_New<br>        (_object * klass=0x00f516c0, _object * arg=tuple(), _object * kw=0x00000010)<br>python25.dll!PyObject_Call<br>        (_object * func=0x00f516c0, _object * arg=tuple(), _object * kw=0x00000000)<br>
python25.dll!do_call<br>        (_object * func=0x00f516c0, _object * * * pp_stack=0x0021e6b0, int na=2, int nk=0)<br><br>See how the &quot;kw=0x0&quot; becomes &quot;kw=0x10&quot; in inner frames.<br><br>I&#39;ve also seen crashes in PyObject_GenericGetAttr, where the register which holds the __mro__ contains 0x10, when the debugger still shows ((PyTupleObject*)(obj-&gt;ob_type-&gt;tp_mro))-&gt;ob_item == 5<br>
<br>Very very strange things are happening. Is it possible that some hardware interruption does not restore the registers correctly?<br>I tried to modify the python intepreter, add printf statements... The crash occurs at several places (sometimes it disappears completely), but all crashes are similar: some register value becomes 0x10...<br>
I can perform other tests if someone has an idea.<br><br>Note that in a non-optimized debug build, one of the Echoer stops working, after exactly 1000 datagrams have been received (and no, it&#39;s not related to sys.setrecursionlimit)<br>
 <br></div></div>-- <br>Amaury Forgeot d&#39;Arc<br>