Giter Club home page Giter Club logo

Comments (7)

jprotze avatar jprotze commented on August 13, 2024

The race on j introduces another spurious write-write race in the next line:
With the race on j the loop invariant j<len is no longer valid, so that we see write-write races between a[i][len] and a[i+1][0]. Although this is an interesting race to detect, I think this race deserves an own kernel and documentation.
For i=len-2, this can also lead to out-of-bound read as in a[len-1][len].

from dataracebench.

simoatze avatar simoatze commented on August 13, 2024

Same problem happens in the antidep2-orig-yes.c benchmark.

from dataracebench.

simoatze avatar simoatze commented on August 13, 2024

There is a similar problem also in the benchmark plusplus-orig-yes.c.

Because of the race in the index variable "outLen", it may introduce a race also on the array output.

from dataracebench.

simoatze avatar simoatze commented on August 13, 2024

And truedepfirstdimension-orig-yes.c

from dataracebench.

jprotze avatar jprotze commented on August 13, 2024

@simoatze for plusplus-orig-yes.c I think, this is the intended behavior of the kernel, although this side effect is not documented in the description.

I created a PR to solve above issues

from dataracebench.

chunhualiao avatar chunhualiao commented on August 13, 2024

@jprotze and @simoatze Thanks a lot for filing this issue. We will incorporate your suggested fixes into our next release (along with a few additional benchmark programs) soon.

from dataracebench.

chunhualiao avatar chunhualiao commented on August 13, 2024

This issue has been resolved as part of our recent release v1.1.0. Thanks for reporting this to us ( and with fixes)!

from dataracebench.

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.