-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JVM crash with file-system watching enabled on Windows #13135
Comments
There doesn't seem to be a daemon log, maybe because the build was started with Since it was a no-daemon build and judging from the build log, the crash seems to happen in |
Commit where things started to fail: 09185e8 |
Some resources how to find out where the crash on Windows happens:
|
FTR, the PDB generated by @wolfs points to line 128 as the crash location, which probably means the line below: if (status != WatchPointStatus::LISTENING) {
logToJava(LogLevel::FINE, "Ignoring incoming events for %s as watch-point is not listening (%d bytes, errorCode = %d, status = %d)",
utf16ToUtf8String(path).c_str(), bytesTransferred, errorCode, status);
return;
} |
I managed to reproduce the crash on Let's see if I can reduce the number of tests we need to run. |
Usage of the tools above:
Then you can disassemble the
In that file, you can look up the address from the
Though that probably won't help you much to pin down the line in the code. So, if you have the
In the resulting file you can search for (part of) the address of the crash to find out the source code lines:
There you go: it is line 128 in |
Looking at the flaky tests for the last 24hs on
The other flaky tests (e.g. https://e.grdev.net/s/i62lewlh4r3wg) are also caused by JVM crashes in |
So
while (_Mid1 != _Last1 && _Mid2 != _Last2) { // convert and put a wide char
unsigned long _Ch;
/* --> */ const unsigned short _Ch1 = static_cast<unsigned short>(*_Mid1);
bool _Save = false; I guess it's the de-referencing of |
Looks like |
It now seems to crash very often, see #13135
I ignored the test on |
ArtifactTransformCachingIntegrationTest.cache cleanup does not delete entries that are currently being created
seems to crash infile-events.dll
.See https://builds.gradle.org/viewLog.html?buildId=34884728&buildTypeId=Gradle_Check_VfsRetention_30_bucket6&fromExperimentalUI=true
cc: @gradle/build-cache
The text was updated successfully, but these errors were encountered: