[VSDK] Crash with Text search...

Eric Forget forgete at cafederic.com
Wed Oct 6 14:46:07 CDT 2004


Hi Ruslan,

I found a new way to crash Valentina. It is reproducible even in ViSQL. You
make a query like this:

    SELECT Name FROM MyTable WHERE FullSearch LIKE 'p'

This is the Valentina crash stack:

0   com.paradigmasoft.vsdk       0xb00419f4
FBL_UseFormula::UseFormulaForTextMethod(BF_BLOB*) + 0x90
1   com.paradigmasoft.vsdk       0xb00411d0 FBL_UseFormula::Run() + 0x34
2   com.paradigmasoft.vsdk       0xb0029330 BF_TEXT::SearchLike(char const*,
bool) + 0xe0
3   com.paradigmasoft.vsdk       0xb0014384
FBL_BaseField::MakeSearch(OBL_FieldConstraints*) + 0x2f4
4   com.paradigmasoft.vsdk       0xb002d19c
FBL_IndexedTable::MakeSearch(OBL_FieldConstraints*) + 0x74c
5   com.paradigmasoft.vsdk       0xb00c1ef8
OBL_CursorTable_Base::SearchLeaf(OBL_Parser*, OBL_FieldConstraints*,
FBL_Array<FBL_BitSet*>*) + 0x80
6   com.paradigmasoft.vsdk       0xb00c1df0
OBL_CursorTable_Base::DoSelections(OBL_Parser*) + 0x12c
7   com.paradigmasoft.vsdk       0xb00c45c0
OBL_CursorTable_Indirect::BuildMultiplicationTable(OBL_Parser*) + 0x1c
8   com.paradigmasoft.vsdk       0xb00c356c
OBL_CursorTable_Indirect::BuildTable(OBL_Parser*) + 0x3c
9   com.paradigmasoft.vsdk       0xb007f2f8 OBL_Cursor::BuildCursorTable() +
0x30
10  com.paradigmasoft.vsdk       0xb007ed10 OBL_Cursor::Execute() + 0x4c

If you are interested, I may send you, directly, a database with just 2
records.

Unfortunately, this is a show stopper for my next release...

Éric

___________________________________________________________________

 Eric Forget                       Cafederic
 ForgetE at cafederic.com             <http://www.cafederic.com/>





More information about the Valentina mailing list