Giter Site home page Giter Site logo

Comments (11)

bsergean avatar bsergean commented on May 14, 2024 1

I think that the second one might still be broken, and it will fail randomly. That one.

/Users/travis/build/machinezone/IXWebSocket/test/IXWebSocketPingTest.cpp:473: FAILED:
REQUIRE( serverReceivedPingMessages == 2 )
with expansion:
3 == 2
https://travis-ci.com/machinezone/IXWebSocket/jobs/199446279

from ixwebsocket.

bsergean avatar bsergean commented on May 14, 2024

Just pushed something to make all derived classes use 'final' keyword.

Hope it helps, it is recommended here for the 'vptr' kindof error.
https://github.com/google/sanitizers/wiki/ThreadSanitizerPopularDataRaces

from ixwebsocket.

Dimon4eg avatar Dimon4eg commented on May 14, 2024

It seems now it's fixed!

from ixwebsocket.

Dimon4eg avatar Dimon4eg commented on May 14, 2024

Still fails:

/Users/travis/build/machinezone/IXWebSocket/test/IXWebSocketPingTimeoutTest.cpp:368: FAILED:
  REQUIRE( webSocketClient.isClosed() == true )
with expansion:
  false == true

from ixwebsocket.

bsergean avatar bsergean commented on May 14, 2024

FYI I have disabled the 2 Ping related unittest, which isn't good, but better than super flaky unittest. It still fails somewhat randomly at times, but looks more stable now.

I've made a server change for the best I hope.

from ixwebsocket.

AlexandreK38 avatar AlexandreK38 commented on May 14, 2024

What do we have to do then? We are not sure about the CI or the code

from ixwebsocket.

bsergean avatar bsergean commented on May 14, 2024

I'm not too sure either. Here are some random thoughts:

We could have a branch / or PR where we tweak things until something gets stable.
The key with fixing a problem on the CI is being able to reproduce it locally.
Maybe there's a more stable way to write tests with timing.
If we aren't sure about TSAN on ubuntu, we can try to change some of the docker file and test with different versions of Linux. I've tested with a super recent version of fedora. Maybe we can write some kind of spreadsheet.
We can also research and make small repro case that we post in the oifficial Google TSAN github page, and ask for help there.

from ixwebsocket.

bsergean avatar bsergean commented on May 14, 2024

There's also this problem which could be linked: #77

from ixwebsocket.

bsergean avatar bsergean commented on May 14, 2024

This is the current problem now ; the other tsan problems are gone ; also close unittest isn't working as well.

from ixwebsocket.

AlexandreK38 avatar AlexandreK38 commented on May 14, 2024

Great if if the fix is working, I will have a look at the new errors when I can

from ixwebsocket.

bsergean avatar bsergean commented on May 14, 2024

should be good now

from ixwebsocket.

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.