[pypy-issue] [issue1430] Memory corruption on socket.gethostbyname_ex

2013-03-31 Thread Armin Rigo
Armin Rigo added the comment: How about fixing the XXXes? Grep for USE_GETHOSTBYNAME_LOCK and USE_GETADDRINFO_LOCK in Module/socketmodule.c from CPython. -- nosy: +arigo PyPy bug tracker __

[pypy-issue] [issue1430] Memory corruption on socket.gethostbyname_ex

2013-03-22 Thread Vasily Evseenko
Vasily Evseenko added the comment: Thanks a lot! PyPy bug tracker ___ pypy-issue mailing list pypy-issue@python.org http://mail.python

[pypy-issue] [issue1430] Memory corruption on socket.gethostbyname_ex

2013-03-22 Thread Brian Kearns
Brian Kearns added the comment: try socket.getaddrinfo? PyPy bug tracker ___ pypy-issue mailing list pypy-issue@python.org http://mail

[pypy-issue] [issue1430] Memory corruption on socket.gethostbyname_ex

2013-03-22 Thread Vasily Evseenko
Vasily Evseenko added the comment: Are there any way to convert DNS name to list of ip-addresses without external locks on PyPy? PyPy bug tracker

[pypy-issue] [issue1430] Memory corruption on socket.gethostbyname_ex

2013-03-22 Thread Brian Kearns
Brian Kearns added the comment: this is known -- documented in XXX comments in rpython/rlib/rsocket.py. -- nosy: +bdk status: unread -> chatting PyPy bug tracker ___

[pypy-issue] [issue1430] Memory corruption on socket.gethostbyname_ex

2013-03-22 Thread Vasily Evseenko
New submission from Vasily Evseenko : There are some memory corruption while calling socket.gethostbyname_ex from the thread while other thread executes JIT'ed code: In such case socket.gethostbyname_ex returns random entries from /etc/hosts instead of DNS lookup. Notes from dev-list: --- - it r