I have a windows service written in Rust, My service uses unsafe code while calling WinAPI.
I noticed that the service crashes after waking up from system hibernate.
Here is the error I found in Event Viewer
Faulting application name: Service1.exe, version: 0.0.0.0, time stamp: 0x66768627
Faulting module name: ucrtbase.dll, version: 10.0.19041.3636, time stamp: 0x81cf5d89
Exception code: 0xc0000409
Fault offset: 0x000000000007286e
Faulting process id: 0xde4
Faulting application start time: 0x01dac8565c9a400d
Faulting application path: D:ProjectsService1targetreleaseService1.exe
Faulting module path: C:WindowsSystem32ucrtbase.dll
Report Id: ab85177d-eb02-46c3-907d-b94e3f44021e
Faulting package full name:
Faulting package-relative application ID:
My question is: is it known to have issues with memory structure after hibernate, Or what should I do to avoid similar problems
Thanks