Comments (1)
I suspect that the problem is related to the one described here: https://sourceforge.net/p/udt/discussion/393036/thread/d95e119f/?limit=25#1c43
By performing the close() before deleting the queues, doesn't this allow for the possibility that between the close() and the queue deletion, a new socket using the old file descriptor could be created in another thread and one or both of the queues could improperly use that new file descriptor? I did not see any synchronization which would prevent this problem. Would moving the channel close() to happen after the queues have been deleted introduce other problems?
In my case, however, the file descriptor is not reused by UDT but by another part of the application which opens a completely unrelated TCP socket with the same file descriptor. This new socket is perfectly fine and will happily block in the recvmsg
call bringing UDT to a halt completely.
from barchart-udt.
Related Issues (20)
- Eclipse error in barchart-udt/pom.xml HOT 1
- Build barchart-udt for android
- Issue with loading library in barchart-udt-bundle-2.3.0.jar
- Runtime Issue with loading library in barchart-udt-bundle-2.3.0.jar
- Non-Blocking SocketChannelUDT write overflow error print HOT 2
- build issue HOT 1
- Deployment testbed don't have correct version of libc.so
- Any further milestone? HOT 1
- DTLS Support HOT 1
- Problem with receiveFile method HOT 1
- can not set recivef buffer
- there is a bug when channel register after cancel a selected key HOT 1
- Too many open files HOT 1
- Request For Eclipse Bundle
- [crash] jvm crash when use barchart-udt-netty4
- [crash] another crash when use barchart-udt-netty4
- Build error
- Abour core project jar files and nar file
- concurrent crash
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 barchart-udt.