You hit a bug, that's what's happening.
Unfortunately this one even reproduces in rev 101:
Looks like the optimizer gets confused with the OR term here.
Could you do us a favor and please open a support incident for this?
The below show help the support team,
[CRASH_CONTEXT] Context info: (2015-08-27 23:08:17 801 Local)
----> Crashing context information <----
ContextStack at (0x00007f17d9e96520)
stack: 7f17d9dae000-7f17d9eadfff, size 1048576
guard: 7f17d9d9e000-7f17d9dadfff, size 65536
ctx addr: 0x00007f17dc81b000, ctx link: 0x00007f17dc81b000, ctx owner: 0x00007f17dc81b000
ctx name: SqlExecutor, ctx type: thread, ctx id: 54363
ctx command text:
{
SQL: SELECT *
FROM TEST_SCHEMA.TB_TEST_DATA
WHERE (FLD1 = 'VAL 1' AND FLD2 = 'VAL 1' AND FLD3 = 'VAL 2')
OR (FLD1 = 'VAL 2' AND FLD2 = 'VAL 2' AND FLD3 = 'VAL 1')
}
ctx update transactionID: -1
ctx transactionID : 17
ctx connectionID : 206859
ctx logical connectionID: 206859
ctx statementID : 888452773114300
ctx statement hash :
ctx sqlusername : DEVDUDE
ctx appusername : i028297
[OK]
--
[CRASH_STACK] Stacktrace of crash: (2015-08-27 23:08:17 801 Local)
----> Symbolic stack backtrace <----
0: qo3::OptimizerImpl::initializeInListNode
1: bool qo3::OptimizerImpl::initialTree<TRexCommonObjects::QueryEntry>
2: qo3::OptimizerImpl::prepare
3: qo3::OptimizerImpl::prepare
4: qo3::Optimizer::prepare
5: TRexAPI::Search::OptimizerImpl::prepare
6: TRexAPI::PreparedQuery::prepareForOptimizerSearch
7: TRexAPI::PreparedQuery::prepareQuery
8: TRexAPI::PreparedQuery::prepare
9: ptime::TrexSearchMeta::tryPrepareOltp
10: ptime::qo_TrexSearch::gen_exec_plan_node
11: ptime::qo_TrexSearch::gen_exec_plan
12: ptime::qo_Rel::gen_exec_plan
13: ptime::qo_Project::gen_exec_plan
14: ptime::qo_Rel::evaluate_opt_plan
15: ptime::Query::_evaluate
16: ptime::Query::compile_parse_tree
17: ptime::Query::compile
18: ptime::Query::PlanCache::compile_
19: ptime::Query::PlanCache::compile_and_insert_
20: ptime::Query::PlanCache::lookup_or_compile_
21: ptime::Query::PlanCache::lookup_or_compile
22: ptime::Statement::lookupOrCompileCode_
23: ptime::Statement::compile_
24: ptime::PreparedStatement::compile_
25: ptime::Connection::prepareStatement
26: ptime::Connection::prepareStatement
27: ptime::Connection::prepareStatement
28: ptime::Connection::prepareStatement
29: ptime::SessionCodecNewdb::dExecuteString
30: ptime::SessionCodecNewdb::dVendorMessage
31: ptime::SessionCodec::decodeMessage
32: ptime::SessionHandler::doDecodeMessage_
33: ptime::SessionHandler::receiveMessage
34: ptime::TcpReceiver::doWork
35: ptime::TcpReceiver::run
36: TrexThreads::PoolThread::run
37: TrexThreads::PoolThread::run
38: Execution::Thread::staticMainImp
39: Execution::Thread::staticMain
[OK]
--