Git Product home page Git Product logo

Comments (6)

chakaz avatar chakaz commented on June 7, 2024 1

I was hoping that it would fix that, but it looks like it doesn't.
I created a PR in helio to fix the traversal code, that's likely to be related to the ctrl-c issue. I guess the malloc_trim is unrelated. Bummer.

from dragonfly.

chakaz avatar chakaz commented on June 7, 2024

This seems to be a dup of #2714
Unfortunately, it doesn't reproduce for me locally, even with --count=1000 😱
However, the call stack here helps. I imagine that it might be that we're removing the listener from conn_list and then call Listener::PreShutdown() which calls DispatchTracker::TrackAll(), which eventually calls ListenerInterface::TraverseConnectionsOnThread. I'm not entirely sure why this can happen, but we can easily add if (it == end()) return; here:
https://github.com/romange/helio/blob/8985263c3acca038752e8f9fdd8e9f61d2ec2b6f/util/fibers/listener_interface.cc#L282

from dragonfly.

kostasrim avatar kostasrim commented on June 7, 2024

@chakaz @adiholden also reproduces on our sanitizers job (similar error different context) https://github.com/dragonflydb/dragonfly/actions/runs/8337372698/job/22816007105#step:8:2880

it fails because of malloc_trim

from dragonfly.

chakaz avatar chakaz commented on June 7, 2024

@kostasrim @adiholden can you please help me and see if you can reproduce it in main updated with #2742 ? 🙏

from dragonfly.

kostasrim avatar kostasrim commented on June 7, 2024

@chakaz is it suppose to fix malloc_trim as well? Sanitizers failed (and I already run them yesterday against your branch). I can try with ctr-c instead (maybe they were separate issues 🤷‍♂️ )

from dragonfly.

kostasrim avatar kostasrim commented on June 7, 2024

@chakaz I will open a separate issue then

from dragonfly.

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.