Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89464 - proxychains 2.1 segmentation fault
Summary: proxychains 2.1 segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 14:45 UTC by Cliff Barnes
Modified: 2005-04-19 15:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cliff Barnes 2005-04-17 14:45:32 UTC
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.
Comment 1 SpanKY gentoo-dev 2005-04-17 23:00:23 UTC
if you edit the ebuild and delete the libc-connect.patch, does it work ?
Comment 2 Cliff Barnes 2005-04-18 05:51:54 UTC
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:~$
Comment 3 SpanKY gentoo-dev 2005-04-19 15:11:05 UTC
fixed in 2.1-r2