Range check errors after upgraiding to version 20.1

General TRichView support forum. Please post your questions here
Post Reply
dimik78
Posts: 12
Joined: Wed Dec 29, 2010 12:48 pm

Range check errors after upgraiding to version 20.1

Post by dimik78 »

Hello!
After upgraiding to version 20.1 from version 18.4 we have regular range_check error from users.
Here are examples of the errors call stacks received by MadExcept

Code: Select all

callstack crc      : $10baf3a3, $914fe9d0, $914fe9d0
exception number   : 1
exception class    : ERangeError
exception message  : Ошибка выхода за границы (Range check).

main thread ($1094):
015c8b18 +5b8 Koper3.exe   RVTable           11781 +102 TRVTableItemInfo.CreateInplace
015c8eb7 +143 Koper3.exe   RVTable           11874  +18 TRVTableItemInfo.MouseDown
016cca38 +09c Koper3.exe   CRVData           12678  +19 TCustomRVData.GetRealRotation
0163a19e +242 Koper3.exe   CRVFData           8883  +49 TCustomRVFormattedData.MouseDown
016049af +0e7 Koper3.exe   RVERVData          9501  +17 TRVEditRVData.MouseDown
0166acff +103 Koper3.exe   RichView           2976  +37 TCustomRichView.MouseDown
016de976 +02a Koper3.exe   RVEdit             5811   +2 TCustomRichViewEdit.MouseDown
005bce2c +08c Koper3.exe   Controls           7213   +7 TControl.DoMouseDown
005bce7b +03f Koper3.exe   Controls           7224   +7 TControl.WMLButtonDown
005bc7d4 +2d4 Koper3.exe   Controls           7074  +91 TControl.WndProc
005c1074 +568 Koper3.exe   Controls           9831 +144 TWinControl.WndProc
01670664 +080 Koper3.exe   RichView           6721  +17 TCustomRichView.WndProc

Code: Select all

callstack crc      : $937db1cd, $2b4e5538, $5c88ab2a
exception number   : 4
exception class    : ERangeError
exception message  : Ошибка выхода за границы (Range check).

main thread ($31e4):
01670655 +071 Koper3.exe   RichView           6718  +14 TCustomRichView.WndProc
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Range check errors after upgraiding to version 20.1

Post by Sergey Tkachenko »

See the solution here: https://www.trichview.com/forums/viewto ... 733#p40733
Currently, you need to modify source code or compile your projects with range checking turned off.
This fix will be included in the next update.
dimik78
Posts: 12
Joined: Wed Dec 29, 2010 12:48 pm

Re: Range check errors after upgraiding to version 20.1

Post by dimik78 »

Ok. Big Thanks!
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Range check errors after upgraiding to version 20.1

Post by Sergey Tkachenko »

Fixed in TRichView 20.2
Post Reply