Environment variables - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Closed Thread
Thread Tools Display Modes
Old 05-15-2006, 10:20 AM   #1 (permalink)
Newb Techie
Join Date: May 2006
Posts: 1
Default Environment variables

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 ???
misogidave is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:42 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.