I'm running a gentoo linux with glibc version 2.3.4. I get a segfault whenever running proxychains with any command line arguments. Here is an example: Code: synsmash@mobile synsmash $ proxychains telnet blahhost.com Segmentation fault synsmash@mobile synsmash $ Here is a gdb trace of the crash: Code: (gdb) run telnet blahhost.com Starting program: /usr/bin/proxychains telnet blahhost.com (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGTRAP, Trace/breakpoint trap. 0xb7feb7d0 in ?? () from /lib/ld-linux.so.2 (gdb) c Continuing. (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0xb706ff07 in connect () from /usr/lib/libproxychains.so (gdb) c Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) q Apparently there could be a problem with a connect() call or function in libproxychains.c. Reproducible: Always Steps to Reproduce: 1. emerge proxychains 2. proxychains telnet blahblah.com 3. Actual Results: Segmentation fault Expected Results: Configuration file read from /etc/proxychains.conf and initiated the command following the proxychains call.
if you edit the ebuild and delete the libc-connect.patch, does it work ?
If you delete the libc-connect.patch, the program produces the following error: synsmash@powerhouse:~$ proxychains telnet google.com 80 telnet: symbol lookup error: /usr/lib/libproxychains.so: undefined symbol: __libc_connect synsmash@powerhouse:~$
fixed in 2.1-r2