Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C0000005 with function SET('CLASSLIB')
Message
From
03/10/2010 14:18:58
Rolf Otto
C.I.P.-Kommunal Gmbh
Siegen, Germany
 
 
To
29/09/2010 12:50:31
Rolf Otto
C.I.P.-Kommunal Gmbh
Siegen, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01483165
Message ID:
01483723
Views:
59
>Hi all,
>
>In our Application (VFP 6 SP5) we receive sometimes an C0000005 with the function SET("CLASSLIB"):
>
>lcClasslib = SET("CLASSLIB")
>or
>IF "MYCLASSLIB" $ SET("CLASSLIB")
>
>It happens on different OS and different machines, but it's not reproducable. Any ideas?
>
>Rolf

Now i can reproduce the problem on my machine. In my tests i write the result of the function in a logfile. During the program execution there is a noticeable change in the result of the function allthough there are no libs released or new loaded.

At the beginning the result is ok and looks e.g like this:

C:\PATH\CLSLIB1.VCX ALIAS CLSLIB1, C:\PATH\CLSLIB2 ALIAS CLSLIB2, C:\PATH\CLSLIB3 ALIAS CLSLIB3...

After some time the result changes like this:

C:\PATH\CLSLIB1.VCX ALIAS GODATA_345280178 , C:\PATH\CLSLIB2 ALIAS TABNAME , C:\PATH\CLSLIB3 ALIAS FIELDNAME...

or

C:\PATH\CLSLIB1.VCX ALIAS , C:\PATH\CLSLIB2 ALIAS , C:\PATH\CLSLIB3 ALIAS ...

As you can see, the alias of the loaded librarys changes allthough the libs are not released and new loaded. The correct alias are e.g. replaced by names of open tables or by fieldnames or something other. Sometimes the alias is empty but the keyword "ALIAS" is still there. Also there is sometimes a space between the alias and the following comma.

Then after some time the crash happens.

It seems to me, that the VFP-memory-management becomes corrupt. Now i will try to find the reason.

Rolf
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform