ERangeError on program start up using the Performance Profiler in Delphi 10.1 Berlin
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ERangeError on program start up using the Performance Profiler in Delphi 10.1 Berlin
To improve the performance of our program, we've recently started to use AQtime Pro 8, but we're facing the following issues:
After selecting all modules of our executable and running the program with profiling activated, we're getting a madExcept error message (see below)
The error also occurs when disabling madExcept and doesn't occur when starting the program directly or in debug mode in Delphi.
The instrumenting modules procedure doesn't return any errors.
We can avoid the error, when excluding some of the program's units. Unfortunately, the units we have to exclude, are exactly the units we want to analyze.
Following settings are active:
Thread model: Win32 threads
Active counter: Elapsed Time
Profile <Root> routine NOT selected
Disable inlining NOT selected
Profile .NET runtime NOT selected
Changing these settings never led to a working outcome, though.
Error message:
ERangeError
call stack:
main thread ($4064):
00416c5d +5d XXX.exe System 34247 +9 DynArraySetLength
0041705c +2c XXX.exe System 34384 +9 @DynArraySetLength
thread $3e5c:
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $6804:
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $79c:
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $2588:
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $497c:
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $5f10:
7fff93f4 +f7 KERNELBASE.dll WaitForMultipleObjectsEx
thread $3920:
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $5388:
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $5354:
7fff93f4 +f7 KERNELBASE.dll WaitForMultipleObjectsEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $5398:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $466c: <priority:2>
7fff93f4 +f7 KERNELBASE.dll WaitForMultipleObjectsEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $59d8:
7fff93f2 +9a KERNELBASE.dll SleepEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $56f4:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $457c:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $5954:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $5130:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $66e4:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $6920:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $686c:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $4818:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
thread $2898:
7fff93f2 +8c KERNELBASE.dll WaitForSingleObjectEx
7fff9705 +0e KERNEL32.DLL BaseThreadInitThunk
7fff9719 +1b ntdll.dll RtlUserThreadStart
- Labels:
-
IDE Integration
-
Performance Profiler
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If I remember it right, it was not recommended previously to use AQtime to profile applications with madExcept. Though recent search through the documentation did not reveal any mention of madExcept.
I would recommend to contact Support directly via the https://support.smartbear.com/message/?prod=AQtime form.
I also will appreciate it if you update this thread with what you will end with with Support.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
