SQL search crash on ConvertValue

jda jda at his.com
Tue Oct 5 19:36:48 CDT 2004


>
>  >>
>>>  Just please first of all setup UTF16 usage
>>>
>>
>>  OK, I did. .storageEncoding = default (UTF-16).
>>
>>  The search above still failed...
>
>What is remove EXTRA ()
>

I tried this search in a UTF16 database:

select hit from thetable where myField='test'

It crashed, with this log:

Thread 0 Crashed:
0   Kernel_Carbon_Debug.shlb      	0x0226b104 
Convert_str_str__3fblFPCQ23fbl7I_ValuePQ23fbl7I_Value + 0xb8
1   Kernel_Carbon_Debug.shlb      	0x02056200 
ConvertValue__3fblFUlUlPCQ23fbl7I_ValuePQ23fbl7I_Value + 0x54
2   Kernel_Carbon_Debug.shlb      	0x02056300 
ConvertValue__3fblFPCQ23fbl7I_ValuePQ23fbl7I_Value + 0x5c
3   Kernel_Carbon_Debug.shlb      	0x020564c4 
ConvertValue__3fblFRCQ23fbl7I_ValueUl + 0x11c
4   Kernel_Carbon_Debug.shlb      	0x0206d3d4 
CastValueType__Q23fbl9Field_ImpCFQ23fbl26smart_ptr<CQ23fbl7I_Value> + 
0xa0
5   Kernel_Carbon_Debug.shlb      	0x02066fc8 
Find__Q23fbl9Field_ImpCFQ23fbl26smart_ptr<CQ23fbl7I_Value>Q23fbl25smart_ptr<CQ23fbl6BitSet> 
+ 0x40
6   Kernel_Carbon_Debug.shlb      	0x0235e12c 
Execute__Q23fbl17PNode_Field_ValueFQ23fbl24smart_ptr<Q23fbl6BitSet> + 
0x58
7   Kernel_Carbon_Debug.shlb      	0x0227e570 
Execute__Q23fbl4PlanFv + 0x4c
8   Kernel_Carbon_Debug.shlb      	0x02210f1c 
Execute__Q23fbl5QueryFv + 0x7c
9   Kernel_Carbon_Debug.shlb      	0x02275e08 
Refresh__Q23fbl14Table_IndirectFv + 0x1d0
10  Kernel_Carbon_Debug.shlb      	0x02275b4c 
put_Where__Q23fbl14Table_IndirectFQ23fbl25smart_ptr<Q23fbl7I_ENode> + 
0x2c
11  Kernel_Carbon_Debug.shlb      	0x0212c898 
CreateResultTable__Q24vsql14Node_TableExprFQ23fbl27smart_ptr<Q23fbl9I_TableEx>Ul 
+ 0x154
12  Kernel_Carbon_Debug.shlb      	0x0212afa4 
Execute_Select_From1_Where__Q24vsql14Node_TableExprFRQ24vsql11Environment 
+ 0x244
13  Kernel_Carbon_Debug.shlb      	0x0212d9dc 
Execute_Select_From_Where_Indirect__Q24vsql14Node_TableExprFRQ24vsql11Environment 
+ 0x54
14  Kernel_Carbon_Debug.shlb      	0x0212d90c 
Execute_Select_From_Where__Q24vsql14Node_TableExprFRQ24vsql11Environment 
+ 0x64
15  Kernel_Carbon_Debug.shlb      	0x02129d94 
ExecuteSql__Q24vsql14Node_TableExprFRQ24vsql11Environment + 0x50
16  Kernel_Carbon_Debug.shlb      	0x021262b8 
ExecuteSql__Q24vsql16Node_QuerySelectFRQ24vsql11Environment + 0x64
17  Kernel_Carbon_Debug.shlb      	0x021421d0 
ExecuteSql__Q24vsql11Node_SelectFRQ24vsql11Environment + 0x30
18  Kernel_Carbon_Debug.shlb      	0x0221e9d0 
ProceedCommand__Q24vsql8DatabaseFRQ24vsql11Environment + 0x68
19  Kernel_Carbon_Debug.shlb      	0x0221d3a4 
SqlSelect__Q24vsql8DatabaseFRCQ23fbl6StringQ24vsql15ECursorLocationQ24vsql9ELockTypeQ24vsql16ECursorDirectionQ23fbl70smart_ptr<Q23fbl51ArrayOfSmartPtrs<Q23fbl25smart_ptr<Q23fbl7I_Value>>> 
+ 0xe8
20  Plugin                        	0x005034c8 
Database_SqlSelect__FP16REALobjectStructP16REALstringStructiiiQ23fbl70smart_ptr<Q23fbl51ArrayOfSmartPtrs<Q23fbl25smart_ptr<Q23fbl7I_Value>>> 
+ 0x22c
21  Plugin                        	0x00502ef0 
Database_SqlSelect_1__FP16REALobjectStructP16REALstringStructiii + 
0x54


More information about the Valentina-beta mailing list