I have my tests set up to run using the teamcity nunit runner with the boxes ticked for code coverage reporting. In my build logs i see the following:
Started dotCover: C:\TeamCity\buildAgent\tools\dotCover\dotCover.exe report C:\TeamCity\buildAgent\temp\buildTmp\dotcover8864961164358899525.xml
[09:34:00]Output: JetBrains dotCover Console Runner v2.6.608.684. Copyright (c) 2009-2014 JetBrains s.r.o. All rights reserved. [JetBrains dotCover] Report generation started [03/03/2014 09:33:58] [JetBrains dotCover] Failed to build report. Invalid data while reading blob heap. offset(669) + intLen(1) >= blobHeapSize(670) in (memory)
[09:34:00]dotCover exited with code: -2
[09:34:00]dotCover returned non-zero exit code.
I get this message every time i try and run.
The tests im running are doing quite a few interop/marshal calls so i guess there is the potential they have screwed the memory somehow...
If anyone has any suggestions i would be grateful.