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

Matthew Jew mjew at icnc.com
Tue May 30 17:47:21 CDT 2006


Hello,

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

- Matthew



More information about the Valentina mailing list