Page 1 of 1

Access violation in RVRTFProps.TRVRTFReaderProperties.InsertFromStreamEd

Posted: Tue Jan 26, 2021 12:20 pm
by NMeyer
Hello,
we have since a few days the new version 19 of TRichView installed.
In the process, we have repeatedly received an access violation at the following point:
Image1.png
Image1.png (108.44 KiB) Viewed 12597 times
We have found the cause. In this case Reader is released before DoneReader, see the figure. In all other places in code DoneReader is called before Reader.free, which makes sense.
Image2.png
Image2.png (60.26 KiB) Viewed 12597 times
Maybe it would be helpful to include the following changes in the new update.
Image3.png
Image3.png (47.09 KiB) Viewed 12597 times
Regards
N.Meyer

Re: Access violation in RVRTFProps.TRVRTFReaderProperties.InsertFromStreamEd

Posted: Tue Jan 26, 2021 5:08 pm
by Sergey Tkachenko
Thank you for the bug report.
However, this bug is already fixed in version 19.1.
You can download the new version from the same location.

Re: Access violation in RVRTFProps.TRVRTFReaderProperties.InsertFromStreamEd

Posted: Thu Jan 28, 2021 12:05 pm
by Sergey Tkachenko
You are right, this problem was not fixed in v19.1.
I just uploaded v19.1.2 with this fix.