You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Use evdns in a 64-bit environment
2. In certain cases, an exception may be thrown wherein id is overflowed
3. The call will fail with above exception
What is the expected output? What do you see instead?
The call is expected to succeed, but instead fails.
What version of the product are you using? On what operating system?
pyevent SVN - using 64-bit Linux.
Please provide any additional information below.
The bug is due to an assumption in the pyrex evdns file where id is assumed to
never overflow an int. On 64-bit platforms, this assumption fails, as ints are
still only 32-bits wide (and id returns the address of the object). The
enclosed patch should resolve the issue by changing the type to a long int,
which will be the necessary 64 bits on a 64-bit platform.
Original issue reported on code.google.com by [email protected] on 31 Aug 2010 at 2:17
Original issue reported on code.google.com by
[email protected]
on 31 Aug 2010 at 2:17Attachments:
The text was updated successfully, but these errors were encountered: