Completed
Last Updated: 14 Nov 2024 09:56 by ADMIN
Release R3 2022
Danilo
Created on: 28 Jul 2022 12:13
Category: Dock
Type: Bug Report
12
RadDock: Arithmetic operation resulted in an overflow

Our application embed a RadDock element.Unfortunately, in a non-systematic way, our application crash with this stack trace: 

Our application is a 64bit application (we migrated it to NET6 using Telerik 2022.2.510.60). As I told unfortunately in this case I'm not able to isolate the case in a simple project (as I'm used to to).

It would be useful by your side, however, make a check to the last trace line of the log I've gave to you: 

 at Telerik.WinControls.UI.ThemedFormBehavior.OnWMNCHitTest(Message& m)

If I decompile your code I find this:

L_param, returned in (1) is an IntPtr that, on a 64bit machine running a 64bit application could contains a value that SOMETIMES will crash in (2) where you try to convert it with an IntTo32 method...

99 time to 100 the code in line 755 works fine but I think that it is not guaranteed that L_Param returned in (1) can be fit in a 32bit box. This could explain why I use the phrase "...in a very random way" and why, at the moment, I'm not be able to give you a simple application where the problem is systematic.

I suspect that at line 755 we have got a problem, I'll appreciate your point of view about it.
2 comments
ADMIN
Dinko | Tech Support Engineer
Posted on: 14 Nov 2024 09:56

Hello Rajesh,

Upon checking the item, the reported behavior is already fixed and the fix is included in the Release R3 2022 version of our controls. I would suggest upgrading our assemblies referenced in your project to their latest version so that you can take advantage of bug fixes, new controls, new functionalities, .etc. 

In addition, you can also check the Release Notes of our latest official version released yesterday: Telerik UI for WinForms 2024.4.1113 (2024 Q4)

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Rajesh
Posted on: 13 Nov 2024 18:43

Hello,

Our application using a RadDock element.Unfortunately we have encounter System.OverflowException: 'Arithmetic operation resulted in an overflow.

Same line of code working fine windows 10 but it broke for Window 11. We are using Telerik.WinControls.UI, Version=2009.3.9.1203.

We are using this component to split windows form to have multiple view of form.

Kindly refer below screen for reference.