-
Search Results
-
Please help me, because I’m going crazy and loosing my customer’s trust day by day because of this strange error. 🙁
It appeared since ca 2-3 weeks ago, everything worked fine for years before that.
And I did not change any setup or components since min. 2 years, the only difference is that my program is starting 5 different background threads instead of 4.
(But that thread has nothing to do with AC, only using TUIBDatabase SQL and OverbyteIcs https components, and a thread safe memory-logging system, which also has nothing to do with AC, because none of those are interacting directly with any desktop items.)If I search for this error on this forum, I can find 5 other mentioning about similar topics, but those were very early versions.
The Error:
– Appears after using the program several hours long, so I can not reproduce it on my developer PC.
– Appears both on win7 and Win10
– both on 32 bit / 64 bit. (my exe is always 32bit)
– with different VGA cards and drivers too
– Appears on different forms and actions randomly (will copy more reports to show). But mostly if Form.Show happens.
– it is impossible to continue the program, it is stuck in a loop, no try-except can handle it properly.
– the user can only force-close and restart the whole EXE, while loosing data not yet saved.Hello, good morning.
We work in the company Fortes Informática (Brazil) (which acquired components AlphaControls) and are passing the following problem:
The procedure PrepareMenuBG (sSkinMenus unit) to be called is causing excessive occurrences of exception EOutOfResources. The error seems to occur when it passes the “Height” variable to the function CreateBmp32 of Graphics unit.
Explaining our analysis: The procedure GetMenuInfo (class TsSkinableMenus) do a validation for variable aWidth be nonzero, however, it does not validate the variable aHeight and makes a call to procedure PrepareMenuBG passing these variables, which, for some reason related to property height, it causes the exception EOutOfResources when you run the following line:
Code:mi.Bmp := CreateBmp32(Width, Height);Sequence:
Code:(1) function TsSkinableMenus.GetMenuInfo(Item : TMenuItem; const aWidth, aHeight : integer; aWnd : hwnd = 0): TacMenuInfo;(2) if aWidth <> 0 then begin
PrepareMenuBG(fi, aWidth, aHeight, aWnd);(3) mi.Bmp := CreateBmp32(Width, Height);
CallStack of MadExcept (DELPHI 7):
date/time : 2013-08-27, 16:58:31, 296ms
computer name : MARIA-83B1C5009
user name : Administrador
registered owner : Maria José
operating system : Windows XP Service Pack 3 build 2600
system language : Portuguese
system up time : 9 hours 19 minutes
program up time : 10 minutes 42 seconds
processor : AMD Athlon(tm) MP
physical memory : 324/1247 MB (free/total)
free disk space : (C:) 52,73 GB
display mode : 1024×768, 32 bit
process id : $f78
allocated memory : 42,90 MB
executable : AC.exe
exec. date/time : 2013-08-09 08:17
version : 6.1.1.1
bde version : 5.2.0.2
compiled with : Delphi 7
madExcept version : 3.0l
callstack crc : $eaef5db1, $4b20400b, $4b20400b
exception number : 11
exception class : EOutOfResources
exception message : Parâmetro incorreto.
main thread ($e8):
00481a47 +0077 AC.exe Graphics GDIError
00481a7f +0007 AC.exe Graphics GDICheck
004859de +02d2 AC.exe Graphics CopyBitmap
004861df +0063 AC.exe Graphics TBitmap.CopyImage
00487534 +003c AC.exe Graphics TBitmap.SetHeight
005c13da +0036 AC.exe sGraphUtils 3819 +5 CreateBmp32
005d3d75 +0139 AC.exe sSkinMenus 1337 +16 TsSkinableMenus.PrepareMenuBG
005d4532 +008a AC.exe sSkinMenus 1424 +14 TsSkinableMenus.GetMenuInfo
005d06b0 +0198 AC.exe sSkinMenus 323 +22 TsSkinableMenus.sAdvancedDrawItem
004e72cb +00ff AC.exe Menus TMenuItem.AdvancedDrawItem
004ea526 +00da AC.exe Menus DrawMenuItem
004da17b +022f AC.exe Forms TCustomForm.WndProc
005e2158 +703c AC.exe sSkinProvider 4525 +1971 TsSkinProvider.NewWndProc
00471e11 +0059 AC.exe Classes TList.Delete
004720c9 +0015 AC.exe Classes TList.Remove
004f43c0 +002c AC.exe Controls TWinControl.MainWndProc
0047d3b0 +0014 AC.exe Classes StdWndProc
7c90e470 +0010 ntdll.dll KiUserCallbackDispatcher
7e37a993 +0016 user32.dll CallWindowProcA
00588015 +0051 AC.exe acSBUtils 5877 +11 TacMainWnd.CallPrevWndProc
0057fb0f +06ab AC.exe acSBUtils 3352 +155 TacScrollWnd.acWndProc
0058d3b2 +04be AC.exe acSBUtils 8056 +81 TacMnuWnd.acWndProc
0047d3b0 +0014 AC.exe Classes StdWndProc
7c90e470 +0010 ntdll.dll KiUserCallbackDispatcher
7e37f156 +2fd8 user32.dll DefWindowProcA
7c90e470 +0010 ntdll.dll KiUserCallbackDispatcher
7e37a993 +0016 user32.dll CallWindowProcA
00588015 +0051 AC.exe acSBUtils 5877 +11 TacMainWnd.CallPrevWndProc
0057fb0f +06ab AC.exe acSBUtils 3352 +155 TacScrollWnd.acWndProc
0058d3b2 +04be AC.exe acSBUtils 8056 +81 TacMnuWnd.acWndProc
0047d3b0 +0014 AC.exe Classes StdWndProc
7c90e470 +0010 ntdll.dll KiUserCallbackDispatcher
7e37a993 +0016 user32.dll CallWindowProcA
00588015 +0051 AC.exe acSBUtils 5877 +11 TacMainWnd.CallPrevWndProc
0057fb0f +06ab AC.exe acSBUtils 3352 +155 TacScrollWnd.acWndProc
0058d0cf +01db AC.exe acSBUtils 8014 +39 TacMnuWnd.acWndProc
0047d3b0 +0014 AC.exe Classes StdWndProc
7c90e470 +0010 ntdll.dll KiUserCallbackDispatcher
7e37f156 +2fd8 user32.dll DefWindowProcA
7e39f97b +0016 user32.dll DefFrameProcA
004db7db +004b AC.exe Forms TCustomForm.DefaultHandler
004f5e93 +009f AC.exe Controls TWinControl.WMSysCommand
004dc555 +0055 AC.exe Forms TCustomForm.WMSysCommand
004f169c +0188 AC.exe Controls TControl.WndProc
004f4743 +0157 AC.exe Controls TWinControl.WndProc
004da36d +0421 AC.exe Forms TCustomForm.WndProc
005e10a1 +5f85 AC.exe sSkinProvider 4252 +1698 TsSkinProvider.NewWndProc
004f43c0 +002c AC.exe Controls TWinControl.MainWndProc
0047d3b0 +0014 AC.exe Classes StdWndProc
7c90e470 +0010 ntdll.dll KiUserCallbackDispatcher
7e37f156 +2fd8 user32.dll DefWindowProcA
7e39f97b +0016 user32.dll DefFrameProcA
004db7db +004b AC.exe Forms TCustomForm.DefaultHandler
004f1979 +0015 AC.exe Controls TControl.WMNCLButtonDown
004dc285 +0085 AC.exe Forms TCustomForm.WMNCLButtonDown
004f169c +0188 AC.exe Controls TControl.WndProc
004f4743 +0157 AC.exe Controls TWinControl.WndProc
004da36d +0421 AC.exe Forms TCustomForm.WndProc
005ddfd4 +2eb8 AC.exe sSkinProvider 3346 +792 TsSkinProvider.NewWndProc
7c90e470 +0010 ntdll.dll KiUserCallbackDispatcher
004f43c0 +002c AC.exe Controls TWinControl.MainWndProc
0047d3b0 +0014 AC.exe Classes StdWndProc
7e3696c2 +000a user32.dll DispatchMessageA
004e09ab +0083 AC.exe Forms TApplication.ProcessMessage
004e09e2 +000a AC.exe Forms TApplication.HandleMessage
004e0c12 +0096 AC.exe Forms TApplication.Run
02465f64 +00e0 AC.exe AC 1258 +10 initialization
thread $87c:
7c90d218 +a ntdll.dll NtDelayExecution
thread $384:
7c90daa8 +0a ntdll.dll NtReplyWaitReceivePortEx
00452195 +0d AC.exe madExcept CallThreadProcSafe
004521ff +37 AC.exe madExcept ThreadExceptFrame
>> created by thread $618 at:
77dbd10d +00 RPCRT4.dll
thread $e24:
7c90daa8 +0a ntdll.dll NtReplyWaitReceivePortEx
00452195 +0d AC.exe madExcept CallThreadProcSafe
004521ff +37 AC.exe madExcept ThreadExceptFrame
>> created by thread $384 at:
77dbd10d +00 RPCRT4.dll
modules:
003a0000 Normaliz.dll 6.0.5441.0 C:WINDOWSsystem32
00400000 AC.exe 6.1.1.1 C:FortesAC
04870000 GrooveIntlResource.dll 14.0.4761.1000 C:ARQUIV~1MICROS~2Office141046
054c0000 gds32.dll 2.1.3.18185 C:FortesAC
05a50000 dbexpida.dll 2.20.0.10 C:FortesAC
06ae0000 HL_MED32.dll C:WINDOWSsystem32
077d0000 HPM1210GC.dll 2012.929.1.58769 C:WINDOWSSystem32spoolDRIVERSW32X863
080d0000 hpm1210sd.dll 0.3.1.58769 C:WINDOWSSystem32spoolDRIVERSW32X863
08870000 xpsp2res.dll 5.1.2600.5512 C:WINDOWSsystem32
09240000 hpm1210su.dll 0.3.1.58769 C:WINDOWSSystem32spoolDRIVERSW32X863
10000000 office.odf 14.0.4738.1000 C:ARQUIV~1ARQUIV~1MICROS~1OFFICE14Cultures
1f840000 odbcint.dll 3.525.1117.0 C:WINDOWSsystem32
3fa50000 wininet.dll 8.0.6001.23499 C:WINDOWSsystem32
400f0000 iertutil.dll 8.0.6001.23499 C:WINDOWSsystem32
402e0000 ieframe.dll 8.0.6001.23499 C:WINDOWSsystem32
43f90000 urlmon.dll 8.0.6001.23499 C:WINDOWSsystem32
49460000 GROOVEEX.DLL 14.0.4761.1000 C:ARQUIV~1MICROS~2Office14
4bde0000 idapi32.DLL 5.2.0.2 C:Arquivos de programasArquivos comunsBorland SharedBDE
4eb60000 gdiplus.dll 5.2.6002.22791 C:WINDOWSWinSxSx86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.22791_x-ww_c8dff154
5b1c0000 uxtheme.dll 6.0.2900.5512 C:WINDOWSsystem32
5bcb0000 netapi32.dll 5.1.2600.6260 C:WINDOWSsystem32
5d510000 comctl32.dll 5.82.2900.6028 C:WINDOWSsystem32
5f250000 olepro32.dll 5.1.2600.5512 C:WINDOWSsystem32
60b30000 hnetcfg.dll 5.1.2600.5512 C:WINDOWSsystem32
64d00000 snxhk.dll 8.0.1489.300 C:Arquivos de programasAVAST SoftwareAvast
64e40000 ashShell.dll 8.0.1489.300 C:Arquivos de programasAVAST SoftwareAvast
6dad0000 ODBCCP32.DLL 3.525.1132.0 C:WINDOWSsystem32
71a10000 mswsock.dll 5.1.2600.5625 C:WINDOWSSystem32
71a50000 wshtcpip.dll 5.1.2600.5512 C:WINDOWSSystem32
71a60000 WS2HELP.dll 5.1.2600.5512 C:WINDOWSsystem32
71a70000 WS2_32.dll 5.1.2600.5512 C:WINDOWSsystem32
71a90000 wsock32.dll 5.1.2600.5512 C:WINDOWSsystem32
71ae0000 MPR.dll 5.1.2600.5512 C:WINDOWSsystem32
71bc0000 SAMLIB.dll 5.1.2600.5512 C:WINDOWSsystem32
72280000 sensapi.dll 5.1.2600.5512 C:WINDOWSsystem32
72fb0000 winspool.drv 5.1.2600.5512 C:WINDOWSsystem32
746e0000 MSCTF.dll 5.1.2600.5512 C:WINDOWSsystem32
74940000 msxml3.dll 8.100.1053.0 C:WINDOWSsystem32
75290000 msctfime.ime 5.1.2600.5768 C:WINDOWSsystem32
76350000 msimg32.dll 5.1.2600.5512 C:WINDOWSsystem32
76360000 IMM32.DLL 5.1.2600.5512 C:WINDOWSsystem32
76380000 comdlg32.dll 6.0.2900.5512 C:WINDOWSsystem32
76760000 SHFolder.dll 6.0.2900.5512 C:WINDOWSsystem32
76770000 cryptdll.dll 5.1.2600.5512 C:WINDOWSsystem32
769a0000 USERENV.dll 5.1.2600.5512 C:WINDOWSsystem32
76b20000 winmm.dll 5.1.2600.6160 C:WINDOWSsystem32
76bd0000 psapi.dll 5.1.2600.5512 C:WINDOWSsystem32
76c10000 WINTRUST.dll 5.131.2600.6285 C:WINDOWSsystem32
76c70000 IMAGEHLP.dll 5.1.2600.6198 C:WINDOWSsystem32
76d40000 iphlpapi.dll 5.1.2600.5512 C:WINDOWSsystem32
76e60000 rtutils.dll 5.1.2600.5512 C:WINDOWSsystem32
76e70000 rasman.dll 5.1.2600.5512 C:WINDOWSsystem32
76e90000 TAPI32.dll 5.1.2600.5512 C:WINDOWSsystem32
76ec0000 RASAPI32.dll 5.1.2600.5512 C:WINDOWSsystem32
76f00000 DNSAPI.dll 5.1.2600.6089 C:WINDOWSsystem32
76f40000 WLDAP32.dll 5.1.2600.5512 C:WINDOWSsystem32
76f90000 winrnr.dll 5.1.2600.5512 C:WINDOWSSystem32
76fa0000 rasadhlp.dll 5.1.2600.5512 C:WINDOWSsystem32
76fb0000 CLBCATQ.DLL 2001.12.4414.700 C:WINDOWSsystem32
77030000 COMRes.dll 2001.12.4414.700 C:WINDOWSsystem32
77100000 oleaut32.dll 5.1.2600.6341 C:WINDOWSsystem32
773b0000 comctl32.dll 6.0.2900.6028 C:WINDOWSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202
774c0000 ole32.dll 5.1.2600.6168 C:WINDOWSsystem32
77670000 NTMARTA.DLL 5.1.2600.5512 C:WINDOWSsystem32
77900000 SETUPAPI.dll 5.1.2600.5512 C:WINDOWSsystem32
77a60000 CRYPT32.dll 5.131.2600.6239 C:WINDOWSsystem32
77b00000 MSASN1.dll 5.1.2600.5875 C:WINDOWSsystem32
77b20000 appHelp.dll 5.1.2600.5512 C:WINDOWSsystem32
77be0000 version.dll 5.1.2600.5512 C:WINDOWSsystem32
77bf0000 msvcrt.dll 7.0.2600.5512 C:WINDOWSsystem32
77c50000 msv1_0.dll 5.1.2600.5876 C:WINDOWSsystem32
77db0000 RPCRT4.dll 5.1.2600.6022 C:WINDOWSsystem32
77e50000 GDI32.dll 5.1.2600.5698 C:WINDOWSsystem32
77ea0000 SHLWAPI.dll 6.0.2900.5912 C:WINDOWSsystem32
77f20000 Secur32.dll 5.1.2600.5834 C:WINDOWSsystem32
77f50000 advapi32.dll 5.1.2600.5755 C:WINDOWSsystem32
78130000 MSVCR80.dll 8.0.50727.4053 C:WINDOWSWinSxSx86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989
78480000 MSVCP90.dll 9.0.30729.6161 C:WINDOWSWinSxSx86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43
78520000 MSVCR90.dll 9.0.30729.6161 C:WINDOWSWinSxSx86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43
78e20000 ATL90.DLL 9.0.30729.6161 C:WINDOWSWinSxSx86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_92453bb7
7c800000 KERNEL32.dll 5.1.2600.6293 C:WINDOWSsystem32
7c900000 ntdll.dll 5.1.2600.6055 C:WINDOWSsystem32
7c9c0000 shell32.dll 6.0.2900.6242 C:WINDOWSsystem32
7d1e0000 msi.dll 3.1.4001.5512 C:WINDOWSsystem32
7e360000 user32.dll 5.1.2600.5512 C:WINDOWSsystem32
processes:
000 Idle 0 0
004 System 0 0 normal
1f4 smss.exe 0 0 normal C:WINDOWSsystem32
224 csrss.exe 0 0
23c winlogon.exe 42 11 high C:WINDOWSsystem32
268 services.exe 4 2 normal C:WINDOWSsystem32
274 lsass.exe 4 1 normal C:WINDOWSsystem32
320 svchost.exe 4 1 normal C:WINDOWSsystem32
350 svchost.exe 0 0
3b0 svchost.exe 11 36 normal C:WINDOWSSystem32
408 svchost.exe 0 0
454 svchost.exe 0 0
498 AvastSvc.exe 11 11 normal C:Arquivos de programasAVAST SoftwareAvast
500 spoolsv.exe 4 6 normal C:WINDOWSsystem32
538 scardsvr.exe 0 0
778 svchost.exe 0 0
7d4 HPSIsvc.exe 11 4 normal C:WINDOWSsystem32
7ec jqs.exe 4 2 idle C:Arquivos de programasJavajre7bin
7fc srvany.exe 4 1 normal C:WINDOWSsystem32
0c0 SACSrv.exe 4 5 normal C:Arquivos de programasSafeNetAuthenticationSACx32
0c4 KMService.exe 4 1 normal C:WINDOWS
14c svchost.exe 4 2 normal C:WINDOWSsystem32
178 TeamViewer_Service.exe 4 4 normal C:Arquivos de programasTeamViewerVersion8
104 alg.exe 0 0
84c svchost.exe 4 1 normal C:WINDOWSSystem32
cd4 Explorer.EXE 460 273 normal C:WINDOWS
dac avastUI.exe 138 36 normal C:Arquivos de programasAVAST SoftwareAvast
e04 jusched.exe 8 4 normal C:Arquivos de programasArquivos comunsJavaJava Update
e34 ctfmon.exe 28 11 normal C:WINDOWSsystem32
eb8 SACMonitor.exe 14 17 normal C:Arquivos de programasSafeNetAuthenticationSACx32
eec Wscript.exe 28 9 normal C:WINDOWSsystem32
f04 msnmsgr.exe 74 74 normal C:Arquivos de programasWindows LiveMessenger
c58 firefox.exe 638 73 normal C:Arquivos de programasMozilla Firefox
de4 plugin-container.exe 53 66 normal C:Arquivos de programasMozilla Firefox
aec HP1006MC.EXE 0 0
a38 OSPPSVC.EXE 0 0
ba0 Sefip.exe 341 263 normal C:Arquivos de programasCAIXASEFIP
464 cns.exe 317 120 normal C:ARQUIV~1CAIXACNS
f78 AC.exe 438 312 normal C:FortesAC
edc ping.exe 4 1 normal C:WINDOWSsystem32
hardware:
+ Adaptadores de rede
– SiS 900 PCI Fast Ethernet Adapter (driver 2.0.1039.1190)
+ Computador
– ACPI Uniprocessor PC
+ Controladores de disquete
– Controlador padrão de disquete
+ Controladores de som, vídeo e jogo
– Codecs de vídeo
– Codecs de áudio
– Dispositivos de controle de mídia
– Dispositivos Legacy para captura de vídeo
– Drivers de áudio Legacy
+ Controladores IDE ATA/ATAPI
– Canal IDE primário
– Canal IDE secundário
– SiS PCI IDE Controller
+ Controladores USB (barramento serial universal)
– SiS 7001 PCI to USB Open Host Controller
– SiS 7001 PCI to USB Open Host Controller
– SiS 7001 PCI to USB Open Host Controller
– SiS PCI to USB Enhanced Host Controller
– USB Root Hub
– USB Root Hub
– USB Root Hub
– USB Root Hub
+ Dispositivos de sistema
– Alto-falante do sistema
– Botão de recurso fixo ACPI
– Botão ligar/desligar ACPI
– CMOS do sistema/relógio em tempo real
– Controlador de acesso direto à memória
– Controlador de interrupção programável
– Dispositivo de atualização de microcódigo
– Driver de BIOS de Gerenciamento de Sistema Microsoft
– Enumerador de dispositivos de software Plug and Play
– Gerenciador de discos lógicos
– Gerenciador de volumes
– Microsoft ACPI-Compliant System
– PCI bus
– PCI standard host CPU bridge
– PCI standard ISA bridge
– Placa de sistema
– Porta de dados de leitura ISAPNP
– Processador de dados numéricos
– Recursos da placa-mãe
– Recursos da placa-mãe
– Redirecionador de dispositivo do Terminal Server
– SIS Processor to AGP Controller
– Terminal Server Keyboard Driver
– Terminal Server Mouse Driver
– Timer do sistema
+ Mouse e outros dispositivos apontadores
– Microsoft PS/2 Mouse
+ Portas (COM & LPT)
– Porta de comunicação (COM1)
+ Processadores
– AMD Athlon(tm) MP
+ Smart card readers
– Aladdin IFD Handler (driver 5.0.0.37)
– Aladdin IFD Handler (driver 5.0.0.37)
– Aladdin VR Handler (driver 5.0.0.37)
– Rainbow iKey Enumerator (driver 1.21.0.5)
– Rainbow iKey Virtual Reader (driver 1.21.0.5)
– Rainbow iKey Virtual Reader (driver 1.21.0.5)
+ Teclados
– Teclado padrão com 101/102 teclas ou Microsoft Natural PS/2 Keyboard
+ Unidades de disco
– SAMSUNG SP0802N
+ Unidades de disquete
– Unidade de disquete
+ Unidades de DVD/CD-ROM
– HL-DT-ST CD-RW GCE-8526B
cpu registers:
eax = 0a8836fc
ebx = 00000057
ecx = 00000002
edx = 00481a4c
esi = 0012e314
edi = 0a8281b4
eip = 00481a4c
esp = 0012e09c
ebp = 0012e1e0
stack dump:
0012e09c 4c 1a 48 00 de fa ed 0e – 01 00 00 00 07 00 00 00 L.H………….
0012e0ac b0 e0 12 00 4c 1a 48 00 – fc 36 88 0a 57 00 00 00 ….L.H..6..W…
0012e0bc 14 e3 12 00 b4 81 82 0a – e0 e1 12 00 cc e0 12 00 …………….
0012e0cc f0 e1 12 00 50 55 40 00 – e0 e1 12 00 00 00 00 00 ….PU@………
0012e0dc 00 00 00 00 50 61 72 e2 – 6d 65 74 72 6f 20 69 6e ….Par.metro.in
0012e0ec 63 6f 72 72 65 74 6f 2e – 0d 0a 00 ff 22 02 91 7c correto…..”..|
0012e0fc 9b 01 91 7c db 01 91 7c – 14 00 00 00 7c e3 12 00 …|…|….|…
0012e10c 14 00 00 00 d0 30 15 00 – 48 e1 12 00 00 00 15 00 …..0..H…….
0012e11c 22 02 91 7c 06 00 00 00 – a8 07 15 00 00 00 15 00 “..|…………
0012e12c 28 25 3c 05 20 e1 12 00 – 78 e3 12 00 64 e3 12 00 (%<.....x...d... 0012e13c 20 e9 90 7c 74 e1 12 00 – 00 00 15 00 22 02 91 7c …|t…….”..| 0012e14c 06 00 00 00 a8 07 15 00 – 00 00 15 00 28 25 3c 05 …………(%<. 0012e15c 4c e1 12 00 07 00 00 00 – 90 e3 12 00 20 e9 90 7c L…………..| 0012e16c 28 02 91 7c ff ff ff ff – 22 02 91 7c 9b 01 91 7c (..|….”..|…| 0012e17c db 01 91 7c 14 00 00 00 – f8 e3 12 00 14 00 00 00 …|………… 0012e18c 18 2a 1b 07 00 00 00 00 – ac 81 8c 09 ac e1 12 00 .*………….. 0012e19c 00 40 88 0a 00 40 88 0a – 9f 0c 01 c9 3c 25 3c 05 .@…@……<%<. 0012e1ac 0a 00 00 00 8c c4 15 00 – 3f 29 40 00 cc b5 48 02 ……..?)@…H. 0012e1bc da 56 40 00 b5 28 40 00 – fc e1 12 00 40 29 40 00 .V@..(@…..@)@. 0012e1cc 78 eb 00 00 ac e2 12 00 – de 59 48 00 c1 0a 01 ab x……..YH….. disassembling: […] 005c13cf mov ecx, [eax] 005c13d1 call dword ptr [ecx+$40] 005c13d4 3819 mov edx, edi 005c13d6 mov eax, ebx 005c13d8 mov ecx, [eax] 005c13da > call dword ptr [ecx+$34]
005c13dd mov eax, ebx
005c13df 3820 pop edi
005c13e0 pop esi
005c13e1 pop ebx
005c13e2 ret
grateful,
Marcius
Topic: [AC 7.41] OutOfResources
Доброго времени суток!
Не знаю актуально али не. Но стоит проверить. Напоролся на рапорт от пользователя:
Code:date/time : 2011-05-26, 23:40:49, 734ms
computer name : LONER-XP
user name : Loner
registered owner : Loner-XP / WolfishLair
operating system : Windows XP Service Pack 3 build 2600
system language : Russian
system up time : 14 hours 59 minutes
program up time : 10 seconds
processors : 2x Pentium(R) Dual-Core CPU E6600 @ 3.06GHz
physical memory : 698/2047 MB (free/total)
free disk space : (F:) 426,95 GB (G:) 241,10 GB
display mode : 1920×1080, 32 bit
process id : $1090
allocated memory : 9,90 MB
executable : HLR.exe
exec. date/time : 2011-05-19 19:22
version : 1.8.0.2338
compiled with : Delphi 7
madExcept version : 3.0m
callstack crc : $609bfc05, $567c93a3, $8fd07837
exception number : 1
exception class : EOutOfResources
exception message : Out of system resources.main thread ($c6c):
004744af +02f HLR.exe Graphics OutOfResources
00474552 +07e HLR.exe Graphics GDIError
00474583 +007 HLR.exe Graphics GDICheck
00477bc2 +2d2 HLR.exe Graphics CopyBitmap
004783c3 +063 HLR.exe Graphics TBitmap.CopyImage
00479638 +03c HLR.exe Graphics TBitmap.SetHeight
005af08a +036 HLR.exe sGraphUtils 3761 +5 CreateBmp32
005ba955 +051 HLR.exe sListView 746 +2 TsCustomListView.ColumnSkinPaint
005ba74d +0a9 HLR.exe sListView 684 +13 TsCustomListView.PaintHeader
005ba321 +175 HLR.exe sListView 591 +23 TsCustomListView.HeaderWndProc
00470390 +014 HLR.exe Classes StdWndProc
7e37a993 +016 USER32.dll CallWindowProcA
0049eba3 +0c7 HLR.exe ComCtrls TCustomListView.HeaderWndProc
00470390 +014 HLR.exe Classes StdWndProc
7c90e470 +010 ntdll.dll KiUserCallbackDispatcher
7e37aed7 +02c USER32.dll UpdateWindow
7e37a993 +016 USER32.dll CallWindowProcA
004d756f +0d7 HLR.exe Controls TWinControl.DefaultHandler
004d7ae3 +033 HLR.exe Controls TWinControl.WMPaint
004a1b31 +005 HLR.exe ComCtrls TCustomListView.WMPaint
004d442c +188 HLR.exe Controls TControl.WndProc
004d748b +157 HLR.exe Controls TWinControl.WndProc
004a08b6 +072 HLR.exe ComCtrls TCustomListView.WndProc
005b9db7 +72b HLR.exe sListView 479 +201 TsCustomListView.WndProc
0053a570 +030 HLR.exe acSBUtils 5401 +6 TacMainWnd.CallPrevWndProc
005332df +633 HLR.exe acSBUtils 3110 +147 TacScrollWnd.acWndProc
005380a8 +0e4 HLR.exe acSBUtils 4690 +23 TacBaseWnd.acWndProc
00533bd2 +8b6 HLR.exe acSBUtils 3295 +172 TacEditWnd.acWndProc
004d7108 +02c HLR.exe Controls TWinControl.MainWndProc
00470390 +014 HLR.exe Classes StdWndProc
7c90e470 +010 ntdll.dll KiUserCallbackDispatcher
7e3696c2 +00a USER32.dll DispatchMessageA
004c39c7 +083 HLR.exe Forms TApplication.ProcessMessage
004c39fe +00a HLR.exe Forms TApplication.HandleMessage
004c3c2e +096 HLR.exe Forms TApplication.Run
0061b84d +2b1 HLR.exe HLR 169 +55 initializationthread $13b8 (TAppThread):
7c90df58 +00a ntdll.dll NtWaitForSingleObject
7c8025d5 +085 kernel32.dll WaitForSingleObjectEx
7c80253d +00d kernel32.dll WaitForSingleObject
005f4e11 +519 HLR.exe AppThreadUnit 329 +190 TAppThread.Execute
00450953 +02b HLR.exe madExcept HookedTThreadExecute
0046edb4 +034 HLR.exe Classes ThreadProc
00404d70 +028 HLR.exe System ThreadWrapper
00450835 +00d HLR.exe madExcept CallThreadProcSafe
0045089f +037 HLR.exe madExcept ThreadExceptFrame
>> created by main thread ($c6c) at:
005f4768 +018 HLR.exe AppThreadUnit 51 +1 TAppThread.Createactive control:
TsListView “Appslist” [, FreeNotification]
TsTabSheet “ApplicationsPage” []
TsPageControl “Pages” []
TMainForm “MainForm” [, FreeNotification]disassembling:
005af054 public sGraphUtils.CreateBmp32: ; function entry point
005af054 3756 push ebx
005af055 push esi
005af056 push edi
005af057 mov edi, edx
005af059 mov esi, eax
005af05b 3757 mov dl, 1
005af05d mov eax, [$471f8c]
005af062 call -$136ea3 ($4781c4) ; Graphics.TBitmap.Create
005af062
005af067 mov ebx, eax
005af069 3758 mov dl, 7
005af06b mov eax, ebx
005af06d call -$1358ce ($4797a4) ; Graphics.TBitmap.SetPixelFormat
005af06d
005af072 3759 xor edx, edx
005af074 mov eax, ebx
005af076 mov ecx, [eax]
005af078 call dword ptr [ecx+$6c]
005af078
005af07b 3760 mov edx, esi
005af07d mov eax, ebx
005af07f mov ecx, [eax]
005af081 call dword ptr [ecx+$40]
005af081
005af084 3761 mov edx, edi
005af086 mov eax, ebx
005af088 mov ecx, [eax]
005af08a > call dword ptr [ecx+$34] ;EXCEPTION
005af08a
005af08d mov eax, ebx
005af08f 3762 pop edi
005af090 pop esi
005af091 pop ebx
005af092 retTopic: Многопотоковое приложение
Здравствуйте!
Столкнулся с неприятным моментом: хаотично по времени работы и по действиям вылетает странная GDIError. Причем, на каких-то обычных операциях. Поискал по форуму – нашел 4 темы по этому вопросу (первая найболее подходит). Хочу спросить, делали ли что-то с этой ошибкой? Т.к. непонятно, в какую сторону копать: многопотоковость есть и никуда не уйдешь от неё
Topic: Thread support
I get the following AV exception when I use threads in my application:
Access violation at address 005D6257 in module 'NlPostaClient.exe'. Read of address 042E13D3.
Call stack:
005d6257 NlPostaClient.exe sAlphaGraph 1478 +52 TacFastSum24.BlendBitmapsRect
00620a94 NlPostaClient.exe sGraphUtils 2431 +13 SumBitmaps
005e6a48 NlPostaClient.exe sFade 129 +9 TsFadeTimer.Change
005e6cd5 NlPostaClient.exe sFade 186 +2 TsFadeTimer.Timer
004ac9ff NlPostaClient.exe ExtCtrls 2208 +4 TTimer.WndProc
00438f88 NlPostaClient.exe Classes 11572 +8 StdWndProc
7e3696c2 USER32.dll DispatchMessageA
004cde66 NlPostaClient.exe Forms 7651 +23 TApplication.ProcessMessage
004cde8f NlPostaClient.exe Forms 7663 +1 TApplication.ProcessMessages
007b6da0 NlPostaClient.exe NlPostaClientMainUnit 1394 +57 TfrmNlPostaClientMain.ProcessTrayCatalog
007b7a28 NlPostaClient.exe NlPostaClientMainUnit 1657 +63 TfrmNlPostaClientMain.ProcessTrayCatalogs
007bbcec NlPostaClient.exe NlPostaClientMainUnit 2726 +2 TfrmNlPostaClientMain.threadTraysExecute
006bd307 NlPostaClient.exe JvThread TJvBaseThread.Execute
00480bb3 NlPostaClient.exe madExcept HookedTThreadExecute
00436fe6 NlPostaClient.exe Classes 9866 +7 ThreadProc
004056c8 NlPostaClient.exe System 12127 +33 ThreadWrapper
00480a95 NlPostaClient.exe madExcept CallThreadProcSafe
00480aff NlPostaClient.exe madExcept ThreadExceptFrame
>> created by main thread ($814) at:
006bd396 NlPostaClient.exe JvThread TJvPausableThread.Create
LOG №2 :It seems that AC not supports threaded applications.
exception class : EOutOfResources
main thread ($29c):
0047ffc3 NlPostaClient.exe Graphics GDIError
0047fffb NlPostaClient.exe Graphics GDICheck
00483f7b NlPostaClient.exe Graphics CopyBitmap
0048456f NlPostaClient.exe Graphics TBitmap.CopyImage
00486020 NlPostaClient.exe Graphics TBitmap.SetSize
0048590b NlPostaClient.exe Graphics TBitmap.SetHeight
00625939 NlPostaClient.exe sSkinProvider 3593 +44 TsSkinProvider.PaintAll
00623fe9 NlPostaClient.exe sSkinProvider 3243 +7 TsSkinProvider.PaintCaption
0062a9c3 NlPostaClient.exe sSkinProvider 4756 +60 TsSkinProvider.AC_WMNCPaint
00621609 NlPostaClient.exe sSkinProvider 2569 +857 TsSkinProvider.NewWndProc
0069f933 NlPostaClient.exe JvWndProcHook TJvWindowHook.DoAfterMessage
0069f7ab NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
004c3470 NlPostaClient.exe Controls TControl.GetClientWidth
7e379807 USER32.dll IsIconic
004c517f NlPostaClient.exe Controls TControl.WndProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7e37f406 USER32.dll SendMessageA
0061fbcd NlPostaClient.exe sSkinProvider 2124 +412 TsSkinProvider.NewWndProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7e37f156 USER32.dll DefWindowProcA
0069f7ab NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
7e37a993 USER32.dll CallWindowProcA
004c8f7b NlPostaClient.exe Controls TWinControl.DefaultHandler
004b2c3e NlPostaClient.exe Forms TCustomForm.DefaultHandler
004c5bfc NlPostaClient.exe Controls TControl.WMWindowPosChanged
004c9a03 NlPostaClient.exe Controls TWinControl.WMWindowPosChanged
004c517f NlPostaClient.exe Controls TControl.WndProc
004c8e98 NlPostaClient.exe Controls TWinControl.WndProc
004b0e5d NlPostaClient.exe Forms TCustomForm.WndProc
00622aeb NlPostaClient.exe sSkinProvider 2988 +1276 TsSkinProvider.NewWndProc
7e379807 USER32.dll IsIconic
0069f933 NlPostaClient.exe JvWndProcHook TJvWindowHook.DoAfterMessage
0069f7ab NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7e37f156 USER32.dll DefWindowProcA
7e37a993 USER32.dll CallWindowProcA
004c8f7b NlPostaClient.exe Controls TWinControl.DefaultHandler
004b2c3e NlPostaClient.exe Forms TCustomForm.DefaultHandler
004ca7a5 NlPostaClient.exe Controls TWinControl.WMSysCommand
004b3b21 NlPostaClient.exe Forms TCustomForm.WMSysCommand
004c517f NlPostaClient.exe Controls TControl.WndProc
004c8e98 NlPostaClient.exe Controls TWinControl.WndProc
004b0e5d NlPostaClient.exe Forms TCustomForm.WndProc
00622882 NlPostaClient.exe sSkinProvider 2943 +1231 TsSkinProvider.NewWndProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7e37f156 USER32.dll DefWindowProcA
7e37a993 USER32.dll CallWindowProcA
004c8f7b NlPostaClient.exe Controls TWinControl.DefaultHandler
004b2c3e NlPostaClient.exe Forms TCustomForm.DefaultHandler
004c57c9 NlPostaClient.exe Controls TControl.WMNCLButtonDown
004b3759 NlPostaClient.exe Forms TCustomForm.WMNCLButtonDown
004c517f NlPostaClient.exe Controls TControl.WndProc
004c8e98 NlPostaClient.exe Controls TWinControl.WndProc
004b0e5d NlPostaClient.exe Forms TCustomForm.WndProc
006203c0 NlPostaClient.exe sSkinProvider 2262 +550 TsSkinProvider.NewWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7e3696c2 USER32.dll DispatchMessageA
004b8510 NlPostaClient.exe Forms TApplication.ProcessMessage
004b854a NlPostaClient.exe Forms TApplication.HandleMessage
004b876a NlPostaClient.exe Forms TApplication.Run
0079c0d7 NlPostaClient.exe NlPostaClient 62 +18 initialization
LOG №3 :exception class : EOutOfResources
thread $3bc (TJvBaseThread):
0047ffc3 NlPostaClient.exe Graphics GDIError
0047fffb NlPostaClient.exe Graphics GDICheck
00483f7b NlPostaClient.exe Graphics CopyBitmap
0048456f NlPostaClient.exe Graphics TBitmap.CopyImage
00485b81 NlPostaClient.exe Graphics TBitmap.SetPixelFormat
005ba15e NlPostaClient.exe acPNG 5166 +31 TPNGGraphic.Draw
0047f856 NlPostaClient.exe Graphics TCanvas.StretchDraw
0049bd53 NlPostaClient.exe ExtCtrls TImage.Paint
004cce40 NlPostaClient.exe Controls TGraphicControl.WMPaint
004c517f NlPostaClient.exe Controls TControl.WndProc
004c4e0c NlPostaClient.exe Controls TControl.Perform
004c9305 NlPostaClient.exe Controls TWinControl.PaintControls
004c9111 NlPostaClient.exe Controls TWinControl.PaintHandler
004c9617 NlPostaClient.exe Controls TWinControl.WMPaint
004b3465 NlPostaClient.exe Forms TCustomForm.WMPaint
004c517f NlPostaClient.exe Controls TControl.WndProc
004c8e98 NlPostaClient.exe Controls TWinControl.WndProc
004b0e5d NlPostaClient.exe Forms TCustomForm.WndProc
005e2e07 NlPostaClient.exe sSkinProvider 1820 +108 TsSkinProvider.NewWndProc
005225c5 NlPostaClient.exe TntControls 666 +19 TWinControlTrap.WindowProc
005e2e07 NlPostaClient.exe sSkinProvider 1820 +108 TsSkinProvider.NewWndProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7e37a034 USER32.dll CallWindowProcW
00522218 NlPostaClient.exe TntControls 554 +12 TWinControlTrap.Win32Proc
004796d4 NlPostaClient.exe Classes StdWndProc
7c90eb94 ntdll.dll RtlAnsiStringToUnicodeString
7c90e470 ntdll.dll KiUserCallbackDispatcher
0069600b NlPostaClient.exe JvThread TJvBaseThread.Execute
0045035f NlPostaClient.exe madExcept HookedTThreadExecute
00477f88 NlPostaClient.exe Classes ThreadProc
00405464 NlPostaClient.exe System 746 +0 ThreadWrapper
00450241 NlPostaClient.exe madExcept CallThreadProcSafe
004502ab NlPostaClient.exe madExcept ThreadExceptFrame
>> created by main thread ($6e4) at:
0069609a NlPostaClient.exe JvThread TJvPausableThread.CreateViewing 7 results - 1 through 7 (of 7 total)
Search Results for 'GDIError'
Viewing 7 results - 1 through 7 (of 7 total)