Access violation in RVRTFProps.TRVRTFReaderProperties.InsertFromStreamEd

General TRichView support forum. Please post your questions here
Post Reply
NMeyer
Posts: 1
Joined: Wed Dec 16, 2020 11:49 am

Access violation in RVRTFProps.TRVRTFReaderProperties.InsertFromStreamEd

Post 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 12580 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 12580 times
Maybe it would be helpful to include the following changes in the new update.
Image3.png
Image3.png (47.09 KiB) Viewed 12580 times
Regards
N.Meyer
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Access violation in RVRTFProps.TRVRTFReaderProperties.InsertFromStreamEd

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Access violation in RVRTFProps.TRVRTFReaderProperties.InsertFromStreamEd

Post by Sergey Tkachenko »

You are right, this problem was not fixed in v19.1.
I just uploaded v19.1.2 with this fix.
Post Reply