Intraweb 4.x

delphi package - automated exception handling
Post Reply
ZSL
Posts: 54
Joined: Thu Mar 31, 2016 11:23 pm

Intraweb 4.x

Post by ZSL »

Below is an incomplete MAD report from an Intraweb integration.

Is this a MAD bug or setting I have missed
date/time : 2017-09-07, 08:32:35, 822ms
computer name : [REMOVED]
user name : [REMOVED]
operating system : Windows 10 x64 build 15063
system language : English
system up time : 2 days 13 hours
program up time : 2 minutes 54 seconds
processors : 4x Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
physical memory : 3872/7970 MB (free/total)
free disk space : (C:) 111.30 GB (D:) 82.98 GB
display mode : 1920x1200, 32 bit
process id : $3ea8
allocated memory : 43.11 MB
largest free block : 836.13 MB
command line : "D:\inetpub\MSQL\MSQL.exe" /GUI -ForceDBSet"ZSL"
executable : MSQL.exe
exec. date/time : 2017-09-07 08:29
version : 6.30.30.268
compiled with : Delphi XE
madExcept version : 4.0.18
callstack crc : $4cf7387b, $b01ed5f8, $8e0db99d
count : 4
Product : Odyssey
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 004064FA in module 'MSQL.exe'. Read of address 00000008.

thread $9b4 (TInThreadWithTask):
004064fa +006 MSQL.exe System 282 +0 TObject.Free
005d0e2b +0b7 MSQL.exe IWApplication 2440 +15 TIWCallback.PerformCallBack
0040760e +05a MSQL.exe System 282 +0 @HandleFinally
77872e66 +136 ntdll.dll RtlUnwind
77884161 +021 ntdll.dll KiUserExceptionDispatcher
0065c8f5 +019 MSQL.exe madExcept InterceptClassDestroy
00740a31 +03d MSQL.exe IWCGJSSuperObject TSuperObject.Destroy
00406608 +04c MSQL.exe System 282 +0 TObject.GetInterface
0040bfec +010 MSQL.exe System 282 +0 @IntfClear
005b8ac1 +0c1 MSQL.exe IWBaseHTMLControl 778 +18 TIWBaseHTMLControlImplementation.getHTMLName
0040944b +03b MSQL.exe System 282 +0 @UStrCat
0052db4d +0dd MSQL.exe IW.Common.StrLists 1327 +14 TIWStringList.AddStrings
005d0dcf +05b MSQL.exe IWApplication 2433 +8 TIWCallback.PerformCallBack
005d0b94 +050 MSQL.exe IWApplication 2394 +8 TIWCallBacks.PerformCallBack
005cbe0b +02f MSQL.exe IWApplication 544 +3 TIWApplication.PerformCallBack
005c6b37 +26f MSQL.exe IWForm 1119 +63 TIWForm.DoExecuteForm
005d4156 +066 MSQL.exe IWBaseForm 381 +9 TIWBaseForm.ExecuteForm
005cde82 +10a MSQL.exe IWApplication 1279 +37 TIWApplication.ExecuteActiveForm
005cdb79 +031 MSQL.exe IWApplication 1159 +3 TIWApplication.ProcessForm
006d0a56 +02a MSQL.exe IWServerSession 310 +4 TIWServerSession.ExecuteCallback
006d29a0 +108 MSQL.exe IWServerSession 743 +37 TIWServerSession.DoExecuteSession
006d2d33 +16f MSQL.exe IWServerSession 826 +44 TIWServerSession.ExecuteSession
006c2e26 +2c6 MSQL.exe IWServer 520 +63 TIWServer.ExecuteUrl
006c32f5 +0a5 MSQL.exe IWServer 590 +11 TIWServer.Execute
006cf583 +027 MSQL.exe IWServerSession 88 +2 HttpExecute
006eef7c +158 MSQL.exe IW.Server.HTTPIndy 235 +26 THTTPServerIndy.DoCommandGet
006be254 +688 MSQL.exe InCustomHTTPServer 1426 +180 TInCustomHTTPServer.DoExecute
006945cb +00f MSQL.exe InContext 185 +2 TInContext.Run
0069318e +002 MSQL.exe InTask 136 +0 TInTask.DoRun
006aab0e +006 MSQL.exe InThread 625 +1 TInThreadWithTask.Run
006aa4ce +11a MSQL.exe InThread 377 +43 TInThread.Execute
00407f5c +028 MSQL.exe System 282 +0 ThreadWrapper
0065cb19 +00d MSQL.exe madExcept CallThreadProcSafe
0065cb83 +037 MSQL.exe madExcept ThreadExceptFrame
75548742 +022 KERNEL32.DLL BaseThreadInitThunk
>> created by thread $3918 (TIdListenerThread) at:
006aa6ea +052 MSQL.exe InThread 448 +24 TInThread.Create

thread $9b4 (TInThreadWithTask), inner exception level 1:
>> EInvalidPointer, Invalid pointer operation
004080d1 +021 MSQL.exe System 282 +0 @UStrClr
77884161 +021 ntdll.dll KiUserExceptionDispatcher
0065c8f5 +019 MSQL.exe madExcept InterceptClassDestroy
00740a31 +03d MSQL.exe IWCGJSSuperObject TSuperObject.Destroy
00406608 +04c MSQL.exe System 282 +0 TObject.GetInterface
0040bfec +010 MSQL.exe System 282 +0 @IntfClear
005b8ac1 +0c1 MSQL.exe IWBaseHTMLControl 778 +18 TIWBaseHTMLControlImplementation.getHTMLName
0040944b +03b MSQL.exe System 282 +0 @UStrCat
0052db4d +0dd MSQL.exe IW.Common.StrLists 1327 +14 TIWStringList.AddStrings
005d0dcf +05b MSQL.exe IWApplication 2433 +8 TIWCallback.PerformCallBack
005d0b94 +050 MSQL.exe IWApplication 2394 +8 TIWCallBacks.PerformCallBack
005cbe0b +02f MSQL.exe IWApplication 544 +3 TIWApplication.PerformCallBack
005c6b37 +26f MSQL.exe IWForm 1119 +63 TIWForm.DoExecuteForm
005d4156 +066 MSQL.exe IWBaseForm 381 +9 TIWBaseForm.ExecuteForm
005cde82 +10a MSQL.exe IWApplication 1279 +37 TIWApplication.ExecuteActiveForm
005cdb79 +031 MSQL.exe IWApplication 1159 +3 TIWApplication.ProcessForm
006d0a56 +02a MSQL.exe IWServerSession 310 +4 TIWServerSession.ExecuteCallback
006d29a0 +108 MSQL.exe IWServerSession 743 +37 TIWServerSession.DoExecuteSession
006d2d33 +16f MSQL.exe IWServerSession 826 +44 TIWServerSession.ExecuteSession
006c2e26 +2c6 MSQL.exe IWServer 520 +63 TIWServer.ExecuteUrl
006c32f5 +0a5 MSQL.exe IWServer 590 +11 TIWServer.Execute
006cf583 +027 MSQL.exe IWServerSession 88 +2 HttpExecute
006eef7c +158 MSQL.exe IW.Server.HTTPIndy 235 +26 THTTPServerIndy.DoCommandGet
006be254 +688 MSQL.exe InCustomHTTPServer 1426 +180 TInCustomHTTPServer.DoExecute
006945cb +00f MSQL.exe InContext 185 +2 TInContext.Run
0069318e +002 MSQL.exe InTask 136 +0 TInTask.DoRun
006aab0e +006 MSQL.exe InThread 625 +1 TInThreadWithTask.Run
006aa4ce +11a MSQL.exe InThread 377 +43 TInThread.Execute
0065cc37 +02b MSQL.exe madExcept HookedTThreadExecute
0045928e +042 MSQL.exe Classes ThreadProc
00407f5c +028 MSQL.exe System 282 +0 ThreadWrapper
0065cb19 +00d MSQL.exe madExcept CallThreadProcSafe
0065cb83 +037 MSQL.exe madExcept ThreadExceptFrame
75548742 +022 KERNEL32.DLL BaseThreadInitThunk
006aa6ea +052 MSQL.exe InThread 448 +24 TInThread.Create

thread $9b4 (TInThreadWithTask), inner exception level 2:
>> EAccessViolation, Access violation at address 004213F8 in module 'MSQL.exe'. Read of address 00000008
004213f8 +01c MSQL.exe SysUtils CompareText
0052dc0c +018 MSQL.exe IW.Common.StrLists 1354 +4 TIWStringList.CompareStrings
0052db4d +0dd MSQL.exe IW.Common.StrLists 1327 +14 TIWStringList.AddStrings
005d0dcf +05b MSQL.exe IWApplication 2433 +8 TIWCallback.PerformCallBack
005d0b94 +050 MSQL.exe IWApplication 2394 +8 TIWCallBacks.PerformCallBack
005cbe0b +02f MSQL.exe IWApplication 544 +3 TIWApplication.PerformCallBack
005c6b37 +26f MSQL.exe IWForm 1119 +63 TIWForm.DoExecuteForm
005d4156 +066 MSQL.exe IWBaseForm 381 +9 TIWBaseForm.ExecuteForm
005cde82 +10a MSQL.exe IWApplication 1279 +37 TIWApplication.ExecuteActiveForm
005cdb79 +031 MSQL.exe IWApplication 1159 +3 TIWApplication.ProcessForm
006d0a56 +02a MSQL.exe IWServerSession 310 +4 TIWServerSession.ExecuteCallback
006d29a0 +108 MSQL.exe IWServerSession 743 +37 TIWServerSession.DoExecuteSession
006d2d33 +16f MSQL.exe IWServerSession 826 +44 TIWServerSession.ExecuteSession
006c2e26 +2c6 MSQL.exe IWServer 520 +63 TIWServer.ExecuteUrl
006c32f5 +0a5 MSQL.exe IWServer 590 +11 TIWServer.Execute
006cf583 +027 MSQL.exe IWServerSession 88 +2 HttpExecute
006eef7c +158 MSQL.exe IW.Server.HTTPIndy 235 +26 THTTPServerIndy.DoCommandGet
006be254 +688 MSQL.exe InCustomHTTPServer 1426 +180 TInCustomHTTPServer.DoExecute
006945cb +00f MSQL.exe InContext 185 +2 TInContext.Run
0069318e +002 MSQL.exe InTask 136 +0 TInTask.DoRun
006aab0e +006 MSQL.exe InThread 625 +1 TInThreadWithTask.Run
006aa4ce +11a MSQL.exe InThread 377 +43 TInThread.Execute
0065cc37 +02b MSQL.exe madExcept HookedTThreadExecute
0045928e +042 MSQL.exe Classes ThreadProc
00407f5c +028 MSQL.exe System 282 +0 ThreadWrapper
0065cb19 +00d MSQL.exe madExcept CallThreadProcSafe
0065cb83 +037 MSQL.exe madExcept ThreadExceptFrame
75548742 +022 KERNEL32.DLL BaseThreadInitThunk
006aa6ea +052 MSQL.exe InThread 448 +24 TInThread.Create

main thread ($2300):
00000000 +ff9edef4 MSQL.exe madStackTrace +0 StackAddrToStr
>> stack will be calculated soon

disassembling:
[...]
0052dc01 call -$10c94e ($4212b8) ; SysUtils.CompareStr
0052dc06 pop ebp
0052dc07 ret
0052dc08 1354 mov eax, edx
0052dc0a mov edx, ecx
0052dc0c > call -$10c835 ($4213dc) ; SysUtils.CompareText
0052dc11 1355 pop ebp
0052dc12 ret
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Intraweb 4.x

Post by madshi »

I'm not sure why this happens. It does happen once in a while. It could be a bug in madExcept, or the process being in a very bad state. It's hard for me to analyze this in detail without being able to reproduce it, and currently I can't reproduce it. Can you?
Post Reply