Floatingpoint error if chart is too small

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
gsachs
Newbie
Newbie
Posts: 6
Joined: Tue Mar 14, 2017 12:00 am

Floatingpoint error if chart is too small

Post by gsachs » Thu Dec 14, 2017 10:11 am

I have a form with dynamically created charts.
The number of charts and the form size is defined by the customer.
If he accidentally selects the wrong parameters, a charts height may become very small.
Normally not a problem, the user will notice that the chart cannot show anything useful and change parameters.
However, Teechart runs into a floatingpoint exception, that is visible while single stepping, see below bugreport.txt.
Running the program without singlestep blocks the whole IDE, even the Taskmanager is unaccesible.
The problem can be avoided by ensuring a minimum chart height of 40pixels, this is what I am doing now.

Regards
Gerhard Sachs
#################################### bugreport.txt########################################################
date/time : 2017-12-14, 10:04:32, 631ms
computer name : WIN-6UJTF8OIGQ9
user name : gs <admin>
operating system : Windows 10 x64 build 15063
system language : German
system up time : 1 hour 12 minutes
program up time : 38 seconds
processors : 2x Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
physical memory : 5477/8191 MB (free/total)
free disk space : (C:) 7,81 GB
display mode : 1920x1200, 32 bit
process id : $2b0c
allocated memory : 145,32 MB
largest free block : 1,33 GB
executable : Pma868_2017.exe
exec. date/time : 2017-12-14 10:02
version : 868.2017.0.147
compiled with : Delphi 10.1 Berlin
madExcept version : 4.0.16
callstack crc : $ccc321dd, $96e77d26, $d9a69fce
exception number : 1
exception class : EOverflow
exception message : Gleitkommaüberlauf.

main thread ($e38):
012ba017 +043 Pma868_2017.exe VCLTee.TeEngine DoDefaultLabels
012ba274 +030 Pma868_2017.exe VCLTee.TeEngine DoNotCustomLabels
012ba972 +17e Pma868_2017.exe VCLTee.TeEngine DoDrawLabels
012badb0 +0c4 Pma868_2017.exe VCLTee.TeEngine TChartAxis.Draw
012ca6e2 +0ae Pma868_2017.exe VCLTee.TeEngine DrawAllAxis
012cb21f +033 Pma868_2017.exe VCLTee.TeEngine TCustomAxisPanel.DrawAxesSeries
012ca5c8 +1c8 Pma868_2017.exe VCLTee.TeEngine TCustomAxisPanel.InternalDraw
012883fd +11d Pma868_2017.exe VCLTee.TeeProcs InnerDraw
012884bd +021 Pma868_2017.exe VCLTee.TeeProcs TCustomTeePanel.Draw
012880de +042 Pma868_2017.exe VCLTee.TeeProcs TCustomTeePanel.Draw
01288596 +05e Pma868_2017.exe VCLTee.TeeProcs TCustomTeePanel.Paint
005d7a8b +057 Pma868_2017.exe Vcl.Controls TCustomControl.PaintWindow
005d1935 +055 Pma868_2017.exe Vcl.Controls TWinControl.PaintHandler
005d60f3 +06f Pma868_2017.exe Vcl.Controls TWinControl.WMPrintClient
005ccc1e +2be Pma868_2017.exe Vcl.Controls TControl.WndProc
005d1769 +5e9 Pma868_2017.exe Vcl.Controls TWinControl.WndProc
01288c84 +00c Pma868_2017.exe VCLTee.TeeProcs TCustomTeePanel.WndProc
005cc858 +024 Pma868_2017.exe Vcl.Controls TControl.Perform
005d21a7 +0cb Pma868_2017.exe Vcl.Controls TWinControl.WMPaint
005d7a25 +011 Pma868_2017.exe Vcl.Controls TCustomControl.WMPaint
005ccc1e +2be Pma868_2017.exe Vcl.Controls TControl.WndProc
005d1769 +5e9 Pma868_2017.exe Vcl.Controls TWinControl.WndProc
01288c84 +00c Pma868_2017.exe VCLTee.TeeProcs TCustomTeePanel.WndProc
005d0d88 +02c Pma868_2017.exe Vcl.Controls TWinControl.MainWndProc
0054c0e8 +014 Pma868_2017.exe System.Classes StdWndProc
7742411b +04b ntdll.dll KiUserCallbackDispatcher
74874feb +00b user32.dll DispatchMessageW
006d68eb +0f3 Pma868_2017.exe Vcl.Forms TApplication.ProcessMessage
006d692e +00a Pma868_2017.exe Vcl.Forms TApplication.HandleMessage
006d6c61 +0c9 Pma868_2017.exe Vcl.Forms TApplication.Run
01cc1644 +064 Pma868_2017.exe Pma868_2017 100 +5 initialization
763a8742 +022 KERNEL32.DLL BaseThreadInitThunk

thread $cb8:
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk

thread $2f7c:
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk

thread $ff0: <priority:15>
74b03f9d +fd KERNELBASE.dll WaitForMultipleObjectsEx
74b03e83 +13 KERNELBASE.dll WaitForMultipleObjects
00913a5a +8a Pma868_2017.exe nxllMemoryManagerImpl 484 +22 CleanupThreadProc
004b6921 +0d Pma868_2017.exe madExcept CallThreadProcSafe
004b6986 +32 Pma868_2017.exe madExcept ThreadExceptFrame
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk
>> created by main thread ($e38) at:
00913c17 +23 Pma868_2017.exe nxllMemoryManagerImpl 593 +3 StartCleanupThread

thread $2abc:
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk

thread $15b8:
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk

thread $2a18: <priority:2>
7486c27e +4e user32.dll GetMessageA
004b6921 +0d Pma868_2017.exe madExcept CallThreadProcSafe
004b6986 +32 Pma868_2017.exe madExcept ThreadExceptFrame
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk
>> created by main thread ($e38) at:
6dec31bb +00 winmm.dll

thread $2718 (TnxSimpleTimerThread): <priority:2>
74af9bd3 +93 KERNELBASE.dll WaitForSingleObjectEx
74af9b2d +0d KERNELBASE.dll WaitForSingleObject
0092127c +0c Pma868_2017.exe nxllSync 233 +3 TnxEvent.WaitForQuietly
00931808 +18 Pma868_2017.exe nxllThread 909 +2 TnxTimerThread.InnerExecute
00931202 +7a Pma868_2017.exe nxllThread 647 +18 TnxInternalInitThread.DoExecute
00930fe9 +25 Pma868_2017.exe nxllThread 482 +3 TnxThread.Execute
004b6a3b +2b Pma868_2017.exe madExcept HookedTThreadExecute
0054832d +49 Pma868_2017.exe System.Classes ThreadProc
0040cbc4 +28 Pma868_2017.exe System 949 +0 ThreadWrapper
004b6921 +0d Pma868_2017.exe madExcept CallThreadProcSafe
004b6986 +32 Pma868_2017.exe madExcept ThreadExceptFrame
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk
>> created by main thread ($e38) at:
00930f2f +2f Pma868_2017.exe nxllThread 407 +3 TnxThread.Create

thread $2584 (TnxSimpleTimerThread): <priority:2>
74af9bd3 +93 KERNELBASE.dll WaitForSingleObjectEx
74af9b2d +0d KERNELBASE.dll WaitForSingleObject
0092127c +0c Pma868_2017.exe nxllSync 233 +3 TnxEvent.WaitForQuietly
00931808 +18 Pma868_2017.exe nxllThread 909 +2 TnxTimerThread.InnerExecute
00931202 +7a Pma868_2017.exe nxllThread 647 +18 TnxInternalInitThread.DoExecute
00930fe9 +25 Pma868_2017.exe nxllThread 482 +3 TnxThread.Execute
004b6a3b +2b Pma868_2017.exe madExcept HookedTThreadExecute
0054832d +49 Pma868_2017.exe System.Classes ThreadProc
0040cbc4 +28 Pma868_2017.exe System 949 +0 ThreadWrapper
004b6921 +0d Pma868_2017.exe madExcept CallThreadProcSafe
004b6986 +32 Pma868_2017.exe madExcept ThreadExceptFrame
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk
>> created by main thread ($e38) at:
00930f2f +2f Pma868_2017.exe nxllThread 407 +3 TnxThread.Create

thread $12b0 (TReadThread):
74b03f9d +fd KERNELBASE.dll WaitForMultipleObjectsEx
005a9b52 +56 Pma868_2017.exe System.SyncObjs THandleObject.WaitFor
0071272d +8d Pma868_2017.exe LNSWin32 758 +23 TReadThread.Execute
004b6a3b +2b Pma868_2017.exe madExcept HookedTThreadExecute
0054832d +49 Pma868_2017.exe System.Classes ThreadProc
0040cbc4 +28 Pma868_2017.exe System 949 +0 ThreadWrapper
004b6921 +0d Pma868_2017.exe madExcept CallThreadProcSafe
004b6986 +32 Pma868_2017.exe madExcept ThreadExceptFrame
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk
>> created by main thread ($e38) at:
00710c3b +2b Pma868_2017.exe AwUser 4221 +2 TApdDispatcherThread.Create

thread $249c (TDispThread):
74b03f9d +fd KERNELBASE.dll WaitForMultipleObjectsEx
005a9b52 +56 Pma868_2017.exe System.SyncObjs THandleObject.WaitFor
00706a22 +26 Pma868_2017.exe LnsQueue 280 +4 TIOQueue.WaitForBuffer
00710f83 +5f Pma868_2017.exe AwUser 4774 +25 TDispThread.Execute
004b6a3b +2b Pma868_2017.exe madExcept HookedTThreadExecute
0054832d +49 Pma868_2017.exe System.Classes ThreadProc
0040cbc4 +28 Pma868_2017.exe System 949 +0 ThreadWrapper
004b6921 +0d Pma868_2017.exe madExcept CallThreadProcSafe
004b6986 +32 Pma868_2017.exe madExcept ThreadExceptFrame
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk
>> created by main thread ($e38) at:
00710c3b +2b Pma868_2017.exe AwUser 4221 +2 TApdDispatcherThread.Create

thread $2278 (TWriteThread):
74b03f9d +fd KERNELBASE.dll WaitForMultipleObjectsEx
74b03e83 +13 KERNELBASE.dll WaitForMultipleObjects
00712a8e +6e Pma868_2017.exe LNSWin32 904 +19 TWriteThread.Execute
004b6a3b +2b Pma868_2017.exe madExcept HookedTThreadExecute
0054832d +49 Pma868_2017.exe System.Classes ThreadProc
0040cbc4 +28 Pma868_2017.exe System 949 +0 ThreadWrapper
004b6921 +0d Pma868_2017.exe madExcept CallThreadProcSafe
004b6986 +32 Pma868_2017.exe madExcept ThreadExceptFrame
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk
>> created by main thread ($e38) at:
00710c3b +2b Pma868_2017.exe AwUser 4221 +2 TApdDispatcherThread.Create

thread $271c (TStatusThread):
74af9bd3 +93 KERNELBASE.dll WaitForSingleObjectEx
74af9b2d +0d KERNELBASE.dll WaitForSingleObject
00712619 +15 Pma868_2017.exe LNSWin32 704 +2 TApdWin32Thread.WaitForOverlapped
007131a7 +ab Pma868_2017.exe LNSWin32 1251 +19 TStatusThread.WaitSerialEvent
00712fec +94 Pma868_2017.exe LNSWin32 1162 +26 TStatusThread.Execute
004b6a3b +2b Pma868_2017.exe madExcept HookedTThreadExecute
0054832d +49 Pma868_2017.exe System.Classes ThreadProc
0040cbc4 +28 Pma868_2017.exe System 949 +0 ThreadWrapper
004b6921 +0d Pma868_2017.exe madExcept CallThreadProcSafe
004b6986 +32 Pma868_2017.exe madExcept ThreadExceptFrame
763a8742 +22 KERNEL32.DLL BaseThreadInitThunk
>> created by main thread ($e38) at:
00710c3b +2b Pma868_2017.exe AwUser 4221 +2 TApdDispatcherThread.Create

modules:
00400000 Pma868_2017.exe 868.2017.0.147 c:\localnet\s\messtec\Pma868_2017\pc\source_DX
10000000 MscDll.dll 1.22.0.0 c:\localnet\s\messtec\Pma868_2017\pc\source_DX
65ca0000 DWrite.dll 10.0.15063.674 C:\WINDOWS\SYSTEM32
66460000 DAVHLPR.dll 10.0.15063.0 C:\WINDOWS\System32
66470000 davclnt.dll 10.0.15063.0 C:\WINDOWS\System32
66490000 ntlanman.dll 10.0.15063.0 C:\WINDOWS\System32
664b0000 drprov.dll 10.0.15063.0 C:\WINDOWS\System32
664c0000 vmhgfs.dll 10.0.1.0 C:\WINDOWS\System32
66f40000 FONTSUB.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
66f60000 msimg32.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6c860000 WindowsCodecs.dll 10.0.15063.483 C:\WINDOWS\SYSTEM32
6c9e0000 olepro32.dll 10.0.15063.675 C:\WINDOWS\SYSTEM32
6ca00000 usermgrcli.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6ca10000 ntmarta.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6ca40000 CoreMessaging.dll 10.0.15063.675 C:\WINDOWS\System32
6cad0000 CoreUIComponents.dll 10.0.15063.675 C:\WINDOWS\System32
6cd00000 TextInputFramework.dll 10.0.15063.502 C:\WINDOWS\System32
6cd70000 WINSTA.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6cdc0000 wtsapi32.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6cdd0000 cscapi.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6ce40000 winspool.drv 10.0.15063.608 C:\WINDOWS\SYSTEM32
6ceb0000 oleacc.dll 7.2.15063.447 C:\WINDOWS\SYSTEM32
6cff0000 SHFolder.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6d000000 apphelp.dll 10.0.15063.447 C:\WINDOWS\SYSTEM32
6d730000 wintypes.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6d810000 msxml6.dll 6.30.15063.0 C:\Windows\System32
6db50000 NETUTILS.DLL 10.0.15063.0 C:\WINDOWS\SYSTEM32
6dc30000 wkscli.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6dc40000 dbgcore.DLL 10.0.15063.0 C:\WINDOWS\SYSTEM32
6dca0000 WINMMBASE.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6dd00000 netapi32.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6dd40000 dbghelp.dll 10.0.15063.447 C:\WINDOWS\SYSTEM32
6dea0000 mpr.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6dec0000 winmm.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
6e110000 FaultRep.dll 10.0.15063.726 C:\WINDOWS\SYSTEM32
6f8b0000 propsys.DLL 7.0.15063.0 C:\WINDOWS\SYSTEM32
6fd20000 uxtheme.dll 10.0.15063.0 C:\WINDOWS\system32
6fda0000 dwmapi.dll 10.0.15063.483 C:\WINDOWS\system32
6fdd0000 comctl32.dll 6.10.15063.0 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.483_none_6dad63fefc436da8
6ffe0000 gdiplus.dll 10.0.15063.608 C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.15063.608_none_9e9d5d4256d15def
70e60000 wsock32.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
71490000 mswsock.dll 10.0.15063.0 C:\WINDOWS\system32
71fd0000 bcrypt.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
73bc0000 version.dll 10.0.15063.0 C:\WINDOWS\SYSTEM32
73d60000 CRYPTBASE.dll 10.0.15063.0 C:\WINDOWS\System32
73d70000 SspiCli.dll 10.0.15063.674 C:\WINDOWS\System32
73d90000 clbcatq.dll 2001.12.10941.16384 C:\WINDOWS\System32
73e80000 windows.storage.dll 10.0.15063.674 C:\WINDOWS\System32
74470000 MSCTF.dll 10.0.15063.674 C:\WINDOWS\System32
74680000 RPCRT4.dll 10.0.15063.674 C:\WINDOWS\System32
74740000 usp10.dll 10.0.15063.0 C:\WINDOWS\System32
74760000 comdlg32.dll 10.0.15063.502 C:\WINDOWS\System32
74850000 user32.dll 10.0.15063.726 C:\WINDOWS\System32
74990000 msvcp_win.dll 10.0.15063.0 C:\WINDOWS\System32
74a10000 KERNELBASE.dll 10.0.15063.726 C:\WINDOWS\System32
74be0000 sechost.dll 10.0.15063.0 C:\WINDOWS\System32
74c30000 advapi32.dll 10.0.15063.674 C:\WINDOWS\System32
74cb0000 msvcrt.dll 7.0.15063.0 C:\WINDOWS\System32
74d70000 cfgmgr32.dll 10.0.15063.0 C:\WINDOWS\System32
74dc0000 shcore.dll 10.0.15063.608 C:\WINDOWS\System32
74e50000 bcryptPrimitives.dll 10.0.15063.726 C:\WINDOWS\System32
75020000 shell32.dll 10.0.15063.726 C:\WINDOWS\System32
76370000 profapi.dll 10.0.15063.0 C:\WINDOWS\System32
76390000 KERNEL32.DLL 10.0.15063.296 C:\WINDOWS\System32
76460000 oleaut32.dll 10.0.15063.674 C:\WINDOWS\System32
76500000 powrprof.dll 10.0.15063.0 C:\WINDOWS\System32
765e0000 ws2_32.dll 10.0.15063.0 C:\WINDOWS\System32
76650000 ole32.dll 10.0.15063.502 C:\WINDOWS\System32
76750000 gdi32full.dll 10.0.15063.674 C:\WINDOWS\System32
769c0000 IMM32.DLL 10.0.15063.0 C:\WINDOWS\System32
76a00000 GDI32.dll 10.0.15063.483 C:\WINDOWS\System32
76a30000 win32u.dll 10.0.15063.608 C:\WINDOWS\System32
76a50000 shlwapi.dll 10.0.15063.502 C:\WINDOWS\System32
76aa0000 kernel.appcore.dll 10.0.15063.0 C:\WINDOWS\System32
76ab0000 ucrtbase.dll 10.0.15063.674 C:\WINDOWS\System32
76d50000 combase.dll 10.0.15063.608 C:\WINDOWS\System32
773b0000 ntdll.dll 10.0.15063.608 C:\WINDOWS\SYSTEM32

processes:
0000 Idle 0 0 0
0004 System 0 0 0
0120 smss.exe 0 0 0
01c4 csrss.exe 0 0 0
0218 wininit.exe 0 0 0
0228 csrss.exe 1 0 0
0278 winlogon.exe 1 5 0 high C:\Windows\System32
02a0 services.exe 0 0 0
02ac lsass.exe 0 0 0 normal C:\Windows\System32
030c svchost.exe 0 0 0 normal C:\Windows\System32
0324 svchost.exe 0 0 0 normal C:\Windows\System32
0330 fontdrvhost.exe 1 4 5 normal C:\Windows\System32
032c fontdrvhost.exe 0 0 0 normal C:\Windows\System32
0398 svchost.exe 0 0 0 normal C:\Windows\System32
03c0 svchost.exe 0 0 0 normal C:\Windows\System32
0138 dwm.exe 1 16 6 high C:\Windows\System32
0364 svchost.exe 0 0 0 normal C:\Windows\System32
041c svchost.exe 0 0 0 normal C:\Windows\System32
043c svchost.exe 0 0 0 normal C:\Windows\System32
047c svchost.exe 0 0 0 normal C:\Windows\System32
04b0 svchost.exe 0 0 0 normal C:\Windows\System32
04c8 svchost.exe 0 0 0 normal C:\Windows\System32
04fc svchost.exe 0 0 0 normal C:\Windows\System32
0540 svchost.exe 0 0 0 normal C:\Windows\System32
0550 svchost.exe 0 0 0 normal C:\Windows\System32
05a0 svchost.exe 0 0 0 normal C:\Windows\System32
05b0 svchost.exe 0 0 0 normal C:\Windows\System32
0620 vmacthlp.exe 0 0 0 normal C:\Program Files\VMware\VMware Tools
0628 svchost.exe 0 0 0 normal C:\Windows\System32
0678 svchost.exe 0 0 0 normal C:\Windows\System32
0684 svchost.exe 0 0 0 normal C:\Windows\System32
06c0 svchost.exe 0 0 0 normal C:\Windows\System32
06c8 svchost.exe 0 0 0 normal C:\Windows\System32
06d0 svchost.exe 0 0 0 normal C:\Windows\System32
0728 svchost.exe 0 0 0 normal C:\Windows\System32
0744 svchost.exe 0 0 0 normal C:\Windows\System32
07c8 svchost.exe 0 0 0 normal C:\Windows\System32
07fc svchost.exe 0 0 0 normal C:\Windows\System32
0410 svchost.exe 0 0 0 normal C:\Windows\System32
0514 svchost.exe 0 0 0 normal C:\Windows\System32
0588 svchost.exe 0 0 0 normal C:\Windows\System32
0780 svchost.exe 0 0 0 normal C:\Windows\System32
0870 svchost.exe 0 0 0 normal C:\Windows\System32
08f8 svchost.exe 0 0 0 normal C:\Windows\System32
0900 svchost.exe 0 0 0 normal C:\Windows\System32
0960 svchost.exe 0 0 0 normal C:\Windows\System32
0974 svchost.exe 0 0 0 normal C:\Windows\System32
09b4 svchost.exe 0 0 0 normal C:\Windows\System32
0a40 spoolsv.exe 0 0 0 normal C:\Windows\System32
0a94 svchost.exe 0 0 0 normal C:\Windows\System32
0ac8 svchost.exe 0 0 0 normal C:\Windows\System32
0b14 svchost.exe 0 0 0 normal C:\Windows\System32
0b34 dasHost.exe 0 0 0 normal C:\Windows\System32
0b98 armsvc.exe 0 0 0 normal C:\Program Files (x86)\Common Files\Adobe\ARM\1.0
0ba8 svchost.exe 0 0 0 normal C:\Windows\System32
0bb8 officeclicktorun.exe 0 0 0 normal C:\Program Files\Microsoft Office 15\ClientX64
0bc4 svchost.exe 0 0 0 normal C:\Windows\System32
0bd0 svchost.exe 0 0 0 normal C:\Windows\System32
0bfc svchost.exe 0 0 0 normal C:\Windows\System32
0bf4 IpOverUsbSvc.exe 0 0 0 normal C:\Program Files (x86)\Common Files\Microsoft Shared\Phone Tools\CoreCon\11.0\bin
0888 svchost.exe 0 0 0 normal C:\Windows\System32
0720 mqsvc.exe 0 0 0 normal C:\Windows\System32
0944 svchost.exe 0 0 0 normal C:\Windows\System32
0948 svchost.exe 0 0 0 normal C:\Windows\System32
0ab4 svchost.exe 0 0 0 normal C:\Windows\System32
0c14 SecurityHealthService.exe 0 0 0
0c24 svchost.exe 0 0 0 normal C:\Windows\System32
0c2c sqlwriter.exe 0 0 0 normal C:\Program Files\Microsoft SQL Server\90\Shared
0c4c svchost.exe 0 0 0 normal C:\Windows\System32
0c6c svchost.exe 0 0 0 normal C:\Windows\System32
0c90 VGAuthService.exe 0 0 0 normal C:\Program Files\VMware\VMware Tools\VMware VGAuth
0c9c vmtoolsd.exe 0 0 0 high C:\Program Files\VMware\VMware Tools
0ca8 svchost.exe 0 0 0 normal C:\Windows\System32
0cb0 ManagementAgentHost.exe 0 0 0 normal C:\Program Files\VMware\VMware Tools\VMware CAF\pme\bin
0ccc MsMpEng.exe 0 0 0
0ce4 svchost.exe 0 0 0 normal C:\Windows\System32
0e18 svchost.exe 0 0 0 normal C:\Windows\System32
0e28 Memory Compression 0 0 0
0efc svchost.exe 0 0 0 normal C:\Windows\System32
1014 svchost.exe 0 0 0 normal C:\Windows\System32
1094 svchost.exe 0 0 0 normal C:\Windows\System32
10e4 SMSvcHost.exe 0 0 0 normal C:\Windows\Microsoft.NET\Framework64\v4.0.30319
11e0 dllhost.exe 0 0 0 normal C:\Windows\System32
1210 SMSvcHost.exe 0 0 0 normal C:\Windows\Microsoft.NET\Framework64\v4.0.30319
128c WmiPrvSE.exe 0 0 0 normal C:\Windows\System32\wbem
0e08 svchost.exe 0 0 0 normal C:\Windows\System32
1208 sihost.exe 1 4 14 normal C:\Windows\System32
1418 svchost.exe 1 4 1 normal C:\Windows\System32
1474 svchost.exe 1 4 4 normal C:\Windows\System32
14dc taskhostw.exe 1 13 14 normal C:\Windows\System32
1508 svchost.exe 0 0 0 normal C:\Windows\System32
164c explorer.exe 1 196 200 normal C:\Windows
1664 NisSrv.exe 0 0 0
1694 msdtc.exe 0 0 0 normal C:\Windows\System32
1844 ShellExperienceHost.exe 1 4 56 normal C:\Windows\SystemApps\ShellExperienceHost_cw5n1h2txyewy
1868 SearchUI.exe 1 17 47 normal C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy
194c SearchIndexer.exe 0 0 0 normal C:\Windows\System32
19a4 RuntimeBroker.exe 1 35 4 normal C:\Windows\System32
1be0 svchost.exe 0 0 0 normal C:\Windows\System32
0150 svchost.exe 0 0 0 normal C:\Windows\System32
2bb0 svchost.exe 0 0 0 normal C:\Windows\System32
2b18 MSASCuiL.exe 1 7 6 normal C:\Program Files\Windows Defender
2b44 svchost.exe 0 0 0 normal C:\Windows\System32
2b80 vmtoolsd.exe 1 59 32 normal C:\Program Files\VMware\VMware Tools
2db0 OneDrive.exe 1 55 31 normal C:\Users\gs\AppData\Local\Microsoft\OneDrive
2e40 TOTALCMD64.EXE 1 397 282 normal C:\Program Files\totalcmd
2f08 VCDDaemon.exe 1 13 7 normal C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive
2f58 svchost.exe 0 0 0 normal C:\Windows\System32
2fec svchost.exe 0 0 0 normal C:\Windows\System32
16d8 svchost.exe 0 0 0 normal C:\Windows\System32
0940 svchost.exe 1 4 1 normal C:\Windows\System32
26f4 svchost.exe 0 0 0 normal C:\Windows\System32
2770 MpCmdRun.exe 0 0 0 normal C:\ProgramData\Microsoft\Windows Defender\Platform\4.12.17007.17123-0
2794 MpCmdRun.exe 0 0 0 normal C:\ProgramData\Microsoft\Windows Defender\Platform\4.12.17007.17123-0
27a0 conhost.exe 0 0 0 normal C:\Windows\System32
165c svchost.exe 0 0 0 normal C:\Windows\System32
1ed8 audiodg.exe 0 0 0 normal C:\Windows\System32
2c14 Taskmgr.exe 1 1274 479 normal C:\Windows\System32
0064 bds.exe 1 2290 898 normal C:\Program Files (x86)\Embarcadero\Studio\18.0\bin
2b0c Pma868_2017.exe 1 392 311 normal C:\localnet\S\Messtec\Pma868_2017\PC\source_DX

hardware:
+ {1ed2bbf9-11f0-4084-b21f-ad83a8e6dcdc}
- Fax
- Microsoft Print to PDF
- Microsoft XPS Document Writer
- Send To OneNote 2013
- Stammdruckwarteschlange
+ {36fc9e60-c465-11cf-8056-444553540000}
- Generic USB Hub
- Generischer USB-Hub
- Generischer USB-Hub
- Standard PCI-zu-USB erweiterter Hostcontroller
- Standard PCI-zu-USB universeller Hostcontroller
- Standard USB 3.0 eXtensible-Hostcontroller – 1.0 (Microsoft)
- USB-Root-Hub
- USB-Root-Hub
- USB-Root-Hub (USB 3.0)
- USB-Verbundgerät
+ {4d36e965-e325-11ce-bfc1-08002be10318}
- ELBY CLONEDRIVE SCSI CdRom Device
- NECVMWar VMware SATA CD01
+ {4d36e966-e325-11ce-bfc1-08002be10318}
- ACPI x64-basierter PC
+ {4d36e967-e325-11ce-bfc1-08002be10318}
- VMware, VMware Virtual S SCSI Disk Device
+ {4d36e968-e325-11ce-bfc1-08002be10318}
- VMware SVGA 3D (driver 8.15.1.50)
+ {4d36e96a-e325-11ce-bfc1-08002be10318}
- ATA Channel 0
- ATA Channel 1
- Intel(R) 82371AB/EB PCI-Bus-Master-IDE-Controller
- Standardmäßiger SATA AHCI- Controller
+ {4d36e96b-e325-11ce-bfc1-08002be10318}
- PS/2-Standardtastatur
+ {4d36e96c-e325-11ce-bfc1-08002be10318}
- High Definition Audio-Gerät
+ {4d36e96e-e325-11ce-bfc1-08002be10318}
- Nicht-PnP Monitor (Standard)
+ {4d36e96f-e325-11ce-bfc1-08002be10318}
- HID-konforme Maus
- VMware Pointing Device (driver 12.5.7.0)
- VMware USB Pointing Device (driver 12.5.7.0)
+ {4d36e972-e325-11ce-bfc1-08002be10318}
- Intel(R) 82574L Gigabit Network Connection
- Intel(R) PRO/1000 MT-Netzwerkverbindung
- Intel(R) PRO/1000 MT-Netzwerkverbindung #2
- Microsoft Kernel Debug Network Adapter
+ {4d36e978-e325-11ce-bfc1-08002be10318}
- Kommunikationsanschluss (COM1)
- Kommunikationsanschluss (COM2)
+ {4d36e97b-e325-11ce-bfc1-08002be10318}
- LSI-Adapter, SAS 3000-Serie, 8-Port mit 1068 (driver 1.34.3.83)
- Microsoft-Controller für Speicherplätze
- Virtual CloneDrive (driver 5.4.7.0)
+ {4d36e97d-e325-11ce-bfc1-08002be10318}
- ACPI-Schalter
- Busenumerator für Verbundgeräte
- CPU-zu-PCI-Brücke
- DMA-Controller
- Enumerator für virtuelle NDIS-Netzwerkadapter
- Hauptplatinenressourcen
- Hauptplatinenressourcen
- High Definition Audio-Controller
- Hochpräzisionsereigniszeitgeber
- Microsoft ACPI-konformes System
- Microsoft Basic Display Driver
- Microsoft Basic Render Driver
- Microsoft Hyper-V-Generierungszähler
- Microsoft virtueller Datenträgerenumerator
- Microsoft-Systemverwaltungs-BIOS-Treiber
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI Express-Stammport
- PCI-Bus
- PCI-zu-ISA-Brücke
- PCI-zu-PCI-Brücke
- PCI-zu-PCI-Brücke
- PnP-Softwaregeräte-Enumerator
- Programmierbarer EISA-Interruptcontroller
- Remote Desktop Device Redirector Bus
- Remote Desktop USB Hub
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- Standardbus
- System CMOS/Echtzeituhr
- Systemlautsprecher
- Systemzeitgeber
- UMBus-Stamm-Busenumerator
- UMBusenumerator
- UMBusenumerator
- UMBusenumerator
- VMware VMCI Bus Device (driver 9.8.6.0)
- VMware VMCI Host Device (driver 9.8.6.0)
- Volume-Manager
+ {50127dc3-0f36-415e-a6cc-4cb3be910b65}
- Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
- Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
+ {5175d334-c371-4806-b3ba-71fd53c9258d}
- Microsoft Visual Studio Location Simulator Sensor (driver 11.0.0.0)
+ {62f9c741-b25a-46ce-b54c-9bccce08b6f2}
- Microsoft Device Association Root Enumerator
- Microsoft GS Wavetable Synthesizer
- Microsoft Radio Device Enumeration Bus
+ {72631e54-78a4-11d0-bcf7-00aa00b7b32a}
- Microsoft-Netzteil
+ {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
- USB-Eingabegerät
- USB-Eingabegerät
+ {c166523c-fe0c-4a94-a586-f1a80cfbbf3e}
- Lautsprecher (High Definition Audio-Gerät)
- Mikrofon (High Definition Audio-Gerät)

cpu registers:
eax = 0019f718
ebx = 0019f70c
ecx = 0019f6cc
edx = 0019f718
esi = 0019f70c
edi = 00000002
eip = 012ba017
esp = 0019f6a4
ebp = 0019f6c0

stack dump:
0019f6a4 02 00 00 00 04 2d 34 01 - 0c f7 19 00 00 00 00 00 .....-4.........
0019f6b4 00 00 24 40 00 00 00 00 - 00 00 24 40 cc f6 19 00 ..$@......$@....
0019f6c4 79 a2 2b 01 18 f7 19 00 - e0 f6 19 00 77 a9 2b 01 y.+.........w.+.
0019f6d4 18 f7 19 00 04 2d 34 01 - 01 90 40 0f 18 f7 19 00 .....-4...@.....
0019f6e4 b5 ad 2b 01 18 f7 19 00 - 04 00 00 00 b0 90 40 0f ..+...........@.
0019f6f4 3c 00 00 1b 01 00 00 00 - 00 00 00 00 05 00 00 00 <...............
0019f704 4b 01 02 00 00 00 00 00 - b0 90 40 0f f0 11 2d 01 K.........@...-.
0019f714 04 00 00 00 2c f7 19 00 - e7 a6 2c 01 64 f7 19 00 ....,.....,.d...
0019f724 dc ef 3e 0f 3c f7 19 00 - 40 f7 19 00 24 b2 2c 01 ..>.<...@...$.,.
0019f734 40 f7 19 00 04 2d 34 01 - 60 ec 3e 0f 6c f7 19 00 @....-4.`.>.l...
0019f744 cd a5 2c 01 38 ef 3e 0f - 90 f7 19 00 bc f7 19 00 ..,.8.>.........
0019f754 1f 00 00 00 05 00 00 00 - 4b 01 00 00 20 00 00 00 ........K... ...
0019f764 12 00 00 01 60 ec 3e 0f - 90 f7 19 00 03 84 28 01 ....`.>.......(.
0019f774 00 00 00 00 60 ec 3e 0f - 94 27 2e 01 00 00 00 00 ....`.>..'......
0019f784 00 00 00 00 4f 01 00 00 - 21 00 00 00 c0 f7 19 00 ....O...!.......
0019f794 c2 84 28 01 c0 f7 19 00 - f4 f7 19 00 db c3 40 00 ..(...........@.
0019f7a4 c0 f7 19 00 00 00 00 00 - 60 ec 3e 0f 94 27 2e 01 ........`.>..'..
0019f7b4 c8 f7 19 00 90 25 3e 0f - 60 ec 3e 0f 14 f8 19 00 .....%>.`.>.....
0019f7c4 e4 80 28 01 00 00 00 00 - 00 00 00 00 4f 01 00 00 ..(.........O...
0019f7d4 21 00 00 00 60 ec 3e 0f - 00 00 00 00 9b 85 28 01 !...`.>.......(.

disassembling:
[...]
01cc1630 mov eax, [eax]
01cc1632 mov edx, [$1bf343c]
01cc1638 call -$15eac01 ($6d6a3c) ; Vcl.Forms.TApplication.CreateForm
01cc163d 100 mov eax, [$1d0e8c8]
01cc1642 mov eax, [eax]
01cc1644 > call -$15eaab1 ($6d6b98) ; Vcl.Forms.TApplication.Run
01cc1649 101 call -$18b4c46 ($40ca08) ; System.@Halt0

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Floatingpoint error if chart is too small

Post by Yeray » Thu Dec 14, 2017 10:59 am

Hello,

Are you using the latest v2017.22?
I've tried to reproduce the problem with this but I don't see any crash:

Code: Select all

uses Chart, Series;

var Chart1: TChart;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;

  Chart1.View3D:=False;
  Chart1.Legend.Visible:=False;
  Chart1.AddSeries(TPointSeries).FillSampleValues;

  Chart1.Top:=20;
  Chart1.Left:=20;
  Chart1.Height:=0; // Also tried 1, 5, 10, 20, 30,...
end;
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply