(gdb) backtrace #0 0xb7fe8cdf in _dl_debug_state () from /lib/ld-linux.so.2 #1 0xb7febb69 in _dl_make_stack_executable () from /lib/ld-linux.so.2 #2 0xb7fe829e in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #3 0xb7fec2ec in _dl_make_stack_executable () from /lib/ld-linux.so.2 #4 0xb77b7e2e in _dl_mcount_wrapper_check () from /lib/libc.so.6 #5 0xb7fe829e in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #6 0xb77b7d9a in _dl_mcount_wrapper_check () from /lib/libc.so.6 #7 0xb77b7f14 in __libc_dlopen_mode () from /lib/libc.so.6 #8 0xb77961c8 in __nss_lookup_function () from /lib/libc.so.6 #9 0xb77962d0 in __nss_next () from /lib/libc.so.6 #10 0xb7797a6d in __nss_hosts_lookup () from /lib/libc.so.6 #11 0xb779bac0 in gethostbyname_r () from /lib/libc.so.6 #12 0xb779b39e in gethostbyname () from /lib/libc.so.6 #13 0x08063afc in Socket::connect (this=0x86d3fe4, aAddr=@0xb431d3b0, aPort=28208) at client/Socket.cpp:178 #14 0x080b51c0 in BufferedSocket::threadConnect (this=0x86d3fb0) at client/BufferedSocket.cpp:153 #15 0x080b64e8 in BufferedSocket::run (this=0x86d3fb0) at client/BufferedSocket.cpp:412 #16 0x080b8f76 in Thread::starter (p=0x86d3ffc) at Thread.h:139 #17 0xb7fbb512 in __pthread_initialize_minimal () from /lib/libpthread.so.0 #18 0xb77874be in clone () from /lib/libc.so.6