V4CC - crash on createField

Ernesto Giannotta ernestogiannotta at tiscalinet.it
Sun Aug 2 13:45:32 CDT 2009


On 02/ago/09, at 20:25, Ruslan Zasukhin 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.
>

uhu? sorry, I'm quite new on this... where can I find this file?

>
>> 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
>



More information about the Valentina mailing list