VSDK.framework 1.9.8 problem using VDK_String = assignment

Matthew Jew mjew at icnc.com
Thu Jul 31 19:15:47 CDT 2003


Ruslan,

I am using the newly uploaded PB 1.9.8 VSDK.framework.

I compile and run the "Valentina Cocoa Test" (unmodified).

The following errors occur:

*** malloc[1284]: Deallocation of a pointer not malloced: 0x24d000; 
This could be a double free(), or free() called with the middle of an 
allocated block; Try setting environment variable MallocHelp to see 
tools to help debug
*** malloc[1284]: Deallocation of a pointer not malloced: 0x24cfd0; 
This could be a double free(), or free() called with the middle of an 
allocated block; Try setting environment variable MallocHelp to see 
tools to help debug
*** malloc[1284]: Deallocation of a pointer not malloced: 0x24cfe0; 
This could be a double free(), or free() called with the middle of an 
allocated block; Try setting environment variable MallocHelp to see 
tools to help debug
*** malloc[1284]: error for object 0x1de970: Incorrect checksum for 
freed object - object was probably modified after being freed; break at 
szone_error
*** malloc[1284]: error for object 0x203ba0: Incorrect checksum for 
freed object - object was probably modified after being freed; break at 
szone_error
*** malloc[1284]: Deallocation of a pointer not malloced: 0x24d000; 
This could be a double free(), or free() called with the middle of an 
allocated block; Try setting environment variable MallocHelp to see 
tools to help debug
*** malloc[1284]: Deallocation of a pointer not malloced: 0x24cff0; 
This could be a double free(), or free() called with the middle of an 
allocated block; Try setting environment variable MallocHelp to see 
tools to help debug
*** malloc[1284]: error for object 0x1da900: Incorrect checksum for 
freed object - object was probably modified after being freed; break at 
szone_error

It is happening in the string assignments, such as

   [[self database] databaseDefinition]->getWordTable()->mfWord = 
[foundWord UTF8String];

The error doesn't happen on the first string assignment. But on the 2nd 
and later passes
through the loop, the error occurs.

It seems the VDK_String "=" operator is causing this error on the 2nd 
usage.

- Matthew



More information about the Valentina mailing list