Giter VIP home page Giter VIP logo

Comments (7)

KKQ-KKQ avatar KKQ-KKQ commented on June 13, 2024

20230802.rc2 also works.

from sfizz.

redtide avatar redtide commented on June 13, 2024

20230802.rc2 also works.

which is older than 20230802.1, that seems to be the only one we can use before the 2024 series.
Let's see what @paulfd think.

from sfizz.

KKQ-KKQ avatar KKQ-KKQ commented on June 13, 2024

It might be related to Address sanitizer. The tests succeeds when I set SFIZZ_ASAN to OFF.
Abseil might keep invalid address on hash maps.

from sfizz.

redtide avatar redtide commented on June 13, 2024

I had that suspect few hours ago, anyways, let's see. Meanwhile, would you like to join our Discord or Matrix chat?

from sfizz.

KKQ-KKQ avatar KKQ-KKQ commented on June 13, 2024

The tests on ubuntu 22.04 with the following script are failed.
I think the auto tests with new tags fail with the Abseil version.
They also fail when ubuntu's abseil version becomes newer.

#/bin/bash
BT=Debug
#BT=RelWithDebInfo
TESTDIR=build_asan
cmake -G Ninja -B ${TESTDIR} -S . -D CMAKE_BUILD_TYPE=${BT} -D SFIZZ_TESTS=ON -D SFIZZ_ASAN=ON -D SFIZZ_USE_SYSTEM_ABSEIL=OFF && \
cmake --build ${TESTDIR} --config ${BT} --parallel 2 --target sfizz_tests && \
ctest --build-config ${BT} --parallel 1 --output-on-failure --stop-on-failure --test-dir ${TESTDIR}

from sfizz.

paulfd avatar paulfd commented on June 13, 2024

Thanks again for the report. It looks like to me that moving the hash map invalidates references, which tends to be validated by this comment. Since the target vector is grown incrementally during loading, and the hashmap is in the vector, it might get moved if the vector reallocates for more space.

I'll continue investigating.

from sfizz.

paulfd avatar paulfd commented on June 13, 2024

The changelog entry was:

  • Abseil's hash tables now detect many more programming errors in debug and sanitizer builds.

It's actually our bug, not abseil's. I have a potential fix in #1242, lmk if it helps!

from sfizz.

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.