Access violation at address 70D97F2C in module 'comctl32.dll

delphi package - automated exception handling

Access violation at address 70D97F2C in module 'comctl32.dll

Postby programmer_541 » Fri Sep 29, 2017 7:47 am

Hello,

We randomly notice the following madexcept with our application.
Precondition is our application should be running at least 12hrs.
Callstack leaves no clue.

Appreciate any pointers..
========================================================================================================

Code: Select all
date/time          : 2017-08-30, 08:38:09, 368ms
computer name      : USMPGWNCN4NZDJ1
user name          : lzw4r9 <admin>
registered owner   : GM User / General Motors
operating system   : Windows 7 x64 Service Pack 1 build 7601
system language    : English
system up time     : 18 hours 25 minutes
program up time    : 16 hours 31 minutes
processors         : 4x Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz
physical memory    : 635/8097 MB (free/total)
free disk space    : (C:) 56.34 GB
display mode       : 1366x768, 32 bit
process id         : $29c
allocated memory   : 80.61 MB
largest free block : 258.82 MB
executable         : vat.exe
exec. date/time    : 2017-08-28 15:47
version            : 13.0.51.25
bde version        : 5.2.0.2
compiled with      : BCB XE5
madExcept version  : 4.0.9
callstack crc      : $70d97f2c, $37ec0303, $98848a8f
exception number   : 2
exception class    : EAccessViolation
exception message  : Access violation at address 70D97F2C in module 'comctl32.dll'. Read of address 00000000.

main thread ($30b0):
70d97f2c +000 comctl32.dll
75330d60 +016 USER32.dll                    CallWindowProcW
5046777a +0e6 vcl190.bpl   Vcl              Controls.TWinControl.DefaultHandler
5046321a +016 vcl190.bpl   Vcl              Controls.TControl.WMLButtonDblClk
50462b49 +2bd vcl190.bpl   Vcl              Controls.TControl.WndProc
50467669 +5c5 vcl190.bpl   Vcl              Controls.TWinControl.WndProc
504ceeb6 +082 vcl190.bpl   Vcl              Comctrls.TCustomTreeView.WndProc
50466cac +02c vcl190.bpl   Vcl              Controls.TWinControl.MainWndProc
75327885 +00a USER32.dll                    DispatchMessageW
50590dc3 +0f3 vcl190.bpl   Vcl              Forms.TApplication.ProcessMessage
50590e06 +00a vcl190.bpl   Vcl              Forms.TApplication.HandleMessage
50591141 +0c9 vcl190.bpl   Vcl              Forms.TApplication.Run
00405eeb +67b vat.exe      vat.cpp 187 +115 WinMain
006b86e9 +14d vat.exe                       __startup
74ab3368 +010 kernel32.dll                  BaseThreadInitThunk
programmer_541
 
Posts: 2
Joined: Fri Sep 29, 2017 7:36 am

Re: Access violation at address 70D97F2C in module 'comctl32

Postby programmer_541 » Fri Sep 29, 2017 7:49 am

One more similar madexcept.

Code: Select all
date/time          : 2017-08-28, 09:21:02, 474ms
computer name      : USFHN10138
user name          : m0040195 <admin>
operating system   : Windows 7 x64 Service Pack 1 build 7601
system language    : English
system up time     : 3 days 23 hours
program up time    : 22 hours 19 minutes
processors         : 4x Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
physical memory    : 2581/8067 MB (free/total)
free disk space    : (C:) 251.35 GB
display mode       : 1920x1080, 32 bit
process id         : $2ae0
allocated memory   : 143.87 MB
largest free block : 398.81 MB
executable         : vat.exe
exec. date/time    : 2017-08-24 00:30
version            : 14.0.471.26
bde version        : 5.2.0.2
compiled with      : BCB XE5
madExcept version  : 4.0.9
callstack crc      : $73157f2c, $d2a2d43e, $bbf3820b
exception number   : 6
exception class    : EAccessViolation
exception message  : Access violation at address 73157F2C in module 'comctl32.dll'. Read of address 00000000.

main thread ($2bb0):
73157f2c +000 comctl32.dll
76ab0d60 +016 USER32.dll                    CallWindowProcW
5046777a +0e6 vcl190.bpl   Vcl              Controls.TWinControl.DefaultHandler
50469169 +019 vcl190.bpl   Vcl              Controls.TWinControl.WMKeyDown
50462b49 +2bd vcl190.bpl   Vcl              Controls.TControl.WndProc
50467669 +5c5 vcl190.bpl   Vcl              Controls.TWinControl.WndProc
504ceeb6 +082 vcl190.bpl   Vcl              Comctrls.TCustomTreeView.WndProc
50466cac +02c vcl190.bpl   Vcl              Controls.TWinControl.MainWndProc
76aa7885 +00a USER32.dll                    DispatchMessageW
50590dc3 +0f3 vcl190.bpl   Vcl              Forms.TApplication.ProcessMessage
50590e06 +00a vcl190.bpl   Vcl              Forms.TApplication.HandleMessage
50591141 +0c9 vcl190.bpl   Vcl              Forms.TApplication.Run
00406011 +69d vat.exe      vat.cpp 189 +116 WinMain
0072cf71 +14d vat.exe                       __startup
76cf3368 +010 kernel32.dll                  BaseThreadInitThunk
programmer_541
 
Posts: 2
Joined: Fri Sep 29, 2017 7:36 am

Re: Access violation at address 70D97F2C in module 'comctl32

Postby madshi » Fri Sep 29, 2017 7:51 am

Well, it seems that the crash probably occurs while double clicking on a TCustomTreeView. In that situation comctl32.dll (which is probably responsible for the tree view) crashes while reading from "nil".

My best guess would be that the tree view (or the whole form) which is crashing was maybe already freed?
madshi
Site Admin
 
Posts: 9462
Joined: Sun Mar 21, 2004 5:25 pm

Re: Access violation at address 70D97F2C in module 'comctl32

Postby madshi » Fri Sep 29, 2017 7:51 am

2nd one is KeyDown instead of DoubleClick, but other than that it's the same.
madshi
Site Admin
 
Posts: 9462
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 4 guests