Completed
Last Updated: 16 Sep 2021 08:40 by ADMIN
Calvin
Created on: 25 Jun 2021 00:28
Type: Bug Report
0
thread leak

I filed a prior ThreadLeak:

Thread leak in JustMock (telerik.com)

 

I think I've found another one: (VS version 16.10.31321.278)

telerik_justmock_debugwindow_service_client!Telerik.JustMock.DebugWindow.Service.Client.ServiceHostMonitor.MonitorTimer_Elapsed

Apparently, the MonitorTimer_Elapsed code is running on a threadpool thread and it takes longer than 1 sec (perhaps it's waiting on a lock?).

Another timer tick occurs and the method is called again. Eventually, the ThreadPool runs out of threads and grows by about 1 thread per second (1Mb /sec leak)

In one dump 2Gig was used (1962 threads on the same MonitorTimer_Elapsed stack frame)

In that same dump there were 52 stacks with this frame:

telerik_justmock_debugwindow_service_client!Telerik.JustMock.DebugWindow.Service.Client.ConnectionSetupServiceClientBase`[[System.__Canon,mscorlib]].get_ServiceAvailable

(this was the same item as my prior report).

 

3 comments
ADMIN
Mihail
Posted on: 16 Sep 2021 08:40

The issue is fixed and it is available with the R3 2021 version 2021.3.915.1.

 

Regards,
Mihail
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Ivo
Posted on: 29 Jun 2021 15:03

Hello Calvin,

After making a review of the source code I confirm that it is a defect. We will consider the fix in the upcoming R3.2021 release, which is expected to be available in mid-September.

Regards,
Ivo
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Ivo
Posted on: 25 Jun 2021 07:35

Hello Calvin,

Many thanks for your cooperation on that tough topic. It seems that we have not been managed to fix the reported issue completely and there are more timers running in a background context. I am starting investigations and will come back with the outcome next week.

Regards,
Ivo
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.