Console redirection problem
When our service crashed the console output was not available to view. After inspecting fabric traces we found following errors:
GetOverlappedResult failed with 0x8007006d. Console log D:\SvcFab\_App\OurServices\log\Code_service_M_2.out will not be available.
GetOverlappedResult failed with 0x8007006d. Console log D:\SvcFab\_App\OurServices\log\Code_service_M_2.err will not be available.
Mostly this console redirection worked as it should.
@MatejSkrbis Are you able to repro this issue consistently? If so, will it be possible for you to share the repro or FabricTraces?
I currently cannot reproduce this issue and old logs were overwritten by new ones. 😕 It was probably some rare state that it got into.
It happened again with some additional problems. My co-worker added issue with logs attached.
https://github.com/Azure/service-fabric-issues/issues/1284
@MatejSkrbis microsoft/service-fabric-issues#1284 is being discussed and appears to be unrelated to the error you reported above. If you have a simplified repro that demonstrates failure to write to logs, do share it out.
@gkhanna79 we encounter the same error too. Have you figured out the cause of this issue?