main logo
Subject: VSDK.framework 1.9.8 problem using VDK_String = assignment
Author: Matthew Jew
Posted: 2003/07/31 21:47:00
 
View Entire Thread
New Search


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

_______________________________________________
Valentina mailing list
Valentina /at/ lists D.OT macserve.net
http://lists.macserve.net/mailman/listinfo/valentina

 
©2003 Matthew Jew
<-- Prior Message New Search Next Message -->