Comments (8)
However I found memleak case when testing your raw data. Thank you bro!!
from nanomq.
Is the following the same as what you found? If so, please ignore this message.
yes, this is the only issue that remains here. any idea?
Of course not, NanoMQ is very strong now.
from nanomq.
I am pretty sure this is not same issue as #1165. and I am not able to reproduce your case. Also seems like our code base is different.
I could tell this should be treated as a data racing problem, just don't sure what's your config and env. The testing raw data is sending retain msg frequently and we have figured out a way to avoid data racing in this case.
from nanomq.
I am pretty sure this is not same issue as #1165. and I am not able to reproduce your case. Also seems like our code base is different. I could tell this should be treated as a data racing problem, just don't sure what's your config and env. The testing raw data is sending retain msg frequently and we have figured out a way to avoid data racing in this case.
I test and invesigate it on the newest banch, and here's what happened.
It takes a certain randomness, even luck, to find and trigger it, as you mentioned it is a data contention problem.
If necessary, I can provide a dockerfile to make sure the environment and code are the same.
However I found memleak case when testing your raw data. Thank you bro!!
Glad to hear that.
Is the following the same as what you found? If so, please ignore this message.
from nanomq.
This seems like a similar issue with #1180\
from nanomq.
Is the following the same as what you found? If so, please ignore this message.
yes, this is the only issue that remains here. any idea?
from nanomq.
I mean, any your advice on how to debug this memleak would be appreciated.
No No No, Got plenty more to do. There are more security issues somewhere. At least I need fix this memleak
from nanomq.
All bugs spotted by this issue have been fixed.
Thank you @songxpu
from nanomq.
Related Issues (20)
- Several memory leak defects were detected in NanoMQ. HOT 2
- 编译NanoNNG 依赖失败
- Heap use after free in parquet write.
- Users in pwd-file ignored HOT 3
- Several possible memory leak defects. HOT 1
- Heap-Buffer-Overflow in get_var_integer Function of NanoMQ at mqtt_parser.c:174 HOT 2
- Heap-Buffer-Overflow in read_byte Function of NanoMQ at mqtt_codec.c:2871 HOT 1
- Null Pointer Dereference in Function topic_filtern at mqtt_parser.c Leading to Runtime Error HOT 1
- Can create new user for authentication throw HTTP API? HOT 5
- Websocket will listen by default.
- nanomq Only one cpu can be used HOT 2
- close pipe & kick client due to KeepAlive timeout! HOT 2
- infinite loop messages with bridges over tcp HOT 1
- How to enable output log to file in .so shared library? HOT 2
- can not use http acl? HOT 2
- Query params for /api/v4/clients having no effect? HOT 3
- Parallel tasks are not being accurately determined HOT 5
- runtime error: applying zero offset to null pointer HOT 3
- Unexpected behavior in data persistence HOT 1
- Several potential memory leak defects in the latest version of nanomq/nng. 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 nanomq.