[VSDK] Crash in VDK_ObjectPtr constructor

Eric Forget forgete at cafederic.com
Fri Jan 31 02:10:00 CST 2003


Hi,

With the 1.9.6 and latest beta, I crash when I try to debug. It crashes in
the construction of my VDK_BaseObject-derived class construction. The new()
receives a size of 2863312896 (decimal!) which is a way to big. The stack is
below:

#5    0x004e61d0 in operator new(unsigned long)
#6    0x004e6138 in operator new[](unsigned long)
#7    0x004fe96c in FBL_Array<VDK_Link*>::Resize(unsigned long)
#8    0x004872cc in VDK_ObjectPtr::VDK_ObjectPtr(char const*,
VDK_BaseObject*, FBL_DeletionControl)

I've tried to open the database with VAPP without problem. The Diagnose
command returns "All Right!"

But after some testing I found that the problem had to do with the order the
tables a created.

Table 1
-------
String
ObjectPtr -> Table 2

Table 2
-------
String

Is this really not allowed? If this is not it means that there is cases of
circular dependencies which are also not allowed too!

Éric



___________________________________________________________________

 Eric Forget                       Cafederic
 ForgetE at cafederic.com             <http://www.cafederic.com/>

 Fingerprint <86D5 38F5 E1FD 5D9C 71C3  BAA3 797E 70A4 6210 C684>




More information about the Valentina mailing list