socket.getfqdn deadlock

V

vvikram

Hi,

I am getting deadlocks (backtrace pasted below) after a while at,
presumably, a socket.getfqdn() call in a child process .

Fwiw: This child process is created as the result of a pyro call to a
Pyro object.

Any ideas why this is happening?

Thanks. Regards,
Vikram

---
Machine info:

Linux abcd 2.6.13-15.15-smp #1 SMP Mon Feb 26 14:11:33 UTC 2007 i686
i686 i386 GNU/Linux
SUSE LINUX 10.0 (i586)
VERSION = 10.0

----
Backtrace:

#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4014c13e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.
0
#2 0x40148e35 in _L_mutex_lock_36 () from /lib/tls/libpthread.so.0
#3 0x00000000 in ?? ()
#4 0x40831ff4 in ?? () from /lib/libnss_files.so.2
#5 0x418c1ea0 in ?? ()
#6 0x418c1e78 in ?? ()
#7 0x418c1ac4 in ?? ()
#8 0x4082bc1c in _nss_files_gethostbyname2_r () from /lib/
libnss_files.so.2
#9 0x4082bc1c in _nss_files_gethostbyname2_r () from /lib/
libnss_files.so.2
#10 0x402f4b1c in gaih_inet () from /lib/tls/libc.so.6
#11 0x402f384c in getaddrinfo () from /lib/tls/libc.so.6
#12 0x404ffa21 in setipaddr ()
from /cv/vendor/lib/python2.4/lib-dynload/_socket.so
#13 0x4050263b in socket_gethostbyaddr ()
from /cv/vendor/lib/python2.4/lib-dynload/_socket.so
 
G

Greg Copeland

Hi,

I am getting deadlocks (backtrace pasted below) after a while at,
presumably, a socket.getfqdn() call in a child process .

Fwiw: This child process is created as the result of a pyro call to a
Pyro object.

Any ideas why this is happening?


Are you sure it is not timing out, waiting for a DNS reply?

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top