[ANN] V4RB b13.

jda jda at his.com
Sat Aug 28 08:44:29 CDT 2004


>
>
>Does work my examples from Common folder on your side ?
>2 examples with Locale prefix ?

Yes, they don't crash at least.

>
>
>--------
>BTW, important.
>
>Now ValentinaInit() really must be the first call to Valentina engine.
>
>You cannot use before it even DeugLevel()

I do.

OK, more funny stuff. My preferences file is a Valentina database. 
When populating it I use a cursor to create records and set defaults. 
It crashes on the last line:

     myCursor = nil
     myCursor = new VCursor(prefsDB, "select textField from prefs 
where propertyName='gReferenceTypes'", Valentina.kServerSide, 
Valentina.kReadWrite)

     //do stuff with myCursor

     myCursor = nil

     // next line crashes....
     myCursor = new VCursor(prefsDB, "select * from prefs where 
RecId=0", Valentina.kServerSide, Valentina.kReadWrite)


The crash log is:


Thread 0 Crashed:
0   Kernel_Carbon_Debug.shlb      	0x0253d310 
_cl__Q23fbl27Predicate_Field_Equal_ValueCFQ23fbl26smart_ptr<CQ23fbl7I_Value> 
+ 0x34
1   Kernel_Carbon_Debug.shlb      	0x0235ff3c 
DoFormula__Q23fbl15SearchByFormulaFUlQ23fbl26smart_ptr<CQ23fbl7I_Value> 
+ 0x74
2   Kernel_Carbon_Debug.shlb      	0x020999ac 
DoFormulaForField__Q23fbl10UseFormulaFv + 0x158
3   Kernel_Carbon_Debug.shlb      	0x0209980c 
DoFormula__Q23fbl10UseFormulaFv + 0x18
4   Kernel_Carbon_Debug.shlb      	0x02099770 
Run__Q23fbl10UseFormulaFv + 0x48
5   Kernel_Carbon_Debug.shlb      	0x0207edf0 
Find_NotIndexed__Q23fbl9Field_ImpCFQ23fbl25smart_ptr<CQ23fbl6BitSet>Q23fbl34smart_ptr<Q23fbl15Predicate_Field> 
+ 0x30c
6   Kernel_Carbon_Debug.shlb      	0x0207821c 
Find__Q23fbl9Field_ImpCFQ23fbl26smart_ptr<CQ23fbl7I_Value>Q23fbl25smart_ptr<CQ23fbl6BitSet> 
+ 0x28c
7   Kernel_Carbon_Debug.shlb      	0x02541eb8 
Execute__Q23fbl17PNode_Field_ValueFQ23fbl24smart_ptr<Q23fbl6BitSet> + 
0x5c
8   Kernel_Carbon_Debug.shlb      	0x022f17f0 
Execute__Q23fbl4PlanFv + 0x4c
9   Kernel_Carbon_Debug.shlb      	0x02232278 
Execute__Q23fbl5QueryFv + 0x4c
10  Kernel_Carbon_Debug.shlb      	0x022e63b0 
Refresh__Q23fbl14Table_IndirectFv + 0x1d0
11  Kernel_Carbon_Debug.shlb      	0x022e60f4 
put_Where__Q23fbl14Table_IndirectFQ23fbl25smart_ptr<Q23fbl7I_ENode> + 
0x2c
12  Kernel_Carbon_Debug.shlb      	0x0214e720 
CreateResultTable__Q24vsql14Node_TableExprFQ23fbl27smart_ptr<Q23fbl9I_TableEx>Ul 
+ 0x154


Jon


More information about the Valentina-beta mailing list