Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK

Ruslan Zasukhin sunshine at public.kherson.ua
Wed May 31 10:33:34 CDT 2006


On 5/31/06 3:47 AM, "Matthew Jew" <mjew at icnc.com> wrote:

Hi Matthew, 

> I know I am doing something wrong, but I cannot figure it out.
> 
> I have been using VSDK for C++ v1 for a long time, and am converting
> to use VSDK for C++ v2.
> 
> I finally got my app converted and to compile and link,

big step forward!

> but when I call CreateDatabase() there is
> a 'EXC_BAD_ACCESS' signal.

> The stack looks like this:
> 
> #0 0x0065ac88 in fbl::String::String
> #1 0x010d3514 in fbl::Localizable_Imp::MakeDefaultLocale
> #2 0x010d3f0c in fbl::Localizable_Imp::InitRoot
> #3 0x010d4138 in fbl::Localizable_Imp::Localizable_Imp
> #4 0x010cb360 in fbl::Database::Database
> #5 0x0100d200 in fbl::CreateDatabase
> 
> I called ValentinaInit() before my call to CreateDatabase(). I'm not
> sure what I'm missing.
 
> I am using the latest Valentina VSDK for C++ universal build
> and I am using XCode 2.3 on Mac OS X 10.4.6 with the latest patches
> applied.

Have you try run VSDK examples?
Are they working ?

I ask to see if problem is in VSDK itself or in your code ...

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