Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running out of handles in VFP3.0
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00174428
Message ID:
00174431
Views:
22
Below are 2 Dr. Watson dumps from the errors. The first is from the error that was caused by the listbox. The second is the one that occurs when closing the form. The error occurs in both Win98 and WinNT4.0 Server running SP4. These are 2 separate machines, the Watson dumps are from the NT machine. Running VFP3.0a, both systems are running totally different background software, Watson provided a list somewhere down there. Regularly, the system runs at around 3000 handles (I'm not sure what type, this is showing up by hitting CTRL-ALT-DEL to bring up the task manager and it shows up under the performance tab.). Watching the performance monitor (the separate admin tool program), the handles spike to 100 when the crash occurs. The handles in the performance monitor are processor handles (I picked handles from the processor section) and are for VFP.EXE. The error is happening when the form is closing. There is one form behind it; the form causing the error is a secondary form. I tried running just the secondary form and the error occurs, just with more effort (more moving around in the form) to cause it. The system also regularly runs around 80mb of v-mem used, and a series of these crashes runs that up to around 140 or so. I have 20 tables and 17 cursors open max in the program, almost no non-local memvars. There are about a half dozen filters set at the outset of the form. Note in first instance of the error, a cursor name, csizeavailable, shows up in the dump. I tried not ever requerying the table in the form, but the error didn't go away until I removed it from the controlsource of a listbox on the form. I put a larger table into the listbox (the table from which the cursor was selecting it's information) and it worked fine. I tried to re-create the form (copied the controls onto another form) and the error still occured (the 1st one that is). At the time of these dumps I quoted below, there were a fair number of things running, but the error does occur when nothing is open at all. I tried to run the test code for the out of handles bug and got a similar 05 error, but at a different address. Does this help?

Cole


# 1

Application exception occurred:
App: (pid=278)
When: 1/6/1999 @ 23:12:28.621
Exception number: c0000005 (access violation)

*----> System Information <----*
Computer Name: JACKR
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 6 Model 3 Stepping 4
Windows Version: 4.0
Current Build: 1381
Service Pack: 4
Current Type: Uniprocessor Free
Registered Organization:
Registered Owner: Cole Getzler

*----> Task List <----*
0 Idle.exe
2 System.exe
21 smss.exe
28 CSRSS.exe
35 WINLOGON.exe
41 SERVICES.exe
46 LSASS.exe
88 SPOOLSS.exe
80 RPCSS.exe
104 msdtc.exe
110 NDDEAGNT.exe
120 EXPLORER.exe
136 atrls.exe
144 cisvc.exe
150 smartagt.exe
153 systray.exe
156 comsmd.exe
158 FPAVSVC.exe
160 daconfig.exe
165 LOADWC.exe
168 F-AGNTNT.exe
170 aim.exe
100 LLSSRV.exe
175 Stms.exe
182 PSTORES.exe
197 msimn.exe
203 starter.exe
205 Ebrr.exe
208 inetinfo.exe
49 cidaemon.exe
286 Agent.exe
278 VFP.exe
253 DRWTSN32.exe
0 _Total.exe

(00400000 - 00400000)
(77f60000 - 77fbc000) dll\ntdll.dbg
(77f00000 - 77f5e000) dll\kernel32.dbg
(77e70000 - 77ec4000) dll\user32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77dc0000 - 77dff000) dll\advapi32.dbg
(77e10000 - 77e67000) dll\rpcrt4.dbg
(77c00000 - 77c18000) drv\winspool.dbg
(77d80000 - 77db2000) dll\comdlg32.dbg
(77c40000 - 77d7c000) dll\shell32.dbg
(77aa0000 - 77b14000) COMCTL32.dbg
(77a90000 - 77a9b000) dll\version.dbg
(779c0000 - 779c8000) dll\lz32.dbg
(77720000 - 77731000) dll\mpr.dbg
(77fd0000 - 77ffa000) dll\winmm.dbg
(6bd00000 - 6bd0c000) y:\nt40ddk\lib\i386\free\es1371.dll
(77b20000 - 77bd5000) dll\ole32.dbg
(10000000 - 10000000)
(5f000000 - 5f011000)
(23e30000 - 23e30000)
(23e50000 - 23e50000)
(78000000 - 78048000) msvcrt.dbg
(77780000 - 77786000) dll\msidle.dbg

State Dump for Thread Id 0x110

eax=06daa510 ebx=00000000 ecx=1006da91 edx=100af10d esi=007611a7 edi=00000000
eip=00405153 esp=0012a9e4 ebp=00000000 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202


function:
00405126 ef out dx,eax
00405127 0500008b09 add eax,0x98b0000
0040512c ff0568907500 inc dword ptr [00759068] ds:00759068=0002b7ac
00405132 83e910 sub ecx,0x10
00405135 833d74d0750000 cmp dword ptr [0075d074],0x0 ds:0075d074=00000000
0040513c 0f85a9d60900 jne 004a27eb
00405142 8b410a mov eax,[ecx+0xa] ds:110cc497=????????
00405145 8b1568d07500 mov edx,[0075d068] ds:0075d068=06daa510
0040514b 83ca01 or edx,0x1
0040514e a368d07500 mov [0075d068],eax ds:0075d068=06daa510
FAULT ->00405153 8910 mov [eax],edx ds:06daa510=????????
00405155 56 push esi
00405156 33c0 xor eax,eax
00405158 8a410e mov al,[ecx+0xe] ds:110cc497=??
0040515b 8d1480 lea edx,[eax+eax*4] ds:06daa510=????????
0040515e 8b4102 mov eax,[ecx+0x2] ds:110cc497=????????
00405161 2904d5ec867500 sub [007586ec+edx*8],eax ds:100af10d=50100af1
00405168 8d34d5e0867500 lea esi,[007586e0+edx*8] ds:100af10d=50100af1
0040516f c1e004 shl eax,0x4
00405172 8bd1 mov edx,ecx
00405174 8bce mov ecx,esi
00405176 290560907500 sub [00759060],eax ds:00759060=001fc2a0

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
00000000 00000000 00000000 00000000 00000000 00000000

*----> Raw Stack Dump <----*
0012a9e4 43 6a 42 00 48 10 76 00 - e0 d6 48 00 48 10 76 00 CjB.H.v...H.H.v.
0012a9f4 00 00 00 00 2b d7 48 00 - a7 11 76 00 48 10 76 00 ....+.H...v.H.v.
0012aa04 4e 6b 42 00 a7 11 76 00 - 48 10 76 00 00 00 00 00 NkB...v.H.v.....
0012aa14 a7 11 76 00 a5 6b 42 00 - 00 00 00 00 48 10 76 00 ..v..kB.....H.v.
0012aa24 a7 11 76 00 00 00 00 00 - 4e 6c 42 00 00 00 00 00 ..v.....NlB.....
0012aa34 01 00 00 00 48 10 76 00 - 00 00 00 00 48 10 76 00 ....H.v.....H.v.
0012aa44 c6 02 00 00 87 06 42 00 - e0 af 12 00 00 00 00 00 ......B.........
0012aa54 c6 02 00 00 d0 e9 11 10 - 2c 5a 44 00 00 00 00 00 ........,ZD.....
0012aa64 72 00 00 00 c6 02 00 00 - f0 57 44 00 00 00 00 00 r........WD.....
0012aa74 e0 af 12 00 72 00 00 00 - 0c b4 09 10 d0 e9 11 10 ....r...........
0012aa84 5f 01 00 00 21 62 44 00 - 00 00 00 00 e0 af 12 00 _...!bD.........
0012aa94 72 00 00 00 0c b4 09 10 - d0 e9 11 10 ff ff ff ff r...............
0012aaa4 2c b4 09 10 b4 aa 12 00 - b8 aa 12 00 ff ff ff ff ,...............
0012aab4 84 5d 44 00 a8 ae 12 00 - 84 86 4c 00 72 00 00 00 .]D.......L.r...
0012aac4 0c b4 09 10 d0 e9 11 10 - 07 00 00 00 00 00 00 00 ................
0012aad4 00 00 74 00 60 b7 74 00 - 45 4c 20 46 c4 2e 75 00 ..t.`.t.EL F..u.
0012aae4 bc b3 12 00 52 3a 23 43 - 22 10 00 00 00 00 00 49 ....R:#C"......I
0012aaf4 5a 45 00 41 56 41 49 4c - 41 42 4c 45 00 00 00 00 ZE.AVAILABLE....
0012ab04 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ab14 00 00 00 00 00 00 00 00 - 00 00 00 00 44 ab 12 00 ............D...

State Dump for Thread Id 0x62

eax=0044cc34 ebx=00000000 ecx=000b08ae edx=00000000 esi=23e0ff98 edi=0000000e
eip=77f6789f esp=23e0ff84 ebp=23e0ffa0 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202


function: NtDelayExecution
77f67894 b827000000 mov eax,0x27
77f67899 8d542404 lea edx,[esp+0x4] ss:24e6e98b=????????
77f6789d cd2e int 2e
77f6789f c20800 ret 0x8
77f678a2 8bc0 mov eax,eax

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
23e0ffa0 77f1cf10 000000dc 00000000 0044cc4a 000000dc ntdll!NtDelayExecution
23e0ffec 00000000 0044cc34 00000000 00000000 00000000 kernel32!Sleep
00000000 00000000 00000000 00000000 00000000 00000000 !

*----> Raw Stack Dump <----*
23e0ff84 47 cf f1 77 00 00 00 00 - 98 ff e0 23 05 cf f1 77 G..w.......#...w
23e0ff94 00 00 00 00 40 6e de ff - ff ff ff ff ec ff e0 23 ....@n.........#
23e0ffa4 10 cf f1 77 dc 00 00 00 - 00 00 00 00 4a cc 44 00 ...w........J.D.
23e0ffb4 dc 00 00 00 7d 0d 00 00 - 3e 4f f0 77 00 00 00 00 ....}...>O.w....
23e0ffc4 0e 00 00 00 7d 0d 00 00 - 00 00 00 00 7d 0d 00 00 ....}.......}...
23e0ffd4 c4 ff e0 23 3b 34 0b 00 - ff ff ff ff 74 b8 f3 77 ...#;4......t..w
23e0ffe4 38 d2 f3 77 00 00 00 00 - 00 00 00 00 00 00 00 00 8..w............
23e0fff4 34 cc 44 00 00 00 00 00 - 00 00 00 00 00 00 00 00 4.D.............
23e10004 9f 00 01 00 10 00 90 01 - 17 00 b0 01 c0 c0 c0 00 ................
23e10014 c0 c0 c0 00 80 80 80 00 - 80 80 80 00 00 00 00 00 ................
23e10024 01 00 00 00 0d 02 01 01 - 00 00 00 00 00 00 00 00 ................
23e10034 00 00 00 00 00 00 00 00 - 02 00 00 00 01 00 00 00 ................
23e10044 01 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
23e10054 01 00 00 00 00 00 00 00 - 00 00 00 00 2f 05 0a 48 ............/..H
23e10064 00 00 00 40 06 00 00 00 - 00 00 00 00 00 00 00 00 ...@............
23e10074 00 00 00 00 00 00 00 00 - 00 00 00 40 06 00 00 00 ...........@....
23e10084 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
23e10094 00 00 00 00 00 00 00 00 - 4b 00 00 00 00 00 00 40 ........K......@
23e100a4 fe ff ff ff 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
23e100b4 00 00 00 00 00 00 00 40 - fe ff ff ff 00 00 00 00 .......@........




# 2

Application exception occurred:
App: (pid=308)
When: 1/9/1999 @ 19:59:34.875
Exception number: c0000005 (access violation)

*----> System Information <----*
Computer Name: JACKR
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 6 Model 3 Stepping 4
Windows Version: 4.0
Current Build: 1381
Service Pack: 4
Current Type: Uniprocessor Free
Registered Organization:
Registered Owner: Cole Getzler

*----> Task List <----*
0 Idle.exe
2 System.exe
21 smss.exe
28 CSRSS.exe
35 WINLOGON.exe
41 SERVICES.exe
44 LSASS.exe
86 SPOOLSS.exe
82 RPCSS.exe
102 msdtc.exe
111 NDDEAGNT.exe
128 atrls.exe
136 cisvc.exe
140 EXPLORER.exe
146 smartagt.exe
150 FPAVSVC.exe
98 LLSSRV.exe
166 PSTORES.exe
178 systray.exe
180 comsmd.exe
184 daconfig.exe
187 LOADWC.exe
189 F-AGNTNT.exe
142 aim.exe
191 inetinfo.exe
195 Stms.exe
201 msimn.exe
203 Ebrr.exe
205 starter.exe
271 cidaemon.exe
278 Agent.exe
269 netscape.exe
228 notepad.exe
314 Agent.exe
308 VFP.exe
299 DRWTSN32.exe
0 _Total.exe

(00400000 - 00400000)
(77f60000 - 77fbc000) dll\ntdll.dbg
(77f00000 - 77f5e000) dll\kernel32.dbg
(77e70000 - 77ec4000) dll\user32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77dc0000 - 77dff000) dll\advapi32.dbg
(77e10000 - 77e67000) dll\rpcrt4.dbg
(77c00000 - 77c18000) drv\winspool.dbg
(77d80000 - 77db2000) dll\comdlg32.dbg
(77c40000 - 77d7c000) dll\shell32.dbg
(77aa0000 - 77b14000) COMCTL32.dbg
(77a90000 - 77a9b000) dll\version.dbg
(779c0000 - 779c8000) dll\lz32.dbg
(77720000 - 77731000) dll\mpr.dbg
(77fd0000 - 77ffa000) dll\winmm.dbg
(6bd00000 - 6bd0c000) y:\nt40ddk\lib\i386\free\es1371.dll
(77b20000 - 77bd5000) dll\ole32.dbg
(10000000 - 10000000)
(5f000000 - 5f011000)
(23e30000 - 23e30000)
(78000000 - 78048000) msvcrt.dbg
(77780000 - 77786000) dll\msidle.dbg
(24250000 - 24250000)

State Dump for Thread Id 0xea

eax=0707ed10 ebx=00000001 ecx=100707e5 edx=1006df95 esi=007611a7 edi=00761048
eip=00405153 esp=0012b150 ebp=007611a7 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000206


function:
00405126 ef out dx,eax
00405127 0500008b09 add eax,0x98b0000
0040512c ff0568907500 inc dword ptr [00759068] ds:00759068=00006dd7
00405132 83e910 sub ecx,0x10
00405135 833d74d0750000 cmp dword ptr [0075d074],0x0 ds:0075d074=00000000
0040513c 0f85a9d60900 jne 004a27eb
00405142 8b410a mov eax,[ecx+0xa] ds:110cf1eb=????????
00405145 8b1568d07500 mov edx,[0075d068] ds:0075d068=0707ed10
0040514b 83ca01 or edx,0x1
0040514e a368d07500 mov [0075d068],eax ds:0075d068=0707ed10
FAULT ->00405153 8910 mov [eax],edx ds:0707ed10=????????
00405155 56 push esi
00405156 33c0 xor eax,eax
00405158 8a410e mov al,[ecx+0xe] ds:110cf1eb=??
0040515b 8d1480 lea edx,[eax+eax*4] ds:0707ed10=????????
0040515e 8b4102 mov eax,[ecx+0x2] ds:110cf1eb=????????
00405161 2904d5ec867500 sub [007586ec+edx*8],eax ds:1006df95=501006de
00405168 8d34d5e0867500 lea esi,[007586e0+edx*8] ds:1006df95=501006de
0040516f c1e004 shl eax,0x4
00405172 8bd1 mov edx,ecx
00405174 8bce mov ecx,esi
00405176 290560907500 sub [00759060],eax ds:00759060=001ab900

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
007611a7 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 !

*----> Raw Stack Dump <----*
0012b150 43 6a 42 00 a8 e3 1b 10 - be b5 48 00 68 df 06 10 CjB.......H.h...
0012b160 a9 9e 0d 10 b8 b1 12 00 - 48 10 76 00 53 bf 43 00 ........H.v.S.C.
0012b170 7c b2 12 00 58 df 06 10 - 68 df 06 10 b0 00 1c 10 |...X...h.......
0012b180 00 00 00 00 00 00 00 00 - 00 00 00 00 00 96 0d 10 ................
0012b190 e0 86 75 00 7c b2 12 00 - 48 10 76 00 ec ff ff 7f ..u.|...H.v.....
0012b1a0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012b1b0 35 00 00 00 00 00 00 00 - 8e bf 43 00 54 df 06 10 5.........C.T...
0012b1c0 09 b1 48 00 03 00 00 00 - 02 fb 42 00 1f 00 00 00 ..H.......B.....
0012b1d0 01 00 00 00 00 00 00 00 - 0e 01 00 00 68 01 00 00 ............h...
0012b1e0 b1 01 00 00 d5 01 00 00 - 52 fc 42 00 7c b2 12 00 ........R.B.|...
0012b1f0 1f 00 00 00 03 00 00 00 - 02 fb 42 00 e0 b1 12 00 ..........B.....
0012b200 3e fb 42 00 b0 ff 12 00 - 00 00 00 00 30 32 43 56 >.B.........02CV
0012b210 00 00 00 00 03 00 00 00 - bc b2 12 00 4c b2 12 00 ............L...
0012b220 c0 8e 75 00 57 b5 40 00 - 20 00 00 00 a6 b9 74 00 ..u.W.@. .....t.
0012b230 60 b7 74 00 02 00 00 00 - 3c 2e 75 00 90 b2 12 00 `.t.....<.u.....
0012b240 bc b2 12 00 4c b2 12 00 - 90 b2 12 00 00 00 00 00 ....L...........
0012b250 05 00 00 00 ff ff ff ff - d4 8e 75 00 bc b2 12 00 ..........u.....
0012b260 00 00 00 00 00 00 00 00 - 00 00 00 00 ff ff ff ff ................
0012b270 01 00 00 00 00 02 00 00 - 54 df 06 10 00 b3 12 00 ........T.......
0012b280 b0 b4 40 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ..@.............

State Dump for Thread Id 0xfc

eax=00000000 ebx=00000000 ecx=00000001 edx=00000000 esi=23e0ff98 edi=00000006
eip=77f6789f esp=23e0ff84 ebp=23e0ffa0 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202


function: NtDelayExecution
77f67894 b827000000 mov eax,0x27
77f67899 8d542404 lea edx,[esp+0x4] ss:24e6e98b=????????
77f6789d cd2e int 2e
77f6789f c20800 ret 0x8
77f678a2 8bc0 mov eax,eax

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
23e0ffa0 77f1cf10 000000dc 00000000 0044cc4a 000000dc ntdll!NtDelayExecution
23e0ffec 00000000 0044cc34 00000000 00000000 00000000 kernel32!Sleep
00000000 00000000 00000000 00000000 00000000 00000000 !

*----> Raw Stack Dump <----*
23e0ff84 47 cf f1 77 00 00 00 00 - 98 ff e0 23 05 cf f1 77 G..w.......#...w
23e0ff94 00 00 00 00 40 6e de ff - ff ff ff ff ec ff e0 23 ....@n.........#
23e0ffa4 10 cf f1 77 dc 00 00 00 - 00 00 00 00 4a cc 44 00 ...w........J.D.
23e0ffb4 dc 00 00 00 0f 10 00 00 - 3e 4f f0 77 00 00 00 00 ........>O.w....
23e0ffc4 06 00 00 00 0f 10 00 00 - 00 00 00 00 0f 10 00 00 ................
23e0ffd4 c4 ff e0 23 50 0b 24 00 - ff ff ff ff 74 b8 f3 77 ...#P.$.....t..w
23e0ffe4 38 d2 f3 77 00 00 00 00 - 00 00 00 00 00 00 00 00 8..w............
23e0fff4 34 cc 44 00 00 00 00 00 - 00 00 00 00 00 00 00 00 4.D.............
23e10004 9f 00 01 00 10 00 90 01 - 17 00 b0 01 c0 c0 c0 00 ................
23e10014 c0 c0 c0 00 80 80 80 00 - 80 80 80 00 00 00 00 00 ................
23e10024 01 00 00 00 0d 02 01 01 - 00 00 00 00 00 00 00 00 ................
23e10034 00 00 00 00 00 00 00 00 - 02 00 00 00 01 00 00 00 ................
23e10044 01 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
23e10054 01 00 00 00 00 00 00 00 - 00 00 00 00 ec 06 0a b9 ................
23e10064 00 00 00 40 06 00 00 00 - 00 00 00 00 00 00 00 00 ...@............
23e10074 00 00 00 00 00 00 00 00 - 00 00 00 40 06 00 00 00 ...........@....
23e10084 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
23e10094 00 00 00 00 00 00 00 00 - 4b 00 00 00 00 00 00 40 ........K......@
23e100a4 fe ff ff ff 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
23e100b4 00 00 00 00 00 00 00 40 - fe ff ff ff 00 00 00 00 .......@........
Previous
Reply
Map
View

Click here to load this message in the networking platform