gradle/native-platform

Reproduce invalid watch descriptor problem on Linux

Closed this issue · 1 comments

lptr commented

Invalid watch descriptors have been spotted in Gradle tests, see gradle/gradle#13079:

  • events with a watch descriptor number that has already received its IN_IGNORE event, and
  • events with a watch descriptor of -1.

We've started ignoring events with invalid watch descriptors to work around this problem in #212. However, we haven't been able to reproduce the problems in a test. It would be good to do so, and add these tests retroactively.

lptr commented

We found no easy way to reproduce this problem.