Jump to content


Photo

Mouse over header raises exception.


  • Please log in to reply
8 replies to this topic

#1 FourWhey

FourWhey
  • Members
  • 165 posts

Posted 27 September 2016 - 12:24 AM

---------------------------
Debugger Exception Notification
---------------------------
Project MyApp.exe raised exception class EAccessViolation with message 'Access violation at address 00000000. Read of address 00000000'. Process stopped. Use Step or Run to continue.
---------------------------
OK   Help   
---------------------------

date/time          : 2016-09-26, 17:20:12, 330ms
operating system   : Windows XP x64 Service Pack 2 build 2600
system language    : English
system up time     : 6 days 1 hour
program up time    : 1 minute 40 seconds
processors         : 8x Intel® Core™ i7-3770 CPU @ 3.40GHz
physical memory    : 5324/16302 MB (free/total)
free disk space    : (C:) 25.08 GB
display mode       : 1707x960, 32 bit
process id         : $18c4
allocated memory   : 98.19 MB
largest free block : 868.48 MB
command line       : "c:\projects\MyApp\MyApp.exe"
executable         : MyApp.exe
exec. date/time    : 2016-09-26 17:18
version            : 4.8.6.3
compiled with      : Delphi 7
madExcept version  : 4.0.14
callstack crc      : $00000000, $e78324b1, $b77baeaa
exception number   : 1
exception class    : EAccessViolation
exception message  : Access violation at address 00000000. Read of address 00000000.

main thread ($32d8):
00000000 +000 ???
004ec74b +1df MyApp.exe    Controls 4645 +53 TControl.WndProc
004f045a +18e MyApp.exe    Controls 6342 +33 TWinControl.WndProc
004ec456 +036 MyApp.exe    Controls 4552  +5 TControl.Perform
00513d46 +09e MyApp.exe    Forms    7219 +12 TApplication.DoMouseIdle
00513d7c +028 MyApp.exe    Forms    7228  +1 TApplication.Idle
0051321a +01e MyApp.exe    Forms    6892  +1 TApplication.HandleMessage
005134a6 +0a6 MyApp.exe    Forms    6976 +16 TApplication.Run
00d5df78 +18c MyApp.exe    MyApp     128 +26 initialization
73de62c2 +022 KERNEL32.DLL                   BaseThreadInitThunk

thread $14a8:
73de62c2 +22 KERNEL32.DLL  BaseThreadInitThunk

thread $6ae8:
73de62c2 +22 KERNEL32.DLL  BaseThreadInitThunk

thread $3d84:
73de62c2 +22 KERNEL32.DLL  BaseThreadInitThunk

thread $64ec:
7652a746 +26 USER32.dll             GetMessageW
00461d01 +0d MyApp.exe    madExcept CallThreadProcSafe
00461d6b +37 MyApp.exe    madExcept ThreadExceptFrame
73de62c2 +22 KERNEL32.DLL           BaseThreadInitThunk
>> created by main thread ($32d8) at:
729ac712 +00 AcLayers.DLL

thread $342c (TDummyThread): <suspended>
009ac570 +f8 MyApp.exe GIFImage 12430 +29 initialization

thread $3e08:
73de62c2 +22 KERNEL32.DLL  BaseThreadInitThunk

thread $6774:
73de62c2 +22 KERNEL32.DLL  BaseThreadInitThunk

thread $15fc:
76421a2a +ea KERNELBASE.dll           WaitForMultipleObjectsEx
00461d01 +0d MyApp.exe      madExcept CallThreadProcSafe
00461d6b +37 MyApp.exe      madExcept ThreadExceptFrame
73de62c2 +22 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($32d8) at:
75ddd4d3 +00 combase.dll

thread $4a68:
76421a2a +ea KERNELBASE.dll           WaitForMultipleObjectsEx
00461d01 +0d MyApp.exe      madExcept CallThreadProcSafe
00461d6b +37 MyApp.exe      madExcept ThreadExceptFrame
73de62c2 +22 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($32d8) at:
0fc802fe +00 comsvcs.dll

thread $5474:
7641ac83 +93 KERNELBASE.dll           WaitForSingleObjectEx
7641abdd +0d KERNELBASE.dll           WaitForSingleObject
00461d01 +0d MyApp.exe      madExcept CallThreadProcSafe
00461d6b +37 MyApp.exe      madExcept ThreadExceptFrame
73de62c2 +22 KERNEL32.DLL             BaseThreadInitThunk
>> created by main thread ($32d8) at:
72fd3b19 +00 WINSPOOL.DRV

thread $6a7c:
73de62c2 +22 KERNEL32.DLL  BaseThreadInitThunk

thread $d94:
73de62c2 +22 KERNEL32.DLL  BaseThreadInitThunk

cpu registers:
eax = 0361af58
ebx = 0361af58
ecx = 0361af54
edx = 0019fe78
esi = 00d5ddec
edi = 00d5ddec
eip = 00000000
esp = 0019fd1c
ebp = 0019fe44

stack dump:
0019fd1c  4e c7 4e 00 ec dd d5 00 - 58 af 61 03 60 f5 5e 03  N.N.....X.a.`.^.
0019fd2c  44 fd 19 00 d4 fd 19 00 - 00 00 00 00 06 4d 51 19  D............MQ.
0019fd3c  fe ff ff ff 80 fd 19 00 - 05 50 17 77 36 00 00 00  .........P.w6...
0019fd4c  40 00 00 00 00 00 00 00 - 00 00 19 00 10 fe 19 00  @...............
0019fd5c  08 fe 19 00 01 00 4b 00 - 40 00 00 00 00 00 00 00  ......K.@.......
0019fd6c  00 00 00 00 08 00 00 00 - 62 00 00 40 60 00 00 40  ........b..@`..@
0019fd7c  58 27 9a 07 90 fd 19 00 - 10 fe 19 00 3c fe 19 00  X'..........<...
0019fd8c  e0 5d 1a 77 26 4d 51 19 - fe ff ff ff c4 fd 19 00  .].w&MQ.........
0019fd9c  aa 78 17 77 50 27 9a 07 - 58 27 9a 07 ec dd d5 00  .x.wP'..X'......
0019fdac  10 fe 19 00 00 00 4b 00 - ec dd d5 00 10 fe 19 00  ......K.........
0019fdbc  00 00 4b 00 00 00 00 00 - d8 fd 19 00 68 57 15 77  ..K.........hW.w
0019fdcc  00 00 98 01 00 00 00 00 - 58 27 9a 07 e8 fd 19 00  ........X'......
0019fddc  b7 38 17 77 58 27 9a 07 - 10 fe 19 00 4c fe 19 00  .8.wX'......L...
0019fdec  ec dd d5 00 c8 0f 4f 00 - ec 02 4b 00 fe 40 ac c0  ......O...K..@..
0019fdfc  00 00 00 00 c8 0f 4f 00 - ec 02 4b 01 40 fe 19 00  ......O...K.@...
0019fe0c  8f cf 50 76 a3 c9 4c d8 - ec dd d5 00 ec dd d5 00  ..Pv..L.........
0019fe1c  ec 02 4b 00 18 04 00 00 - c1 00 00 00 10 fe 19 00  ..K.............
0019fe2c  78 fe 19 00 58 af 61 03 - 70 15 53 76 13 79 0f ae  x...X.a.p.Sv.y..
0019fe3c  fe ff ff ff 58 fe 19 00 - 6c fe 19 00 5f 04 4f 00  ....X...l..._.O.
0019fe4c  58 af 61 03 60 fe 19 00 - 58 af 61 03 00 00 00 00  X.a.`...X.a.....

disassembling:
[...]
004ec73b        mov     eax, [ebp-$14]
004ec73e        call    -$21cb ($4ea578)       ; Controls.TControl.SendDockNotification
004ec743 4645   mov     edx, [ebp-$18]
004ec746        mov     eax, [ebp-$14]
004ec749        mov     ecx, [eax]
004ec74b      > call    dword ptr [ecx-$14]
004ec74e 4646   pop     esi
004ec74f        pop     ebx
004ec750        mov     esp, ebp
004ec752        pop     ebp
004ec753        ret

 



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 27 September 2016 - 02:25 AM

Hi,

Can you tell me in which procedure AV is raised? Maybe you can send me call stack from Delphi too.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 FourWhey

FourWhey
  • Members
  • 165 posts

Posted 27 September 2016 - 01:35 PM

Hi,

Can you tell me in which procedure AV is raised? Maybe you can send me call stack from Delphi too.

 

This is what was shown in the Delphi call stack.

 

main thread ($32d8):
00000000 +000 ???
004ec74b +1df MyApp.exe    Controls 4645 +53 TControl.WndProc
004f045a +18e MyApp.exe    Controls 6342 +33 TWinControl.WndProc
004ec456 +036 MyApp.exe    Controls 4552  +5 TControl.Perform
00513d46 +09e MyApp.exe    Forms    7219 +12 TApplication.DoMouseIdle
00513d7c +028 MyApp.exe    Forms    7228  +1 TApplication.Idle
0051321a +01e MyApp.exe    Forms    6892  +1 TApplication.HandleMessage
005134a6 +0a6 MyApp.exe    Forms    6976 +16 TApplication.Run
00d5df78 +18c MyApp.exe    MyApp     128 +26 initialization

 

I had the exception occur many times.  I tried again this morning after rebooting and it's not happening, so maybe Delphi was unstable and the cause.  Delphi itself crashes regularly :( so who knows.  If it happens again, I'll send any additional detail.



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 27 September 2016 - 01:53 PM

Hi,

Yes, it doesn't give more info.

If it happens again, probably it will stop at "suspicious" method. It will help to localize problem a little bit.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 FourWhey

FourWhey
  • Members
  • 165 posts

Posted 28 September 2016 - 12:06 AM

This happened while clicking in the grid. It jumped to TNxStringsPopupControl6.MouseUp.

 

TNxStringsPopupControl6.MouseUp(mbLeft,[],28,34)
TControl.DoMouseUp((514, 0, 28, 34, (28, 34), 0),mbLeft)
TControl.WMLButtonUp((514, 0, 28, 34, (28, 34), 0))
TControl.WndProc((514, 0, 2228252, 0, 0, 0, 28, 34, 0, 0))
TWinControl.WndProc((514, 0, 2228252, 0, 0, 0, 28, 34, 0, 0))
TWinControl.MainWndProc((514, 0, 2228252, 0, 0, 0, 28, 34, 0, 0))
StdWndProc(8853688,514,0,2228252)
TApplication.ProcessMessage((8853688, 514, 0, 2228252, 607555859, (1118, 718)))
TApplication.HandleMessage
TApplication.Run
 



#6 FourWhey

FourWhey
  • Members
  • 165 posts

Posted 28 September 2016 - 12:13 AM

This happened while just moving the mouse over the grid.  It didn't stop on any suspicious method.

 

TWinControl.WndProc((45075, 0, 0, 0, 0, 0, 0, 0, 0, 0))
TControl.Perform(45075,0,0)
TApplication.DoMouseIdle
TApplication.Idle((5709930, 275, 1, 0, 607940171, (1048, 275)))
TApplication.HandleMessage
TApplication.Run



#7 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 28 September 2016 - 01:30 AM

Hi,

Quite strange. If you can send me small demo, maybe some property causes it. I move thousands of times mouse over and nothing jumps.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#8 FourWhey

FourWhey
  • Members
  • 165 posts

Posted 28 September 2016 - 04:05 PM

I'll see if I can get it to happen in a test project.



#9 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 28 September 2016 - 04:42 PM

Maybe some property causes it, and I didn't set it. There's a lot of combinations.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users