MainType 10.0 Call to OS function failed

Get help with MainType here. Please do not post feature requests or bug reports here.
bizymare
Posts: 8
Joined: Wed Dec 02, 2020 8:41 am

MainType 10.0 Call to OS function failed

Post by bizymare »

Hi - a couple days ago I suddenly get "A call to an OS function failed" when I open 10.0 Professional Edition. Groups don't show up at all. I've rebooted and the next step is to uninstall and reinstall MainType but was wondering if anyone else has seen this or has a different fix? Using Windows 10, v18363
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: MainType 10.0 Call to OS function failed

Post by Bhikkhu Pesala »

I have not seen the message.

Your Windows OS version is a bit out of date, but I doubt if that is the cause. Anyway, you could try updating Windows and see if the error happens again.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
bizymare
Posts: 8
Joined: Wed Dec 02, 2020 8:41 am

Re: MainType 10.0 Call to OS function failed

Post by bizymare »

I updated to a pending update and rebooted. Now I have the failed call and a System Error Code 1400 from MainType.
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: MainType 10.0 Call to OS function failed

Post by Erwin Denissen »

Do install this update and let us know if that solved the issue:

https://www.high-logic.com/tmp/maintype ... 48-x64.exe
Erwin Denissen
High-Logic
Proven Font Technology
bizymare
Posts: 8
Joined: Wed Dec 02, 2020 8:41 am

Re: MainType 10.0 Call to OS function failed

Post by bizymare »

I did the reinstall and it did not resolve the call to OS error. The other one didn't pop up.
bizymare
Posts: 8
Joined: Wed Dec 02, 2020 8:41 am

Re: MainType 10.0 Call to OS function failed

Post by bizymare »

The really weird thing is I have two MainType licenses. The one on the desktop (Win 10 build 19041) and have no issues but I didn't have any problems with the laptop, which is newer, until a couple days ago, either.
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: MainType 10.0 Call to OS function failed

Post by Erwin Denissen »

I have uploaded a debug release of MainType, which should give better error reports.

Do download and run this version:

[removed as we just uploaded another release]

If it still raises the error, then an error report can be found in this location:
C:\ProgramData\High-Logic\Errors

The last couple of .dat files should reveal what part of the code is causing the trouble.
Erwin Denissen
High-Logic
Proven Font Technology
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: MainType 10.0 Call to OS function failed

Post by Erwin Denissen »

The previous version had some other issues which are solved with this update:

https://www.high-logic.com/tmp/maintype ... 0.1250.exe
Erwin Denissen
High-Logic
Proven Font Technology
bizymare
Posts: 8
Joined: Wed Dec 02, 2020 8:41 am

Re: MainType 10.0 Call to OS function failed

Post by bizymare »

So I've attached the screen shot of the current errors and what follows is just the last data file information. Would uninstalling and reinstalling work?

Code: Select all

- Computer and Operating System -
Total Memory : 12 GB
Free Memory  : 6 GB
Total Disk C : 119 GB
Free Disk C  : 34 GB
Up Time      : 20607 seconds
Type         : Microsoft Windows 10 (64 bit)
Build        : 18363
Update       : 18362.19h1_release.190318-1202
Language     : 1033 - English
Printer      : Canon MX920 series Printer WS
Monitors     : 1
Monitor 0 [Primary]
- PixelsPerInch 96

- Application -
Name         : MainType (64-bit)
Version      : 10.0.0.1250
Hash         : 5f7d8adfff4d7712261c231f5eab3c20
Path         : C:\Users\Mare\Downloads\MainType.10.0.0.1250.exe
Module Path  : C:\Users\Mare\Downloads\MainType.10.0.0.1250.exe
Build date   : 2020-12-02 16:55:47
State        : Running
Start Date   : 2020-12-02 19:54:51
Up Time      : 253 seconds
Memory       : 42MB
Form         : TMainFormMainType (MainFormMainType)
Monitor      : 0
Control      : TVirtualFontTreeView ()
Build        : Debug

- Error -
Date         : 2020-12-02 19:59:04
Address      : 0000000000000000
Source       : 1
Error Count  : 2
Message:
date/time          : 2020-12-02, 19:59:03, 535ms
computer name      : LAPTOP-SOLH93KD
user name          : Mare
registered owner   : Mare / HP
operating system   : Windows 10 x64 build 18363
system language    : English
system up time     : 5 hours 43 minutes
program up time    : 4 minutes 12 seconds
processors         : 4x Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
physical memory    : 6302/12172 MB (free/total)
free disk space    : (C:) 33.61 GB
display mode       : 1536x864, 32 bit
process id         : $3558
allocated memory   : 199.53 MB
largest free block : 131021.93 GB
executable         : MainType.10.0.0.1250.exe
exec. date/time    : 2020-12-02 19:54
version            : 10.0.0.1250
compiled with      : Delphi 10.4 Sydney
madExcept version  : 5.1.0
callstack crc      : $e80b839b, $0085e1bd, $8e973536
exception number   : 3
exception class    : EOSError
exception message  : A call to an OS function failed.

thread $4594:
004941fd +00d MainType.10.0.0.1250.exe System.SysUtils 26337   +1 RaiseLastOSError
00ec6d5f +00f MainType.10.0.0.1250.exe LMDDckStyles     1116   +2 GDICheck
00ed0588 +038 MainType.10.0.0.1250.exe LMDDckStyles     3796   +3 TLMDBuffer.FinalizeDIB
00ed0452 +022 MainType.10.0.0.1250.exe LMDDckStyles     3773   +1 TLMDBuffer.Destroy
00ed0405 +0a5 MainType.10.0.0.1250.exe LMDDckStyles     3769   +6 TLMDBuffer.Create
00ed1037 +0a7 MainType.10.0.0.1250.exe LMDDckStyles     3977   +4 TBufDrawData.Create
00ed0215 +025 MainType.10.0.0.1250.exe LMDDckStyles     3739   +1 TLMDBuffer.BeginDraw
00efecad +03d MainType.10.0.0.1250.exe LMDDckSite       6096   +1 TLMDDockZoneTree.Paint
00f032ce +03e MainType.10.0.0.1250.exe LMDDckSite       7737   +2 TLMDDockSite.Paint
006e8fd6 +056 MainType.10.0.0.1250.exe Vcl.Controls    14396   +6 TCustomControl.PaintWindow
006df243 +083 MainType.10.0.0.1250.exe Vcl.Controls    10508   +4 TWinControl.PaintHandler
006e01af +08f MainType.10.0.0.1250.exe Vcl.Controls    10711   +6 TWinControl.WMPaint
006e8f68 +018 MainType.10.0.0.1250.exe Vcl.Controls    14385   +2 TCustomControl.WMPaint
00410122 +042 MainType.10.0.0.1250.exe System          18541  +10 TObject.Dispatch
006d7d3d +36d MainType.10.0.0.1250.exe Vcl.Controls     7480  +91 TControl.WndProc
006defab +99b MainType.10.0.0.1250.exe Vcl.Controls    10424 +169 TWinControl.WndProc
006de17a +02a MainType.10.0.0.1250.exe Vcl.Controls    10120   +3 TWinControl.MainWndProc
005f0353 +023 MainType.10.0.0.1250.exe System.Classes  18006   +8 StdWndProc
7ffd3518 +01f ntdll.dll                                           KiUserCallbackDispatcher
7ffd34da +2d6 USER32.dll                                          DispatchMessageW
0085adee +12e MainType.10.0.0.1250.exe Vcl.Forms       11005  +23 TApplication.ProcessMessage
0085ae63 +013 MainType.10.0.0.1250.exe Vcl.Forms       11035   +1 TApplication.HandleMessage
0085b2b1 +0e1 MainType.10.0.0.1250.exe Vcl.Forms       11173  +26 TApplication.Run
01bdb529 +309 MainType.10.0.0.1250.exe MainType          450  +57 initialization
7ffd3348 +00e KERNEL32.DLL                                        BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                           RtlUserThreadStart

thread $4594, inner exception level 1:
>> EOSError, A call to an OS function failed
004941fd +00d MainType.10.0.0.1250.exe System.SysUtils 26337  +1 RaiseLastOSError
7ffd320a +08c KERNELBASE.dll                                     WaitForSingleObjectEx
004fc1e8 +538 MainType.10.0.0.1250.exe madExcept                 HandleException
00508861 +071 MainType.10.0.0.1250.exe madExcept                 InterceptAHandleExcept
006de19e +04e MainType.10.0.0.1250.exe Vcl.Controls    10126  +9 TWinControl.MainWndProc
005f0353 +023 MainType.10.0.0.1250.exe System.Classes  18006  +8 StdWndProc
7ffd3518 +01f ntdll.dll                                          KiUserCallbackDispatcher
7ffd34da +2d6 USER32.dll                                         DispatchMessageW
0085adee +12e MainType.10.0.0.1250.exe Vcl.Forms       11005 +23 TApplication.ProcessMessage
0085ae63 +013 MainType.10.0.0.1250.exe Vcl.Forms       11035  +1 TApplication.HandleMessage
0085b2b1 +0e1 MainType.10.0.0.1250.exe Vcl.Forms       11173 +26 TApplication.Run
01bdb529 +309 MainType.10.0.0.1250.exe MainType          450 +57 initialization
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

thread $49b8:
7ffd34db +97 USER32.dll    MsgWaitForMultipleObjectsEx
7ffd34db +3e USER32.dll    MsgWaitForMultipleObjects
7ffd3348 +0e KERNEL32.DLL  BaseThreadInitThunk
7ffd3514 +1b ntdll.dll     RtlUserThreadStart

thread $3500:
7ffd3348 +0e KERNEL32.DLL  BaseThreadInitThunk
7ffd3514 +1b ntdll.dll     RtlUserThreadStart

thread $491c:
7ffd3348 +0e KERNEL32.DLL  BaseThreadInitThunk
7ffd3514 +1b ntdll.dll     RtlUserThreadStart

thread $2808:
7ffd320b +100 KERNELBASE.dll                                     WaitForMultipleObjectsEx
0063913f +07f MainType.10.0.0.1250.exe System.SyncObjs   729 +13 THandleObject.WaitFor
008af43b +0bb MainType.10.0.0.1250.exe debug.logging     487 +11 TLogClient.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                 HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes  15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System          25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                 ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

TTimerManagerInstance ($47d8):
7ffd320a +08c KERNELBASE.dll                                               WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation   329  +4 TEventObject.WaitFor
00e011da +03a MainType.10.0.0.1250.exe utils.timermanager          216  +3 TTimerManagerInstance.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex          300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                           HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes            15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                    25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                           ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                 BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                    RtlUserThreadStart

TExceptionUploaderInstance ($4510):
7ffd320a +08c KERNELBASE.dll                                               WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation   329  +4 TEventObject.WaitFor
00983dab +32b MainType.10.0.0.1250.exe utils.exceptionuploader     146 +60 TExceptionUploaderInstance.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex          300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                           HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes            15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                    25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                           ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                 BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                    RtlUserThreadStart

thread $4544:
7ffd320b +100 KERNELBASE.dll                     WaitForMultipleObjectsEx
00509269 +049 MainType.10.0.0.1250.exe madExcept ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                          RtlUserThreadStart

thread $2ea4:
7ffd320b +100 KERNELBASE.dll                         WaitForMultipleObjectsEx
0aff445f +07f hlfontlib.dll  System.SyncObjs         THandleObject.WaitFor
0b18a2b3 +043 hlfontlib.dll  debug.logging   487 +11 TLogClient.Execute
0af23f70 +040 hlfontlib.dll  System.Classes          ThreadProc
0ade0bca +03a hlfontlib.dll  System                  ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                           BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                              RtlUserThreadStart

THLFMSCommandRouter ($3710):
7ffd320b +100 KERNELBASE.dll                                   WaitForMultipleObjectsEx
7ffd320b +009 KERNELBASE.dll                                   WaitForMultipleObjects
0b1af2a3 +083 hlfontlib.dll  threading.synchronisation 401  +7 TObjectHandleList.WaitFor
0b1c2352 +032 hlfontlib.dll  threading.threadpool      281  +7 TThreadPool.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex        300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                    ThreadProc
0ade0bca +03a hlfontlib.dll  System                            ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                     BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                        RtlUserThreadStart

THLFMSCommandRouter:TPoolWorker(0) ($1dd8):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
004920c4 +004 MainType.10.0.0.1250.exe System.SysUtils             23665  +1 WaitForSyncWaitObj
00492298 +028 MainType.10.0.0.1250.exe System.SysUtils             23864  +6 WaitOrSignalObj
004110ee +07e MainType.10.0.0.1250.exe System                      19711 +16 TMonitor.Wait
004111dd +03d MainType.10.0.0.1250.exe System                      19735  +2 TMonitor.Wait
005ebb27 +197 MainType.10.0.0.1250.exe System.Classes              16107 +29 TThread.Synchronize
005ebc4c +04c MainType.10.0.0.1250.exe System.Classes              16135  +2 TThread.Synchronize
008bd127 +217 MainType.10.0.0.1250.exe threading.threadex            443 +35 TThreadEx.Synchronize
00e07c96 +086 MainType.10.0.0.1250.exe maintype.cyclemanager         171  +8 TMainTypeCycleManager.RequestReadyCallback
00e076d6 +026 MainType.10.0.0.1250.exe maintype.cyclemanager          88  +1 TMainTypeCycleManager._RequestReadyCallback
0b2593b9 +1f9 hlfontlib.dll            fontlib.nodes.cyclemanager    206 +25 TFontLibCycleManagerNode.HandleInfoReady
0b2595b4 +024 hlfontlib.dll            fontlib.nodes.cyclemanager    227  +3 TFontLibCycleManagerNode.ProcessCommand
0b2143de +02e hlfontlib.dll            hlfmsapi.commands.router      303  +6 THLFMSCommandNode.RecvCommand
0b214869 +039 hlfontlib.dll            hlfmsapi.commands.router      437  +3 THLFMSCommandRoute.Execute
0b1b52a1 +081 hlfontlib.dll            threading.threadpool.worker    84  +9 TPoolWorker.Execute
0b1aa6fd +1cd hlfontlib.dll            threading.threadex            300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll            System.Classes                        ThreadProc
0ade0bca +03a hlfontlib.dll            System                                ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

THLFMSCommandRouter:TPoolWorker(1) ($3960):
7ffd320a +08c KERNELBASE.dll                                     WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation   329  +4 TEventObject.WaitFor
0b1b524a +02a hlfontlib.dll  threading.threadpool.worker  78  +3 TPoolWorker.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex          300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                      ThreadProc
0ade0bca +03a hlfontlib.dll  System                              ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

THLFMSCommandRouter:TPoolWorker(2) ($f44):
7ffd320a +08c KERNELBASE.dll                                     WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation   329  +4 TEventObject.WaitFor
0b1b524a +02a hlfontlib.dll  threading.threadpool.worker  78  +3 TPoolWorker.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex          300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                      ThreadProc
0ade0bca +03a hlfontlib.dll  System                              ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

THLFMSCommandRouter:TPoolWorker(3) ($46d4):
7ffd320a +08c KERNELBASE.dll                                     WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation   329  +4 TEventObject.WaitFor
0b1b524a +02a hlfontlib.dll  threading.threadpool.worker  78  +3 TPoolWorker.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex          300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                      ThreadProc
0ade0bca +03a hlfontlib.dll  System                              ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

TFontLibHLFMSClient.fStopMethod ($b8c):
7ffd320a +08c KERNELBASE.dll                                   WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation 329  +4 TEventObject.WaitFor
0b21ccc4 +024 hlfontlib.dll  threading.methodthread     85  +1 TAbstractMethodThread.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex        300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                    ThreadProc
0ade0bca +03a hlfontlib.dll  System                            ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                     BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                        RtlUserThreadStart

THLFMSCommandSocket ($68):
7ffd320b +100 KERNELBASE.dll                                   WaitForMultipleObjectsEx
7ffd320b +009 KERNELBASE.dll                                   WaitForMultipleObjects
0b1af2a3 +083 hlfontlib.dll  threading.synchronisation 401  +7 TObjectHandleList.WaitFor
0b1d5f52 +042 hlfontlib.dll  hlfmsapi.commands.sockets 444  +5 THLFMSCommandSocket.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex        300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                    ThreadProc
0ade0bca +03a hlfontlib.dll  System                            ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                     BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                        RtlUserThreadStart

TFontLibLoadedMonitor ($2158):
7ffd320a +08c KERNELBASE.dll                                                WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation              329  +4 TEventObject.WaitFor
0b2802d3 +023 hlfontlib.dll  fontlib.nodes.fontstatusmonitor.loaded  98  +3 TFontLibLoadedMonitor.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex                     300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                                 ThreadProc
0ade0bca +03a hlfontlib.dll  System                                         ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                                  BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                     RtlUserThreadStart

TFontCachePool ($4944):
7ffd320b +100 KERNELBASE.dll                                               WaitForMultipleObjectsEx
7ffd320b +009 KERNELBASE.dll                                               WaitForMultipleObjects
008b90f3 +083 MainType.10.0.0.1250.exe threading.synchronisation   401  +7 TObjectHandleList.WaitFor
00c7d322 +032 MainType.10.0.0.1250.exe threading.threadpool        281  +7 TThreadPool.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex          300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                           HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes            15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                    25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                           ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                 BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                    RtlUserThreadStart

TFontCachePool:TPoolWorker(0) ($1338):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation     329  +4 TEventObject.WaitFor
00c7821a +02a MainType.10.0.0.1250.exe threading.threadpool.worker    78  +3 TPoolWorker.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex            300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                             HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes              15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                      25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                             ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

TFontCachePool:TPoolWorker(1) ($462c):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation     329  +4 TEventObject.WaitFor
00c7821a +02a MainType.10.0.0.1250.exe threading.threadpool.worker    78  +3 TPoolWorker.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex            300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                             HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes              15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                      25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                             ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

TFontCachePool:TPoolWorker(2) ($2234):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation     329  +4 TEventObject.WaitFor
00c7821a +02a MainType.10.0.0.1250.exe threading.threadpool.worker    78  +3 TPoolWorker.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex            300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                             HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes              15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                      25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                             ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

TFontCachePool:TPoolWorker(3) ($640):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation     329  +4 TEventObject.WaitFor
00c7821a +02a MainType.10.0.0.1250.exe threading.threadpool.worker    78  +3 TPoolWorker.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex            300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                             HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes              15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                      25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                             ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

TGarbageCollectorInstance ($411c):
7ffd320b +100 KERNELBASE.dll                                WaitForMultipleObjectsEx
0aff445f +07f hlfontlib.dll  System.SyncObjs                THandleObject.WaitFor
0b1bcf31 +041 hlfontlib.dll  utils.garbagecollector 284  +5 TGarbageCollectorInstance.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex     300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                 ThreadProc
0ade0bca +03a hlfontlib.dll  System                         ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                  BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                     RtlUserThreadStart

thread $d80:
7ffd320a +8c KERNELBASE.dll                                               WaitForSingleObjectEx
00ac1ece +2e MainType.10.0.0.1250.exe VirtualTrees.WorkerThread   150  +4 TWorkerThread.Execute
00509394 +24 MainType.10.0.0.1250.exe madExcept                           HookedTThreadExecute
005eab80 +40 MainType.10.0.0.1250.exe System.Classes            15479 +18 ThreadProc
00412d1a +3a MainType.10.0.0.1250.exe System                    25147  +9 ThreadWrapper
00509269 +49 MainType.10.0.0.1250.exe madExcept                           ThreadExceptFrame
7ffd3348 +0e KERNEL32.DLL                                                 BaseThreadInitThunk
7ffd3514 +1b ntdll.dll                                                    RtlUserThreadStart

TGarbageCollectorInstance ($4640):
7ffd320b +100 KERNELBASE.dll                                            WaitForMultipleObjectsEx
0063913f +07f MainType.10.0.0.1250.exe System.SyncObjs          729 +13 THandleObject.WaitFor
0098f2c1 +041 MainType.10.0.0.1250.exe utils.garbagecollector   284  +5 TGarbageCollectorInstance.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex       300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                        HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes         15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                 25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                        ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                              BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                 RtlUserThreadStart

cpu registers:
rax = 0000000005c616d0
rbx = 0000000000ef0e38
rcx = 0000000000000000
rdx = 0000000002b02478
rsi = 000000000014f3e8
rdi = 0000000010bced80
rip = 0000000000ed03d1
rsp = 000000000014f2b0
rbp = 000000000014f2b0
r8  = 0000000000000001
r9  = 0000000100000005
r10 = 00000000000010a0
r11 = 0000000000000000
r12 = 000000000000000f
r13 = 00000000000d078c
r14 = 0000000000000000
r15 = 0000000000000000

stack dump:
0014f2b0  07 00 00 00 00 00 00 00 - e6 52 41 00 00 00 00 00  .........RA.....
0014f2c0  07 00 00 00 00 00 00 00 - a8 f4 14 00 00 00 00 00  ................
0014f2d0  a8 f4 14 00 00 00 00 00 - fa 32 41 00 00 00 00 00  .........2A.....
0014f2e0  07 54 4f 62 6a 65 63 74 - 00 00 00 00 00 00 00 00  .TObject........
0014f2f0  00 00 00 00 00 00 00 00 - b0 f2 14 00 00 00 00 00  ................
0014f300  20 48 a8 05 00 00 00 00 - 94 42 41 00 00 00 00 00   H.......BA.....
0014f310  f8 f3 14 00 00 00 00 00 - 30 c3 4f 00 00 00 00 00  ........0.O.....
0014f320  90 f3 14 00 00 00 00 00 - 94 98 40 00 00 00 00 00  ..........@.....
0014f330  f7 f6 14 00 00 00 00 00 - 30 c3 4f 00 00 00 00 00  ........0.O.....
0014f340  00 00 00 00 00 00 00 00 - 8c 07 0d 00 00 00 00 00  ................
0014f350  f8 f3 14 00 00 00 00 00 - d9 2f 41 00 00 00 00 00  ........./A.....
0014f360  f7 f6 14 00 00 00 00 00 - 30 c3 4f 00 00 00 00 00  ........0.O.....
0014f370  30 c3 4f 00 00 00 00 00 - 00 00 00 00 00 00 00 00  0.O.............
0014f380  f7 f6 14 00 00 00 00 00 - 11 66 4b 00 00 00 00 00  .........fK.....
0014f390  30 f6 14 00 00 00 00 00 - 00 00 00 00 00 00 00 00  0...............
0014f3a0  f8 f6 14 00 00 00 00 00 - 30 c3 4f 00 00 00 00 00  ........0.O.....
0014f3b0  00 00 40 00 00 00 00 00 - 00 20 4b 02 00 00 00 00  ..@...... K.....
0014f3c0  68 f4 14 00 00 00 00 00 - 00 00 00 00 00 00 00 00  h...............
0014f3d0  00 00 00 00 00 00 00 00 - 90 f3 14 00 00 00 00 00  ................
0014f3e0  10 4f a8 05 00 00 00 00 - 94 42 41 00 00 00 00 00  .O.......BA.....

disassembling:
004941f0       public System.SysUtils.RaiseLastOSError:  ; function entry point
004941f0 26336   sub     rsp, $28
004941f4 26337   call    -$678a9 ($42c950)      ; Winapi.Windows.GetLastError
004941f9         mov     ecx, eax
004941fb         xor     edx, edx
004941fd       > call    +$e ($494210)          ; System.SysUtils.RaiseLastOSError
00494202 26338   add     rsp, $28
00494206         ret

Call Stack Information:
date/time          : 2020-12-02, 19:59:04, 245ms
computer name      : LAPTOP-SOLH93KD
user name          : Mare
registered owner   : Mare / HP
operating system   : Windows 10 x64 build 18363
system language    : English
system up time     : 5 hours 43 minutes
program up time    : 4 minutes 13 seconds
processors         : 4x Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
physical memory    : 6238/12172 MB (free/total)
free disk space    : (C:) 33.61 GB
display mode       : 1536x864, 32 bit
process id         : $3558
allocated memory   : 199.41 MB
largest free block : 131021.93 GB
executable         : MainType.10.0.0.1250.exe
exec. date/time    : 2020-12-02 19:54
version            : 10.0.0.1250
compiled with      : Delphi 10.4 Sydney
madExcept version  : 5.1.0
callstack crc      : $9add2096, $c788d1aa, $329bd113
exception number   : 4
exception class    : Unknown
exception message  : Unknown.

madExcept - HandleExceptionThread ($2490): <priority:2>
00000000 +000 ???
7ffd320a +08c KERNELBASE.dll                                           WaitForSingleObjectEx
005053cd +2cd MainType.10.0.0.1250.exe madExcept                       TIMEException.GetBugReport
004fc750 +150 MainType.10.0.0.1250.exe madExcept                       CreateBugReport
0089bc2e +08e MainType.10.0.0.1250.exe utils.exceptionhandler  897  +2 TExceptionHandler.GetCallStackMadExcept
0089d4f0 +3f0 MainType.10.0.0.1250.exe utils.exceptionhandler 1211 +27 TExceptionHandler.StoreError
0089b9c7 +027 MainType.10.0.0.1250.exe utils.exceptionhandler  755  +1 TExceptionHandler.StoreException
0089b726 +066 MainType.10.0.0.1250.exe utils.exceptionhandler  636  +1 MyHandlerMadExcept
004c6942 +302 MainType.10.0.0.1250.exe madExcept                       FireHandlers
004c78e9 +209 MainType.10.0.0.1250.exe madExcept                       DoFireHandlers
004fb146 +556 MainType.10.0.0.1250.exe madExcept                       ReceiveHandleException
004fb7a0 +0a0 MainType.10.0.0.1250.exe madExcept                       HandleExceptionThread
7ffd3348 +00e KERNEL32.DLL                                             BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                RtlUserThreadStart

thread $4594:
7ffd320a +08c KERNELBASE.dll                                    WaitForSingleObjectEx
004fc1e8 +538 MainType.10.0.0.1250.exe madExcept                HandleException
00508861 +071 MainType.10.0.0.1250.exe madExcept                InterceptAHandleExcept
006de19e +04e MainType.10.0.0.1250.exe Vcl.Controls   10126  +9 TWinControl.MainWndProc
005f0353 +023 MainType.10.0.0.1250.exe System.Classes 18006  +8 StdWndProc
7ffd3518 +01f ntdll.dll                                         KiUserCallbackDispatcher
7ffd34da +2d6 USER32.dll                                        DispatchMessageW
0085adee +12e MainType.10.0.0.1250.exe Vcl.Forms      11005 +23 TApplication.ProcessMessage
0085ae63 +013 MainType.10.0.0.1250.exe Vcl.Forms      11035  +1 TApplication.HandleMessage
0085b2b1 +0e1 MainType.10.0.0.1250.exe Vcl.Forms      11173 +26 TApplication.Run
01bdb529 +309 MainType.10.0.0.1250.exe MainType         450 +57 initialization
7ffd3348 +00e KERNEL32.DLL                                      BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                         RtlUserThreadStart

thread $49b8:
7ffd34db +97 USER32.dll    MsgWaitForMultipleObjectsEx
7ffd34db +3e USER32.dll    MsgWaitForMultipleObjects
7ffd3348 +0e KERNEL32.DLL  BaseThreadInitThunk
7ffd3514 +1b ntdll.dll     RtlUserThreadStart

thread $3500:
7ffd3348 +0e KERNEL32.DLL  BaseThreadInitThunk
7ffd3514 +1b ntdll.dll     RtlUserThreadStart

thread $491c:
7ffd3348 +0e KERNEL32.DLL  BaseThreadInitThunk
7ffd3514 +1b ntdll.dll     RtlUserThreadStart

thread $2808:
7ffd320b +100 KERNELBASE.dll                                     WaitForMultipleObjectsEx
0063913f +07f MainType.10.0.0.1250.exe System.SyncObjs   729 +13 THandleObject.WaitFor
008af43b +0bb MainType.10.0.0.1250.exe debug.logging     487 +11 TLogClient.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                 HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes  15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System          25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                 ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

TTimerManagerInstance ($47d8):
7ffd320a +08c KERNELBASE.dll                                               WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation   329  +4 TEventObject.WaitFor
00e011da +03a MainType.10.0.0.1250.exe utils.timermanager          216  +3 TTimerManagerInstance.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex          300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                           HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes            15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                    25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                           ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                 BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                    RtlUserThreadStart

TExceptionUploaderInstance ($4510):
7ffd320a +08c KERNELBASE.dll                                               WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation   329  +4 TEventObject.WaitFor
00983dab +32b MainType.10.0.0.1250.exe utils.exceptionuploader     146 +60 TExceptionUploaderInstance.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex          300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                           HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes            15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                    25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                           ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                 BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                    RtlUserThreadStart

thread $4544:
7ffd320b +100 KERNELBASE.dll                     WaitForMultipleObjectsEx
00509269 +049 MainType.10.0.0.1250.exe madExcept ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                          RtlUserThreadStart

thread $2ea4:
7ffd320b +100 KERNELBASE.dll                         WaitForMultipleObjectsEx
0aff445f +07f hlfontlib.dll  System.SyncObjs         THandleObject.WaitFor
0b18a2b3 +043 hlfontlib.dll  debug.logging   487 +11 TLogClient.Execute
0af23f70 +040 hlfontlib.dll  System.Classes          ThreadProc
0ade0bca +03a hlfontlib.dll  System                  ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                           BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                              RtlUserThreadStart

THLFMSCommandRouter ($3710):
7ffd320b +100 KERNELBASE.dll                                   WaitForMultipleObjectsEx
7ffd320b +009 KERNELBASE.dll                                   WaitForMultipleObjects
0b1af2a3 +083 hlfontlib.dll  threading.synchronisation 401  +7 TObjectHandleList.WaitFor
0b1c2352 +032 hlfontlib.dll  threading.threadpool      281  +7 TThreadPool.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex        300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                    ThreadProc
0ade0bca +03a hlfontlib.dll  System                            ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                     BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                        RtlUserThreadStart

THLFMSCommandRouter:TPoolWorker(0) ($1dd8):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
004920c4 +004 MainType.10.0.0.1250.exe System.SysUtils             23665  +1 WaitForSyncWaitObj
00492298 +028 MainType.10.0.0.1250.exe System.SysUtils             23864  +6 WaitOrSignalObj
004110ee +07e MainType.10.0.0.1250.exe System                      19711 +16 TMonitor.Wait
004111dd +03d MainType.10.0.0.1250.exe System                      19735  +2 TMonitor.Wait
005ebb27 +197 MainType.10.0.0.1250.exe System.Classes              16107 +29 TThread.Synchronize
005ebc4c +04c MainType.10.0.0.1250.exe System.Classes              16135  +2 TThread.Synchronize
008bd127 +217 MainType.10.0.0.1250.exe threading.threadex            443 +35 TThreadEx.Synchronize
00e07c96 +086 MainType.10.0.0.1250.exe maintype.cyclemanager         171  +8 TMainTypeCycleManager.RequestReadyCallback
00e076d6 +026 MainType.10.0.0.1250.exe maintype.cyclemanager          88  +1 TMainTypeCycleManager._RequestReadyCallback
0b2593b9 +1f9 hlfontlib.dll            fontlib.nodes.cyclemanager    206 +25 TFontLibCycleManagerNode.HandleInfoReady
0b2595b4 +024 hlfontlib.dll            fontlib.nodes.cyclemanager    227  +3 TFontLibCycleManagerNode.ProcessCommand
0b2143de +02e hlfontlib.dll            hlfmsapi.commands.router      303  +6 THLFMSCommandNode.RecvCommand
0b214869 +039 hlfontlib.dll            hlfmsapi.commands.router      437  +3 THLFMSCommandRoute.Execute
0b1b52a1 +081 hlfontlib.dll            threading.threadpool.worker    84  +9 TPoolWorker.Execute
0b1aa6fd +1cd hlfontlib.dll            threading.threadex            300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll            System.Classes                        ThreadProc
0ade0bca +03a hlfontlib.dll            System                                ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

THLFMSCommandRouter:TPoolWorker(1) ($3960):
7ffd320a +08c KERNELBASE.dll                                     WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation   329  +4 TEventObject.WaitFor
0b1b524a +02a hlfontlib.dll  threading.threadpool.worker  78  +3 TPoolWorker.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex          300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                      ThreadProc
0ade0bca +03a hlfontlib.dll  System                              ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

THLFMSCommandRouter:TPoolWorker(2) ($f44):
7ffd320a +08c KERNELBASE.dll                                     WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation   329  +4 TEventObject.WaitFor
0b1b524a +02a hlfontlib.dll  threading.threadpool.worker  78  +3 TPoolWorker.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex          300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                      ThreadProc
0ade0bca +03a hlfontlib.dll  System                              ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

THLFMSCommandRouter:TPoolWorker(3) ($46d4):
7ffd320a +08c KERNELBASE.dll                                     WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation   329  +4 TEventObject.WaitFor
0b1b524a +02a hlfontlib.dll  threading.threadpool.worker  78  +3 TPoolWorker.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex          300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                      ThreadProc
0ade0bca +03a hlfontlib.dll  System                              ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                       BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                          RtlUserThreadStart

TFontLibHLFMSClient.fStopMethod ($b8c):
7ffd320a +08c KERNELBASE.dll                                   WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation 329  +4 TEventObject.WaitFor
0b21ccc4 +024 hlfontlib.dll  threading.methodthread     85  +1 TAbstractMethodThread.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex        300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                    ThreadProc
0ade0bca +03a hlfontlib.dll  System                            ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                     BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                        RtlUserThreadStart

THLFMSCommandSocket ($68):
7ffd320b +100 KERNELBASE.dll                                   WaitForMultipleObjectsEx
7ffd320b +009 KERNELBASE.dll                                   WaitForMultipleObjects
0b1af2a3 +083 hlfontlib.dll  threading.synchronisation 401  +7 TObjectHandleList.WaitFor
0b1d5f52 +042 hlfontlib.dll  hlfmsapi.commands.sockets 444  +5 THLFMSCommandSocket.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex        300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                    ThreadProc
0ade0bca +03a hlfontlib.dll  System                            ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                     BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                        RtlUserThreadStart

TFontLibLoadedMonitor ($2158):
7ffd320a +08c KERNELBASE.dll                                                WaitForSingleObjectEx
0b1aed9d +02d hlfontlib.dll  threading.synchronisation              329  +4 TEventObject.WaitFor
0b2802d3 +023 hlfontlib.dll  fontlib.nodes.fontstatusmonitor.loaded  98  +3 TFontLibLoadedMonitor.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex                     300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                                 ThreadProc
0ade0bca +03a hlfontlib.dll  System                                         ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                                  BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                     RtlUserThreadStart

TFontCachePool ($4944):
7ffd320b +100 KERNELBASE.dll                                               WaitForMultipleObjectsEx
7ffd320b +009 KERNELBASE.dll                                               WaitForMultipleObjects
008b90f3 +083 MainType.10.0.0.1250.exe threading.synchronisation   401  +7 TObjectHandleList.WaitFor
00c7d322 +032 MainType.10.0.0.1250.exe threading.threadpool        281  +7 TThreadPool.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex          300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                           HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes            15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                    25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                           ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                 BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                    RtlUserThreadStart

TFontCachePool:TPoolWorker(0) ($1338):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation     329  +4 TEventObject.WaitFor
00c7821a +02a MainType.10.0.0.1250.exe threading.threadpool.worker    78  +3 TPoolWorker.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex            300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                             HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes              15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                      25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                             ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

TFontCachePool:TPoolWorker(1) ($462c):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation     329  +4 TEventObject.WaitFor
00c7821a +02a MainType.10.0.0.1250.exe threading.threadpool.worker    78  +3 TPoolWorker.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex            300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                             HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes              15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                      25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                             ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

TFontCachePool:TPoolWorker(2) ($2234):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation     329  +4 TEventObject.WaitFor
00c7821a +02a MainType.10.0.0.1250.exe threading.threadpool.worker    78  +3 TPoolWorker.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex            300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                             HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes              15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                      25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                             ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

TFontCachePool:TPoolWorker(3) ($640):
7ffd320a +08c KERNELBASE.dll                                                 WaitForSingleObjectEx
008b8ad7 +037 MainType.10.0.0.1250.exe threading.synchronisation     329  +4 TEventObject.WaitFor
00c7821a +02a MainType.10.0.0.1250.exe threading.threadpool.worker    78  +3 TPoolWorker.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex            300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                             HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes              15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                      25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                             ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                                   BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                      RtlUserThreadStart

TGarbageCollectorInstance ($411c):
7ffd320b +100 KERNELBASE.dll                                WaitForMultipleObjectsEx
0aff445f +07f hlfontlib.dll  System.SyncObjs                THandleObject.WaitFor
0b1bcf31 +041 hlfontlib.dll  utils.garbagecollector 284  +5 TGarbageCollectorInstance.Execute
0b1aa6fd +1cd hlfontlib.dll  threading.threadex     300 +48 TSubThread.Execute
0af23f70 +040 hlfontlib.dll  System.Classes                 ThreadProc
0ade0bca +03a hlfontlib.dll  System                         ThreadWrapper
7ffd3348 +00e KERNEL32.DLL                                  BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                     RtlUserThreadStart

thread $d80:
7ffd320a +8c KERNELBASE.dll                                               WaitForSingleObjectEx
00ac1ece +2e MainType.10.0.0.1250.exe VirtualTrees.WorkerThread   150  +4 TWorkerThread.Execute
00509394 +24 MainType.10.0.0.1250.exe madExcept                           HookedTThreadExecute
005eab80 +40 MainType.10.0.0.1250.exe System.Classes            15479 +18 ThreadProc
00412d1a +3a MainType.10.0.0.1250.exe System                    25147  +9 ThreadWrapper
00509269 +49 MainType.10.0.0.1250.exe madExcept                           ThreadExceptFrame
7ffd3348 +0e KERNEL32.DLL                                                 BaseThreadInitThunk
7ffd3514 +1b ntdll.dll                                                    RtlUserThreadStart

TGarbageCollectorInstance ($4640):
7ffd320b +100 KERNELBASE.dll                                            WaitForMultipleObjectsEx
0063913f +07f MainType.10.0.0.1250.exe System.SyncObjs          729 +13 THandleObject.WaitFor
0098f2c1 +041 MainType.10.0.0.1250.exe utils.garbagecollector   284  +5 TGarbageCollectorInstance.Execute
008bc9bd +25d MainType.10.0.0.1250.exe threading.threadex       300 +48 TSubThread.Execute
00509394 +024 MainType.10.0.0.1250.exe madExcept                        HookedTThreadExecute
005eab80 +040 MainType.10.0.0.1250.exe System.Classes         15479 +18 ThreadProc
00412d1a +03a MainType.10.0.0.1250.exe System                 25147  +9 ThreadWrapper
00509269 +049 MainType.10.0.0.1250.exe madExcept                        ThreadExceptFrame
7ffd3348 +00e KERNEL32.DLL                                              BaseThreadInitThunk
7ffd3514 +01b ntdll.dll                                                 RtlUserThreadStart

disassembling:
[...]
0089bc05       mov     byte ptr [rsp+$50], 0
0089bc0a       mov     qword ptr [rsp+$58], 0
0089bc13       mov     qword ptr [rsp+$60], 0
0089bc1c       mov     qword ptr [rsp+$68], 0
0089bc25       mov     qword ptr [rsp+$70], 0
0089bc2e     > call    -$39f633 ($4fc600)     ; madExcept.CreateBugReport
0089bc33       mov     rcx, [rbp+$a8]
0089bc3a       mov     rdx, [rbp+$88]
0089bc41       call    -$486ae6 ($415160)     ; System.@WStrFromUStr
0089bc46       nop
0089bc47 898   lea     rcx, [rbp+$88]
[...]

- Threads -
00004594 : MainVCL - Initializing (since 2020-12-02 19:54:51:105) : 
000047D8 : TTimerManagerInstance - Running (since 2020-12-02 19:54:51:150) : Running - Blocked (since 2020-12-02 19:59:04:775) : Waiting... fWaitSignal
00004510 : TExceptionUploaderInstance - Running (since 2020-12-02 19:54:51:150) : Running - Blocked (since 2020-12-02 19:54:51:843) : Waiting... fWaitSignal
00004944 : TFontCachePool - Running (since 2020-12-02 19:54:51:846) : Running - Blocked (since 2020-12-02 19:54:56:115) : Waiting... TThreadPool.Create:fEventList
00001338 : TFontCachePool:TPoolWorker(0) - Running (since 2020-12-02 19:54:51:845) : Running - Blocked (since 2020-12-02 19:54:56:076) : Waiting... TPoolWorker.fBusy@75268528
0000462C : TFontCachePool:TPoolWorker(1) - Running (since 2020-12-02 19:54:51:845) : Running - Blocked (since 2020-12-02 19:54:51:845) : Waiting... TPoolWorker.fBusy@75268672
00002234 : TFontCachePool:TPoolWorker(2) - Running (since 2020-12-02 19:54:51:845) : Running - Blocked (since 2020-12-02 19:54:51:845) : Waiting... TPoolWorker.fBusy@75268816
00000640 : TFontCachePool:TPoolWorker(3) - Running (since 2020-12-02 19:54:51:846) : Running - Blocked (since 2020-12-02 19:54:51:846) : Waiting... TPoolWorker.fBusy@75268960
00004640 : TGarbageCollectorInstance - Running (since 2020-12-02 19:54:54:455) : Running

- Info -
MainType: Initialize (2020-12-02 19:54:51)
High-Logic Font management service: 3.6.0.1069 (2020-12-02 19:54:53)
High-Logic Font management service support library: 3.8.5.0 (2020-12-02 19:54:53)
Attachments
Last error file
Last error file
MainType error data 1.jpg (85.31 KiB) Viewed 5895 times
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: MainType 10.0 Call to OS function failed

Post by Erwin Denissen »

This problem occurs in a third-party component. I have contacted them, so I expect a solution soon.
Erwin Denissen
High-Logic
Proven Font Technology
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: MainType 10.0 Call to OS function failed

Post by Erwin Denissen »

The vendor replied with a potential solution, so I am confident we are close to fixing the issue.

First one more release that should reveal the actual cause of the problems, so can you please download and run this version:

https://www.high-logic.com/tmp/maintype ... 0.1251.exe

Then you should still get the error, but now the error report should contain layout information.
Erwin Denissen
High-Logic
Proven Font Technology
bizymare
Posts: 8
Joined: Wed Dec 02, 2020 8:41 am

Re: MainType 10.0 Call to OS function failed

Post by bizymare »

Here is the last data file with errors and a screen shot, again. Also now getting a memory leak error.
Attachments
MainType memory leak.jpg
MainType memory leak.jpg (64.34 KiB) Viewed 5779 times
MainType error data Dec 7 2020.jpg
MainType error data Dec 7 2020.jpg (63.41 KiB) Viewed 5779 times
MainType error Dec 7 2020.txt
(52.09 KiB) Downloaded 231 times
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: MainType 10.0 Call to OS function failed

Post by Erwin Denissen »

Unfortunately we have not been able to locate the exact cause of the issue, but we have provided a work-around in this update:

https://www.high-logic.com/tmp/maintype ... 0.1252.exe

Do start it, and as soon as you see it is starting, hold down the Ctrl key until a message pops up:
MainTypeRestoreLayout.png
MainTypeRestoreLayout.png (15.61 KiB) Viewed 5771 times
Click yes, and the error should be gone. No need to repeat this, as from now on the layout settings will be valid again. Let us know your results.
Erwin Denissen
High-Logic
Proven Font Technology
bizymare
Posts: 8
Joined: Wed Dec 02, 2020 8:41 am

Re: MainType 10.0 Call to OS function failed

Post by bizymare »

That worked! Thank you for putting the time and effort into creating a fix. I truly appreciate it.
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: MainType 10.0 Call to OS function failed

Post by Erwin Denissen »

Great; glad to know this issue is solved.

We know other companies who sell a font manager just removed their forum as they received too many complaints. We strive to improve our software ;-)
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply