V4CC - crash on createField

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Sun Aug 2 13:25:36 CDT 2009


On 8/2/09 8:18 PM, "Ernesto Giannotta" <ernestogiannotta at tiscalinet.it>
wrote:

Hi Ernesto,
 
>> On 2009-08-02, at 19:00, Ernesto Giannotta wrote:
>> 
>>> I'm trying examples for V4CC but just can't get it to work...
>>> 
>>> any call attempting to create a field like:
>>> 
>>> [mpTblPerson createVarCharField:@"FirstName" maxLength:20]
>>> 
>>> crashes with EXC_BAD_ACCESS here in a __pool_free call:
>> 
>> 
>> 
>> can you show a little bit more of code, how is mpTblPerson defined,
>> where instantiated and are you doing manual calls to release
>> something / free pools / ...?

Hmm,

This is elated to new mem pool.

What version archive you try to use?
I will check it tomorrow.
4.2 release?


WORKAROUND:     
    Please add to example project (and its tagrets)
    file sources/VSHARED/publ/TestTools/FBL_DebugNew_DLL.cpp

This should fix problem.


> Just trying to run the examples in the V4CC installation...
> 
> the line above comes from the "Lesson1_step1.xcodeproj" in the
> "PersonDatabase.m" class, but I get the same crash also in the
> "V4CC_Examples" project wherever a call like [someTable
> createSomeField] is encountered

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list