Memory Leak when using dll usbtc08.dll from Pico

delphi package - automated exception handling
Post Reply
MichaelPetit
Posts: 1
Joined: Wed Mar 23, 2016 12:01 pm

Memory Leak when using dll usbtc08.dll from Pico

Post by MichaelPetit »

Hello,

I am using your madExcept for a while and I have a problem that I can't solve.

I am using a dll usbtc08.dll from Pico to control a Thermocouple Data Logger TC08 and I get always a report when I close the software I am developing.

The report I get is this one:
allocation number: 60124
program up time: 10,81 s
type: Thread Handle
handle: $bc0
access rights: $1fffff
threadId: $2358
processId: $14d4
process exe: XXX.exe

main thread ($1d14):
671d14aa madExcept32.dll madExceptDbg 3773 CreateThreadCallback
0049cd97 XXX.exe madExcept HookedCreateThread
5cbc7bfd usbtc08.dll _usb_tc08_run@8
00640f36 XXX.exe DataLogPicoTC08 521 TTC08Ctl.StartScan
00640915 XXX.exe DataLogPicoTC08 391 TTC08Ctl.DiscoverUnitTimerOnTimer
005a750f XXX.exe Vcl.ExtCtrls TTimer.Timer
005a73f3 XXX.exe Vcl.ExtCtrls TTimer.WndProc
00516a90 XXX.exe System.Classes StdWndProc
75267895 USER32.dll DispatchMessageW
005f9aff XXX.exe Vcl.Forms TApplication.ProcessMessage
005f9b42 XXX.exe Vcl.Forms TApplication.HandleMessage
005f9e7d XXX.exe Vcl.Forms TApplication.Run
006582af XXX.exe XXX 34 initialization

How can I solve my problem?

When I don't use the function ust_tc08_run to let the datalogger start the conversions, I don't get any report.

Kind Regards,
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Memory Leak when using dll usbtc08.dll from Pico

Post by madshi »

It seems to be a true leak. You can manually ignore it, see bottom of this thread:

viewtopic.php?f=4&t=28174
Post Reply