Comments (6)
maybe. could you enable core dumps, rebuild microsocks with debug info make CFLAGS="-O0 -g3"
, and then load the core with gdb next time it happens ? that would give us a backtrace pointing to where it happens.
does this happen only with the high fd limit ?
from microsocks.
Version: be54581
┌──Register group: general─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│rax 0x0 0 rbx 0x0 0 │
│rcx 0x7fcf8f7c54fd 140529442247933 rdx 0x0 0 │
│rsi 0x0 0 rdi 0x0 0 │
│rbp 0x7fcf8c1c9f90 0x7fcf8c1c9f90 rsp 0x7fcf8c1c9ae0 0x7fcf8c1c9ae0 │
│r8 0x7fcf8c1ca700 140529385645824 r9 0x18 24 │
│r10 0x10 16 r11 0x0 0 │
│r12 0x0 0 r13 0x7fcf8c1ca9c0 140529385646528 │
│r14 0x7fcf8c1ca700 140529385645824 r15 0x0 0 │
│rip 0x401e89 0x401e89 <clientthread+474> eflags 0x10217 [ CF PF AF IF RF ] │
│cs 0x33 51 ss 0x2b 43 │
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│0x401e75 <clientthread+454> cmpl $0xffffffff,-0x4(%rbp) │
│0x401e79 <clientthread+458> je 0x401e85 <clientthread+470> │
│0x401e7b <clientthread+460> mov -0x4(%rbp),%eax │
│0x401e7e <clientthread+463> mov %eax,%edi │
│0x401e80 <clientthread+465> callq 0x400eb0 <close@plt> │
│0x401e85 <clientthread+470> mov -0x10(%rbp),%rax │
>│0x401e89 <clientthread+474> mov 0x24(%rax),%eax │
│0x401e8c <clientthread+477> mov %eax,%edi │
│0x401e8e <clientthread+479> callq 0x400eb0 <close@plt> │
│0x401e93 <clientthread+484> mov -0x10(%rbp),%rax │
│0x401e97 <clientthread+488> movl $0x1,0x2c(%rax) │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
multi-thre Thread 0x7fcf8 In: clientthread Line: ?? PC: 0x401e89
from microsocks.
why are you testing a version from 2019 ? use latest git. also i don't see a usable backtrace in your paste. compile with -g3 to get source-level debug info instead of x86 asm.
from microsocks.
@rofl0r Because it was launched three years ago.
Crashed on this line:
Line 335 in be54581
from microsocks.
well, i studied the code again and can't see anything that could cause this. i'd suggest you get the latest code, rebuild it with address sanitizer, and wait for the next crash, which will hopefully be accompanied with useful output from asan.
from microsocks.
OK.
from microsocks.
Related Issues (20)
- Use custom DNS HOT 20
- Can't connect to `0.0.0.0` on client HOT 4
- Connect to server running on the same machine HOT 17
- microsocks-1.0.2-x86_64-static may contain security issues HOT 1
- EC_TTL_EXPIRED error is sent down idle connection, and treated as application-layer traffic by client
- microsocks: not found HOT 1
- Configuration of the Proxy HOT 1
- Blocking some IPs HOT 1
- Any plans to support UDP? HOT 2
- Allow passthrough of TCP/ip headers HOT 1
- a little Suggest. Change release url to https HOT 1
- Any chance of a new release with -q flag added? HOT 2
- Disconnect logging
- Using 443 Port HOT 1
- Bandwidth testing tools HOT 5
- add systemd service file HOT 3
- Trying IPv6 sockets w/ IPv6 being available but down, leads to connection failures HOT 2
- segmentation fault on alpine & docker HOT 6
- Why I keep seeing the help instructions? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsocks.