You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:14:18 UTC

[jira] [Created] (TRAFODION-126) LP Bug: 1233415 - Unsupported "get mvs" command generates multiple tdm_arkcmp core files

Alice Chen created TRAFODION-126:
------------------------------------

             Summary: LP Bug: 1233415 - Unsupported "get mvs" command generates multiple tdm_arkcmp core files
                 Key: TRAFODION-126
                 URL: https://issues.apache.org/jira/browse/TRAFODION-126
             Project: Apache Trafodion
          Issue Type: Bug
          Components: sql-general
            Reporter: Weishiun Tsai


“get mvs” command always creates a couple of core files each time when it is issued.  Even though the command is currently not supported, and a 4218 error is properly returned in sqlci, tdm_arkcmp should not core in this situation.   This is fairly reproducible on a workstation installation.

>>cqd mode_seabase 'on';

--- SQL operation complete.
>>set schema seabase.phoenix;

--- SQL operation complete.
>>get mvs;

*** ERROR[4218] The options specified in the GET command are incorrect, inconsistent or not supported.

--- SQL operation failed with errors.
>>

-bash-4.1$ ls core*
core.g4t3031.houston.hp.com.22080.tdm_arkcmp
core.g4t3031.houston.hp.com.22090.tdm_arkcmp

The core files have similar stack trace like this:

(gdb) bt
#0  Parser::parseUtilISPCommand (this=0x7fffffffb370,
    command=<value optimized out>, cmdLen=<value optimized out>,
    cmdCharSet=<value optimized out>, node=0x7fffffffa938)
    at ../sqlcomp/parser.cpp:1433
#1  0x00007ffff7a10bab in Parser::parseSQL (this=0x7fffffffb370,
    node=0x7fffffffb470, internalExpr=0, paramItemList=0x0)
    at ../sqlcomp/parser.cpp:693
#2  0x00007ffff7a1251d in Parser::parseDML (this=0x7fffffffb370,
    txt=<value optimized out>, node=0x7fffffffb470, internalExpr=0,
    paramItemList=0x0) at ../sqlcomp/parser.cpp:1102
#3  0x00007ffff7a00b88 in CmpMain::sqlcomp (this=0x7fffffffb540, input=...,
    gen_code=0x7fffe62cd760, gen_code_len=0x7fffe62cd758, heap=0x1254a70,
    phase=CmpMain::END, fragmentDir=0x7fffffffb638, op=3004)
    at ../sqlcomp/CmpMain.cpp:841
#4  0x00007ffff43d7278 in CmpStatement::process (this=0x7fffe62b7ea8,
    sqltext=<value optimized out>) at ../arkcmp/CmpStatement.cpp:488
#5  0x00007ffff43cda0d in ExCmpMessage::actOnReceive (this=0x7fffffffc390)
    at ../arkcmp/CmpConnection.cpp:381
#6  0x00007ffff70e61e6 in IpcMessageStream::internalActOnReceive (
    this=0x7fffffffc390, buffer=<value optimized out>, connection=0x1251ec0)
    at ../common/Ipc.cpp:3625
#7  0x00007ffff70fc873 in GuaConnectionToClient::acceptBuffer (this=0x1251ec0,
    buffer=<value optimized out>, receivedDataLength=<value optimized out>)
    at ../common/IpcGuardian.cpp:2617
#8  0x00007ffff70fd5af in GuaReceiveControlConnection::wait (this=0x123fa00,
    timeout=-1, eventConsumed=<value optimized out>,
    ipcAwaitiox=0x7fffffffbd20) at ../common/IpcGuardian.cpp:3482
#9  0x00007ffff70fe972 in GuaConnectionToClient::wait (this=0x1251ec0,
    timeout=<value optimized out>, eventConsumed=0x0, ipcAwaitiox=0x0)
    at ../common/IpcGuardian.cpp:2286
#10 0x00007ffff70ee579 in IpcSetOfConnections::waitOnSet (this=0x7fffffffc530,
    timeout=-1, calledByESP=0, timedout=0x0) at ../common/Ipc.cpp:1791
#11 0x00007ffff70efd7d in IpcMessageStream::waitOnMsgStream (
    this=0x7fffffffc390, timeout=-1) at ../common/Ipc.cpp:3355
#12 0x00007ffff70f00d2 in IpcMessageStream::receive (this=0x7fffffffc390,
    waited=1) at ../common/Ipc.cpp:3337
#13 0x00000000004062ea in main (argc=2, argv=0x7fffffffca98)
    at ../bin/arkcmp.cpp:427
(gdb)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)