Exception when calling the command "dotcover send /Command=GetSnapshotAndKillChildren"

Answered
hi there,
 
I got the following errors when I tried wrapping up the dotcover process:
 
2020-10-06T19:29:57.7412269Z ##[command]c:\dotcover\dotcover.exe send /Command=GetSnapshotAndKillChildren /Instance=12 /Timeout=3200 /LogFile=secstop.log

2020-10-06T19:29:57.9072229Z JetBrains dotCover Console Runner 2019.2.3. Build 777.0.20191016.63255

2020-10-06T19:29:57.9072513Z Copyright (c) 2009-2020 JetBrains s.r.o. All rights reserved.

2020-10-06T19:30:01.8182441Z [JetBrains dotCover] Send command successfully completed [10/6/2020 7:30:01 PM]

2020-10-06T19:30:01.8319446Z

2020-10-06T19:30:01.8328681Z Unhandled Exception: System.IO.IOException: The OS handle's position is not what FileStream expected. Do not use a handle simultaneously in one FileStream and in Win32 code or another FileStream. This may cause data loss.

2020-10-06T19:30:01.8329137Z at System.IO.FileStream.VerifyOSHandlePosition()

2020-10-06T19:30:01.8329347Z at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)

2020-10-06T19:30:01.8329551Z at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)

2020-10-06T19:30:01.8329742Z at System.IO.FileStream.Dispose(Boolean disposing)

2020-10-06T19:30:01.8330022Z at System.IO.FileStream.Finalize()

Does anyone know what had caused this? Much appreciated!

 
1 comment
Comment actions Permalink

Hello Dong, there is a similar open issue on our tracker: DCVR-10080. We would appreciate it if you would upvote in order to bring increased awareness to the issue and watch for monitoring the progress. Thank you in advance!

0

Please sign in to leave a comment.