Code Monkey home page Code Monkey logo

Comments (1)

escabo avatar escabo commented on July 22, 2024

I have tried to reproduce this without any success.

With raft checked out, I did:

$ export CFLAGS="-fsanitize=address -fsanitize=undefined -fno-optimize-sibling-calls -fno-omit-frame-pointer"
$ export LDFLAGS="-fsanitize=address -fsanitize=undefined"
$ autoreconf -i
$ ./configure
$ make
$ sudo make install

then, in the example directory:

$ gcc $CFLAGS -c server.c; gcc $LDFLAGS server.o -o server -lraft -luv -lasan
$ gcc $CFLAGS -c cluster.c; gcc $LDFLAGS cluster.o -o cluster -lraft -luv -lasan

I ran severs manually in 3 different shells, killing and restarting one here and there.
I also ran the cluster executable without tripping any error from ASan.

I have forced an error in the code and got it (just to be sure my setup was right).

I tried this with the current version and also with version d38635e which dates back from the bug report.

This is on ubuntu 20.04 with gcc 9.3.0.

Can you help us reproduce?

from raft.

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.