Can't convert a DB to V2 format

Erne ernestogiannotta at tiscalinet.it
Sun Apr 1 06:04:47 CDT 2007


On 31-mar-07, at 10:56, Ruslan Zasukhin wrote:

> On 30/3/07 11:33 PM, "Erne" <ernestogiannotta at tiscalinet.it> wrote:
>
> Hi Erne,
>
>> Hello Ruslan,
>>
>> if I try to convert a V1 DB to V2 I get crash either in RB and  
>> VStudio
>> (it works fine if I don't load data, but then it's almost of no use)
>
> I think your v1 db is corrupted.
> Try XML it
>

I've tried and tried but keep on getting crash :-(

it's a small db (about 2000 records)

I successfully Dumped & Loaded it in V1.11 then

I get this crash log trying to convert it in VStudio:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xfffffffa

Thread 0 Crashed:
0   libvkernel_fat_release.dylib   	0x074140d0  
fbl::VarCharPage_T<unsigned short, unsigned short>::get_OffsetOfString 
(unsigned long, unsigned long*) const + 32
1   libvkernel_fat_release.dylib   	0x07414380  
fbl::VarCharPage_T<unsigned short, unsigned short>::FindBestSplit 
(unsigned long, unsigned long) const + 44
2   libvkernel_fat_release.dylib   	0x07413df4  
fbl::VarCharPage_T<unsigned short, unsigned short>::Split(unsigned  
long, unsigned long) + 144
3   libvkernel_fat_release.dylib   	0x070c2ca0  
fbl::VarCharFile::SplitPage(unsigned long, unsigned long) + 68
4   libvkernel_fat_release.dylib   	0x070c2d90  
fbl::VarCharFile::DoUpdateRecord(unsigned long, char const*, unsigned  
long) + 80
5   libvkernel_fat_release.dylib   	0x070c2554  
fbl::VarCharFile::WriteRecord(unsigned long, char const*, unsigned  
long) + 308
6   libvkernel_fat_release.dylib   	0x070712b0  
fbl::VVarBinary::WriteValue(unsigned long,  
fbl::smart_ptr<fbl::I_Value const>) + 216
7   libvkernel_fat_release.dylib   	0x0707116c  
fbl::VVarBinary::WriteValue(unsigned long) + 92
8   libvkernel_fat_release.dylib   	0x07094bc4  
fbl::Record_Separate::WriteRecord() + 184
9   libvkernel_fat_release.dylib   	0x070b20a8 fbl::Table::AddRecord 
() + 208
10  libvkernel_fat_release.dylib   	0x072ab798  
fbl::Convert_Current_Record_1_2(VDK_BaseObject*,  
fbl::smart_ptr<fbl::I_TableEx>) + 760
11  libvkernel_fat_release.dylib   	0x072a97d0 fbl::LoadData 
(VDK_DataBase*, fbl::smart_ptr<fbl::I_DatabaseEx>) + 300
12  libvkernel_fat_release.dylib   	0x072a8980 fbl::ConvertDB_1_2 
(fbl::smart_ptr<fbl::I_Location>, fbl::smart_ptr<fbl::I_Location>,  
bool, char const*, char const*, unsigned long) + 1448
13  V2.bundle                      	0x08af7a08  
vsV2_EmbeddedConnection::DialogConvert_1_2(wxString const&) + 1880
14  ...digmasoft.valentina.vstudio 	0x0002b24c  
vsStdCommand::DoConvert_1_2() + 3132


and this one trying to load the XML generated by 1.11 in VStudio:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x71f70004

Thread 0 Crashed:
0   libvshared_fat_release.dylib   	0x06806eb4  
fbl::Value_string::CompareToIndexValue(fbl::smart_ptr<fbl::I_Value  
const>, void const*, unsigned long, bool) const + 108
1   libvkernel_fat_release.dylib   	0x06eceb38  
fbl::Index_NotUnique_Page::SearchPlaceOfValueInArray 
(fbl::TIndexContext&) + 420
2   libvkernel_fat_release.dylib   	0x06ed73f8  
fbl::Index_Page_imp::AddPair(fbl::TIndexContext&) + 52
3   libvkernel_fat_release.dylib   	0x06ec5040  
fbl::Index_Imp::AddPair_on_locked(fbl::smart_ptr<fbl::I_Value const>,  
unsigned long) + 476
4   libvkernel_fat_release.dylib   	0x06eb6d80  
fbl::Index_String::AddPair(fbl::smart_ptr<fbl::I_Value const>,  
unsigned long) + 308
5   libvkernel_fat_release.dylib   	0x06b5afcc  
fbl::Field_Imp::AddToIndex(unsigned long) + 420
6   libvkernel_fat_release.dylib   	0x06bbeb78  
fbl::AddRecordToIndex_OneField(fbl::smart_ptr<fbl::I_FieldEx>,  
unsigned long, bool) + 104
7   libvkernel_fat_release.dylib   	0x06bbefc4  
fbl::Table::AddRecordToIndex(unsigned long,  
fbl::smart_ptr<fbl::BitSet>) + 188
8   libvkernel_fat_release.dylib   	0x06bc312c fbl::Table::AddRecord 
() + 340
9   libvkernel_fat_release.dylib   	0x06a70294  
fbl::Dumpable_XML_Table::_XML_EndElementHandler(void*, unsigned short  
const*) + 380
10  libvkernel_fat_release.dylib   	0x06de77dc doContent 
(XML_ParserStruct*, int, encoding const*, char const*, char const*,  
char const**) + 2160
11  libvkernel_fat_release.dylib   	0x06de6c90 contentProcessor 
(XML_ParserStruct*, char const*, char const*, char const**) + 44
12  libvkernel_fat_release.dylib   	0x06de67c0 XML_ParseBuffer + 112
13  libvkernel_fat_release.dylib   	0x06de6734 XML_Parse + 472
14  libvkernel_fat_release.dylib   	0x06a721cc  
fbl::Dumper_XML::Do_LoadDump_Not_UTF16(unsigned long, int) + 280
15  libvkernel_fat_release.dylib   	0x06a71e84  
fbl::Dumper_XML::Do_LoadDump() + 112
16  libvkernel_fat_release.dylib   	0x06a71df8  
fbl::Dumper_XML::LoadDump(fbl::smart_ptr<fbl::I_Dumpable>) + 132
17  libvkernel_fat_release.dylib   	0x06dd1a68  
fbl::Database_imp::LoadDump(fbl::smart_ptr<fbl::I_Location>,  
fbl::smart_ptr<fbl::I_Location>, unsigned char, char const*) + 1072
18  libvkernel_fat_release.dylib   	0x06dcb8e8  
fbl::vsql::SqlDatabase::LoadDump(fbl::smart_ptr<fbl::I_Location>,  
fbl::smart_ptr<fbl::I_Location>, unsigned char, char const*) + 140
19  V2.bundle                      	0x086272cc vsV2_Database::LoadDump 
(wxString const&, wxString const&, short, char const*) + 400


can I send it to you?

Cool Runnings,
Erne.

/ |\ |\  | /
– |/ | \ | –
\ |\ |  \| \



More information about the Valentina mailing list