Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 8511 [details]
Sample project and dump file
The contents are corrupted when the Xml file is created using XmlWriter.WriteRaw() method.
Corruption occurs at random by the processing of up to call the XmlWriter.WriteRaw() method.
The corrupted place will surely be replaced by "ed a0 bd ef bf bd".
In attached sample,
-Original text(hexcode) is 'f0 9f 98 aa f0 9f 98 a5 f0 9f 98 b0'.
-Result text(hexcode) is 'f0 9f 98 aa ed a0 bd ef bf bd f0 9f 98 b0'.
0000520 9e f0 9f 98 92 f0 9f 98 8c f0 9f 98 94 f0 9f 98
0000540 81 f0 9f 98 b3 f0 9f 98 9b f0 9f 98 9d f0 9f 98
0000560 9c f0 9f 98 82 f0 9f 98 ad f0 9f 98 aa f0 9f 98
0000600 a5 f0 9f 98 b0 f0 9f 98 85 f0 9f 98 93 f0 9f 98
0002060 98 9b f0 9f 98 9d f0 9f 98 9c f0 9f 98 82 f0 9f
0002100 98 ad f0 9f 98 aa ed a0 bd ef bf bd f0 9f 98 b0
0002120 f0 9f 98 85 f0 9f 98 93 f0 9f 98 a9 f0 9f 98 ab
iOS7.1.2 and iOS8.0.2, 8.1 has this issue.
Now our XmlWriter is based on referencesource so it should work as .NET does.
[Cannot add this non-minimal repro.]