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

Matthew Jew mjew at icnc.com
Wed May 31 14:45:32 CDT 2006


> On 5/31/06 3:47 AM, "Matthew Jew" <mjew AT icnc D.O.T 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 ...
>

Ruslan,

Yes, I can compile and run the VSDK examples.

I wish I could figure out what about my project is wrong...

- Matthew



More information about the Valentina mailing list