Git Product home page Git Product logo

Comments (8)

JaylinYu avatar JaylinYu commented on June 3, 2024 1

However I found memleak case when testing your raw data. Thank you bro!!

from nanomq.

songxpu avatar songxpu commented on June 3, 2024 1

Is the following the same as what you found? If so, please ignore this message.
image
yes, this is the only issue that remains here. any idea?

Of course not, NanoMQ is very strong now.

from nanomq.

JaylinYu avatar JaylinYu commented on June 3, 2024

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.

songxpu avatar songxpu commented on June 3, 2024

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.

image

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.

image

from nanomq.

JaylinYu avatar JaylinYu commented on June 3, 2024

This seems like a similar issue with #1180\

from nanomq.

JaylinYu avatar JaylinYu commented on June 3, 2024

Is the following the same as what you found? If so, please ignore this message.

image

yes, this is the only issue that remains here. any idea?

from nanomq.

JaylinYu avatar JaylinYu commented on June 3, 2024

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.

JaylinYu avatar JaylinYu commented on June 3, 2024

All bugs spotted by this issue have been fixed.
Thank you @songxpu

from nanomq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.