Giter VIP home page Giter VIP logo

Comments (10)

krlmlr avatar krlmlr commented on June 25, 2024 1

Looks super-green now: https://github.com/duckdb/duckdb-r/actions/runs/9162129815/job/25188491799 .

Filed the clang-asan problem: #12142 .

The atlas check is not a problem.

I don't understand why valgrind still finds problems. Investigating.

from duckdb.

krlmlr avatar krlmlr commented on June 25, 2024

@szarnyasg: Thanks for looking into it.

In gcc14, there are even more warnings:

    /usr/local/gcc14/include/c++/14.0.1/bits/move.h:221:11: warning: '((__vector(2) long unsigned int*)this)[1]' is used uninitialized [-Wuninitialized]
    /usr/local/gcc14/include/c++/14.0.1/bits/move.h:221:11: warning: '*(__vector(2) long unsigned int*)this' is used uninitialized [-Wuninitialized]
    /usr/local/gcc14/include/c++/14.0.1/bits/move.h:221:11: warning: '((void (**)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >))this)[2]' is used uninitialized [-Wuninitialized]
    /usr/local/gcc14/include/c++/14.0.1/bits/move.h:221:11: warning: '((duckdb::FileBuffer**)this)[2]' is used uninitialized [-Wuninitialized]

Check results: https://cran.r-project.org/web/checks/check_results_duckdb.html

from duckdb.

hannes avatar hannes commented on June 25, 2024

The first two issues are easily fixable, but found this comment:

// Work around the bug affecting flexible array members in GCC 6.x (for x >= 1).
// (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932)
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 6 && __GNUC_MINOR__ >= 1
    std::atomic<State*> next_[0];   // Outgoing arrows from State,
#else
    std::atomic<State*> next_[];    // Outgoing arrows from State,
#endif

So this seems intentional to work around a GCC bug?

from duckdb.

hannes avatar hannes commented on June 25, 2024

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932

from duckdb.

hannes avatar hannes commented on June 25, 2024

PR for first part is here: #11956

from duckdb.

hannes avatar hannes commented on June 25, 2024

The re2 package on CRAN has this fixed, will copy their fix over.

from duckdb.

hannes avatar hannes commented on June 25, 2024

second PR is here: #11978

from duckdb.

hannes avatar hannes commented on June 25, 2024

@krlmlr do we have a CI run already that would have found those?

from duckdb.

krlmlr avatar krlmlr commented on June 25, 2024

Yes. Easiest when that PR is merged and vendored here.

from duckdb.

hannes avatar hannes commented on June 25, 2024

Fixed in upstream

from duckdb.

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.