[ANN] V4RB b13.

jda jda at his.com
Sat Aug 28 08:09:12 CDT 2004


Hi Ruslan,

I can't even get started with b13.

Here's how I make a new database:

     tempDataBase = new myDataBase
     tempDataBase.Creator = "ABCD"       // optional
     tempDatabase.StorageEncoding = "UTF8"
     tempDatabase.collationAttribute = 2

     Valentina.ThrowExceptions = false
     tempDataBase.Create(f, 1, 2 * 1024 )
     Valentina.ThrowExceptions = true

     //Error checking, etc.
...


A file is created, but the folderitem.exists = false! When I try to 
open it -> crash. Here are some lines from the crash log:

Thread 0 Crashed:
0   Kernel_Carbon_Debug.shlb       	0x02450abc 
get_FieldEx_Internal__Q23fbl5TableCFPCw + 0x38
1   Kernel_Carbon_Debug.shlb       	0x02450a0c 
get_Field__Q23fbl5TableCFPCw + 0x30
2   Kernel_Carbon_Debug.shlb       	0x02427664 
CreateFieldInstance__3fblFQ23fbl25smart_ptr<Q23fbl7I_Table>PCwUlUsQ23fbl39smart_ptr<CQ23fbl19I_PropertyContainer> 
+ 0xc4
3   Kernel_Carbon_Debug.shlb       	0x02450c3c 
CreateField__Q23fbl5TableFPCwUlUsQ23fbl39smart_ptr<CQ23fbl19I_PropertyContainer> 
+ 0x68
4   Kernel_Carbon_Debug.shlb       	0x024506f8 
MakeNewField_RecID__Q23fbl5TableFv + 0x70
5   Kernel_Carbon_Debug.shlb       	0x0245062c 
MakeNewDefaultFields__Q23fbl5TableFv + 0x1c
6   Kernel_Carbon_Debug.shlb       	0x020a7974 
CommonInit__Q23fbl5TableFQ23fbl10ETableKindQ23fbl12EStorageTypeUl + 
0x60
7   Kernel_Carbon_Debug.shlb       	0x020a8290 
ReadProperties__Q23fbl5TableFv + 0x1f4
8   Kernel_Carbon_Debug.shlb       	0x0247a150 
ReadFromSchema__Q23fbl21I_SchemaStorable_ImplFv + 0x48
9   Kernel_Carbon_Debug.shlb       	0x0247a354 
Create_ChildElements_Instances__Q23fbl21I_SchemaStorable_ImplFQ23fbl11SysItemKind 
+ 0x138
10  Kernel_Carbon_Debug.shlb       	0x02090e40 
ReadElements__Q23fbl8DatabaseFv + 0x64
11  Kernel_Carbon_Debug.shlb       	0x0247a164 
ReadFromSchema__Q23fbl21I_SchemaStorable_ImplFv + 0x5c
12  Kernel_Carbon_Debug.shlb       	0x0208c714 
Open__Q23fbl8DatabaseFv + 0x5c
13  Plugin                         	0x0050071c 
Database_Open__FP16REALobjectStructP20REALfolderItemStruct + 0x138
14  main                           	0x010ec738 0x1008000 + 0xe4738
...


Here are the last lines of the log:

Database_Open...
	PARAM: inDatabase = 27173120
	PARAM: pLocation->get_Path() = "Mac 
HD:Users:jonathan:Desktop:Database8"




A second, more minor, problem is that the creator is still set to 
VALA, not ABCD.


Jon


More information about the Valentina-beta mailing list