Environment variables

Status
Not open for further replies.

misogidave

Beta member
Messages
1
If I create a large number of dummy environment variables ( to simulate client issue) my VB6 application crashes. The application does not request any environment variables directly so could this be a memory issue.
Dr.Watson on my machine shows

ChildEBP RetAddr Args to Child
0013d824 74124608 0013d84c 741a36cf 0013d854 ntdll!KiFastSystemCallRet
0013ffb8 00414d9e 004153c4 7c816d4f 00320039 MSVBVM50!_vbaVarDateVar+0x2f7c
0013fff0 00000000 00414d94 00000000 78746341 GMIS+0x14d9e

but on the client site where this is happening,

0012dcb0 01c4430c 01dd0000 00000000 00000070 ntdll!RtlInitializeSListHead+0x1a1
0012dcec 01c3c602 00000070 0012ee08 0012eee8 GMRVImport250!_heap_alloc_base+0x13c
0012dd14 01c3c3e9 00000044 00000001 00000000 GMRVImport250!_heap_alloc_dbg+0x1a2
0012dd54 01c3c339 00000044 00000000 00000001 GMRVImport250!_nh_malloc_dbg+0x49
0012dd74 01c3726c 00000044 01c44078 00000060 GMRVImport250!malloc+0x19

Worked fine under windows 2000 server, now upgraded to windows 2003 SP1. I can reproduce on Windows XP SP2.

Any ideas ???
 
Status
Not open for further replies.
Back
Top Bottom