service-fabric icon indicating copy to clipboard operation
service-fabric copied to clipboard

Console redirection problem

Open MatejSkrbis opened this issue 7 years ago • 5 comments

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 avatar Sep 05 '18 06:09 MatejSkrbis

@MatejSkrbis Are you able to repro this issue consistently? If so, will it be possible for you to share the repro or FabricTraces?

gkhanna79 avatar Sep 17 '18 06:09 gkhanna79

I currently cannot reproduce this issue and old logs were overwritten by new ones. 😕 It was probably some rare state that it got into.

MatejSkrbis avatar Sep 19 '18 08:09 MatejSkrbis

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 avatar Sep 20 '18 12:09 MatejSkrbis

@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 avatar Oct 29 '18 02:10 gkhanna79

@gkhanna79 we encounter the same error too. Have you figured out the cause of this issue?

ywlei avatar Oct 14 '24 20:10 ywlei