Free Support Forum -

Word files comparison crashes in .NET

Seeing the changes from Source file to Target file gives an a crash.
New Compressed (zipped) (3.4 MB)
GroupDocs.Comparison version is 20.10.0

Code for repro with settings:
private static CompareOptions CompareOptions => new CompareOptions
DetectStyleChanges = false,
GenerateSummaryPage = false

    public (Stream stream, SupportedFormat format) Compare([NotNull] NamedFileDataStream oldestDoc, [NotNull] NamedFileDataStream newestDoc)
        using (var comparisonService = new Comparer(oldestDoc.DataStream))
            Stream result = new MemoryStream();
            comparisonService.Compare(result, CompareOptions);
            return (stream: result, format: SupportedFormat.Docx);

Also reproducable with your online tool (


This issue is reproduced at our end. Hence, we’ve logged it in our internal issue tracking system with ID COMPARISONNET-2513. You’ll be notified in case of any update.


Your reported issue is now fixed in API version 20.11.

1 Like