rofl0r / rofl0r/proxychains-ng

proxychain4 throws "core dumped" while proxychains3 works fine with StandardNotes.AppImage

Open
#320 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
10.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hello, I'm using proxychains on LinuxMint 19.3.
Program Standard-Notes-3.3.1.AppImage is from https://standardnotes.org/ .
Proxychains4 built from source will terminate with "Trace/breakpoint trap (core dumped)". Then I install Proxychains3 from apt and that works fine.

I configure proxychains4 with -DDEBUG and get this output:

[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading ./libproxychains4.so
DEBUG:init_lib_wrapper called from gcc_init
DEBUG:pid[12158]:at_init
DEBUG:pid[12158]:wait_data
DEBUG:proxy_dns: ON
DEBUG:[play] socks5 127.0.0.1:1088
[proxychains] DLL init: proxychains-ng 4.14-git-8-gb8fa2a7
DEBUG:loaded symbol 'connect' real addr 0x7f3c74662730 wrapped addr 0x7f3c74a7b5ef
DEBUG:loaded symbol 'sendto' real addr 0x7f3c74662a10 wrapped addr 0x7f3c74a7c057
DEBUG:loaded symbol 'gethostbyname' real addr 0x7f3c741787f0 wrapped addr 0x7f3c74a7bb66
DEBUG:loaded symbol 'getaddrinfo' real addr 0x7f3c7414abc0 wrapped addr 0x7f3c74a7bbd2
DEBUG:loaded symbol 'freeaddrinfo' real addr 0x7f3c7414b880 wrapped addr 0x7f3c74a7bc7f
DEBUG:loaded symbol 'gethostbyaddr' real addr 0x7f3c741780f0 wrapped addr 0x7f3c74a7bf43
DEBUG:loaded symbol 'getnameinfo' real addr 0x7f3c74181360 wrapped addr 0x7f3c74a7711a
DEBUG:loaded symbol 'close' real addr 0x7f3c74662410 wrapped addr 0x7f3c74a7b502
DEBUG:init_lib_wrapper called from gcc_init
DEBUG:pid[12158]:at_init
DEBUG:pid[12158]:wait_data
DEBUG:proxy_dns: ON
DEBUG:[play] socks5 127.0.0.1:1088
[proxychains] DLL init: proxychains-ng 4.14-git-8-gb8fa2a7
DEBUG:loaded symbol 'connect' real addr 0x7f50ce8cb8a0 wrapped addr 0x7f50cefcf5ef
DEBUG:loaded symbol 'sendto' real addr 0x7f50ce8cbd90 wrapped addr 0x7f50cefd0057
DEBUG:loaded symbol 'gethostbyname' real addr 0x7f50ce8de7f0 wrapped addr 0x7f50cefcfb66
DEBUG:loaded symbol 'getaddrinfo' real addr 0x7f50ce8b0bc0 wrapped addr 0x7f50cefcfbd2
DEBUG:loaded symbol 'freeaddrinfo' real addr 0x7f50ce8b1880 wrapped addr 0x7f50cefcfc7f
DEBUG:loaded symbol 'gethostbyaddr' real addr 0x7f50ce8de0f0 wrapped addr 0x7f50cefcff43
DEBUG:loaded symbol 'getnameinfo' real addr 0x7f50ce8e7360 wrapped addr 0x7f50cefcb11a
DEBUG:loaded symbol 'close' real addr 0x7f50ce8b98c0 wrapped addr 0x7f50cefcf502
DEBUG:init_lib_wrapper called from gcc_init
DEBUG:pid[12158]:at_init
DEBUG:pid[12158]:wait_data
DEBUG:proxy_dns: ON
DEBUG:[play] socks5 127.0.0.1:1088
[proxychains] DLL init: proxychains-ng 4.14-git-8-gb8fa2a7
DEBUG:loaded symbol 'connect' real addr 0x7fedf8d55730 wrapped addr 0x7fedf95e95ef
DEBUG:loaded symbol 'sendto' real addr 0x7fedf8d55a10 wrapped addr 0x7fedf95ea057
DEBUG:loaded symbol 'gethostbyname' real addr 0x7fedf2bf27f0 wrapped addr 0x7fedf95e9b66
DEBUG:loaded symbol 'getaddrinfo' real addr 0x7fedf2bc4bc0 wrapped addr 0x7fedf95e9bd2
DEBUG:loaded symbol 'freeaddrinfo' real addr 0x7fedf2bc5880 wrapped addr 0x7fedf95e9c7f
DEBUG:loaded symbol 'gethostbyaddr' real addr 0x7fedf2bf20f0 wrapped addr 0x7fedf95e9f43
DEBUG:loaded symbol 'getnameinfo' real addr 0x7fedf2bfb360 wrapped addr 0x7fedf95e511a
DEBUG:loaded symbol 'close' real addr 0x7fedf8d55410 wrapped addr 0x7fedf95e9502
DEBUG:init_lib_wrapper called from gcc_init
DEBUG:pid[1]:at_init
DEBUG:pid[1]:wait_data
DEBUG:proxy_dns: ON
DEBUG:[play] socks5 127.0.0.1:1088
[proxychains] DLL init: proxychains-ng 4.14-git-8-gb8fa2a7
DEBUG:loaded symbol 'connect' real addr 0x7fe4c88b7730 wrapped addr 0x7fe4c914b5ef
DEBUG:loaded symbol 'sendto' real addr 0x7fe4c88b7a10 wrapped addr 0x7fe4c914c057
DEBUG:loaded symbol 'gethostbyname' real addr 0x7fe4c27547f0 wrapped addr 0x7fe4c914bb66
DEBUG:loaded symbol 'getaddrinfo' real addr 0x7fe4c2726bc0 wrapped addr 0x7fe4c914bbd2
DEBUG:loaded symbol 'freeaddrinfo' real addr 0x7fe4c2727880 wrapped addr 0x7fe4c914bc7f
DEBUG:loaded symbol 'gethostbyaddr' real addr 0x7fe4c27540f0 wrapped addr 0x7fe4c914bf43
DEBUG:loaded symbol 'getnameinfo' real addr 0x7fe4c275d360 wrapped addr 0x7fe4c914711a
DEBUG:loaded symbol 'close' real addr 0x7fe4c88b7410 wrapped addr 0x7fe4c914b502
Trace/breakpoint trap (core dumped)

Thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with Standard-Notes-3.3.1.AppImage, proxychains4, and the /etc/proxychains.conf configuration while monitoring libproxychains4.so initialization. Compare the proxychains4 behavior with proxychains3 and use the debug output to narrow down where the trace/breakpoint trap occurs. Done means the AppImage runs through proxychains4 without the reported core dump.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.