-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
FileSystemWatcher crash UNALIGNED_STACK_POINTER #42108
Comments
@carlossanlop Heads up - if this ends up being a real issue it might be a candidate for downlevel (2.1, 3.1, 5.x) servicing. |
The filewatchers initialization:
And here we have, the "process" part for each event triggered by the filewatcher:
I tried to avoid any real process on triggered file system events, so I push the file path in the memoryCache and later I send it to a ServiceBus queue for processing the file by any consumer. |
Similar? #40412 (but that is x64 not ARM64) |
@nuzolx is it feasible to try with 5.0? We probably didn't change relevant library code, but it's conceivable it's runtime related. Also, I see this is ARM64. Do you use x64 - is it possible to say whether it happens with that? Is it possible to run with pageheap enabled (#40412 (comment)) .. this will be very slow, so would have to be in a test instance? |
@danmosemsft « Also, I see this is ARM64 ». You say that about some stuff in the windbg loading section? I think this is misinterpreted. This program is publish only for win-x64 runtime (and self-contained option). As you, I see the #40412 and the potential link. |
I misread AMD64...an old term |
Closing this issue as a duplicate of #40412. We are still working to get this fix in place for 5.0 in #42420 and to backport to 3.1 in dotnet/corefx#42989. |
Hi,
I have a dotnet core, 3.1.8, program with five FileWatcher.
They watch folders on a network filesystem.
With some load (200 - 250 files in total), the program crash unexpectedly.
These files arrive at the same time, moved by another process from another server.
In event viewer, I see something but that's not really relevant (for me?).
I have a un dump generated when the crash occur.
I'm not very comfortable with that.
So I try some stuff with WinDBG.
And also with dotnet-dump.
This crash occur in a production server. At this time, I have no smalls repro steps.
If it's revelant, I can share the dumpfile.
The text was updated successfully, but these errors were encountered: