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:15:05 UTC
[jira] [Created] (TRAFODION-184) LP Bug: 1282290 - mxosrvr core
after CLI call in NAString
Alice Chen created TRAFODION-184:
------------------------------------
Summary: LP Bug: 1282290 - mxosrvr core after CLI call in NAString
Key: TRAFODION-184
URL: https://issues.apache.org/jira/browse/TRAFODION-184
Project: Apache Trafodion
Issue Type: Bug
Components: sql-exe
Reporter: Aruna Sadashiva
Assignee: Hans Zeller
Priority: Critical
mxosrvr cored during coast tests.
Input from Tharak: Seems to be failing in JVM (handling a linux signal) after we call CLI particularly in a NAString constructor (highlighted below). I think someone from SQL should look at this.
DCS Logs :
2014-02-19 06:18:51,885 INFO org.trafodion.dcs.server.ServerManager: User program exit [134]
2014-02-19 06:18:51,900 INFO org.trafodion.dcs.server.ServerManager: exit code [134], stdout [*** WARNING: MY_ROOT directory not found: /opt/hp*** WARNING: MY_ROOT directory not found: /opt/hpCURRENT_ROLE ( -99 -99) ( -99 -99) ( -99 -99)CURRENT_ROLE ( -99 -99) ( -99 -99) ( -99 -99)CURRENT_ROLE ( -99 -99) ( -99 -99) ( -99 -99)C1 ( -99 -99) ( -99 -99) ( -99 -99)C1 ( -99 -99) ( -99 -99) ( -99 -99)C1 ( -99 -99) ( -99 -99) ( -99 -99)C1 ( -99 -99) ( -99 -99) ( -99 -99)C1 ( -99 -99) ( -99 -99) ( -99 -99)C1 ( -99 -99) ( -99 -99) ( -99 -99)## A fatal error has been detected by the Java Runtime Environment:## SIGSEGV (0xb) at pc=0x00007ffff58735ac, pid=15566, tid=140737056474880## JRE version: 7.0_21-b11# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode linux-amd64 compressed oops)# Problematic frame:# C [libcli.so+0x765ac] folly::fbstring_core<char>::category() const+0xc## Core dump written. Default location: /opt/home/squser2/TRAF-0214-dbg/core or core.15566## An error report file with more information is saved as:# /opt/home/squser2/TRAF-0214-dbg/hs_err_pid15566.log## If you would like to submit a bug report, please visit:# http://bugreport.sun.com/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.#], stderr [/bin/sh: line 1: 15566 Aborted (core dumped) mxosrvr -ZkHost sq151.houston.hp.com:2181 -RZ sq151.houston.hp.com:4 -ZkPnode "/squser2" -CNGTO 60 -ZKSTO 180 -EADSCO 0 -TCPADD 16.210.17.166]
2014-02-19 06:18:57,276 INFO org.trafodion.dcs.server.ServerManager: User program is not running
2014-02-19 06:18:57,282 INFO org.trafodion.dcs.server.ServerManager: User program exec [cd /opt/home/squser2/TRAF-0214-dbg;. sqenv.sh;mxosrvr -ZkHost sq151.houston.hp.com:2181 -RZ sq151.houston.hp.com:4 -ZkPnode "/squser2" -CNGTO 60 -ZKSTO 180 -EADSCO 0 -TCPADD 16.210.17.166]
(gdb) bt
#0 0x0000003ca38328a5 in raise () from /lib64/libc.so.6
#1 0x0000003ca3834085 in abort () from /lib64/libc.so.6
#2 0x00007ffff64c0865 in os::abort(bool) ()
from /opt/home/tools/jdk1.7.0_21_64/jre/lib/amd64/server/libjvm.so
#3 0x00007ffff6620b77 in VMError::report_and_die() ()
from /opt/home/tools/jdk1.7.0_21_64/jre/lib/amd64/server/libjvm.so
#4 0x00007ffff64c4370 in JVM_handle_linux_signal ()
from /opt/home/tools/jdk1.7.0_21_64/jre/lib/amd64/server/libjvm.so
#5 <signal handler called>
#6 0x00007ffff58735ac in folly::fbstring_core<char>::category (this=0x58)
at ../export/FBString.h:1001
#7 0x00007ffff28156f5 in folly::fbstring_core<char>::fbstring_core (
this=0x7fffe6416fe0, rhs=..., h=0x0) at ../export/FBString.h:392
#8 0x00007ffff28143cf in folly::basic_fbstring<char, std::char_traits<char>, std::allocator<char>, folly::fbstring_core<char> >::basic_fbstring (
this=0x7fffe6416fe0, str=..., h=0x0) at ../export/FBString.h:1173
#9 0x00007ffff2811750 in NAString::NAString (this=0x7fffe6416fd0, S=...,
h=0x2) at ../export/NAStringDef.cpp:76
#10 0x00007ffff0605463 in StmtDDLGrant::getTableName (this=0x0)
at ../parser/StmtDDLGrant.h:222
#11 0x00007ffff0600fab in CmpSeabaseDDL::seabaseGrantRevoke (
this=0x7fffe6417ec0, stmtDDLNode=0x7fffcb15ffd0, isGrant=0,
currCatName=..., currSchName=...) at ../sqlcomp/CmpSeabaseDDLtable.cpp:1373
---Type <return> to continue, or q <return> to quit---
#12 0x00007ffff05f731e in CmpSeabaseDDL::executeSeabaseDDL (
this=0x7fffe6417ec0, ddlExpr=0x7fffcb160220, ddlNode=0x7fffcb15ffd0,
currCatName=..., currSchName=...)
at ../sqlcomp/CmpSeabaseDDLcommon.cpp:2709
#13 0x00007fffedfa6a08 in CmpStatement::process (this=0x7fffe4399258,
statement=...) at ../arkcmp/CmpStatement.cpp:888
#14 0x00007fffedf9aa86 in CmpContext::compileDirect (this=0x7fffe4399090,
data=0x7fffcbd96588 "\200", data_len=208, outHeap=0x7fffe59a1648,
charset=15, op=CmpMessageObj::PROCESSDDL, gen_code=@0x7fffe64183b8,
gen_code_len=@0x7fffe64183b4, parserFlags=4194304, diagsArea=
0x7fffcbd96660) at ../arkcmp/CmpContext.cpp:552
#15 0x00007ffff457ea04 in ExDDLTcb::work (this=0x7fffe4f65788)
at ../executor/ex_ddl.cpp:253
#16 0x00007ffff45922f5 in ex_tcb::sWork (tcb=0x7fffe4f65788)
at ../executor/ex_tcb.h:87
#17 0x00007ffff468eeb9 in ExSubtask::work (this=0x7fffe4f65ce0)
at ../executor/ExScheduler.cpp:739
#18 0x00007ffff468e27c in ExScheduler::work (this=0x7fffe4f652f0,
prevWaitTime=0) at ../executor/ExScheduler.cpp:316
#19 0x00007ffff45d1afd in ex_root_tcb::execute (this=0x7fffe4f65d60,
cliGlobals=0x10da3c0, glob=0x7fffcbd95388, input_desc=0x7fffcbd94cc0,
diagsArea=@0x7fffe64199f0, reExecute=0) at ../executor/ex_root.cpp:1029
#20 0x00007ffff58b94db in CliStatement::execute (this=0x7fffcbd92c18,
---Type <return> to continue, or q <return> to quit---
cliGlobals=0x10da3c0, input_desc=0x7fffcbd94cc0, diagsArea=...,
execute_state=CliStatement::INITIAL_STATE_, fixupOnly=0, cliflags=0)
at ../cli/Statement.cpp:4780
#21 0x00007ffff5861805 in SQLCLI_PerformTasks(CliGlobals *, ULng32, SQLSTMT_ID *, SQLDESC_ID *, SQLDESC_ID *, Lng32, Lng32, typedef __va_list_tag __va_list_tag *, SQLCLI_PTR_PAIRS *, SQLCLI_PTR_PAIRS *) (cliGlobals=0x10da3c0, tasks=8063,
statement_id=0x5991688, input_descriptor=0x59916b8, output_descriptor=0x0,
num_input_ptr_pairs=0, num_output_ptr_pairs=0, ap=0x7fffe6419fe0,
input_ptr_pairs=0x0, output_ptr_pairs=0x0) at ../cli/Cli.cpp:3315
#22 0x00007ffff5862aa3 in SQLCLI_ClearExecFetchClose(CliGlobals *, SQLSTMT_ID *, SQLDESC_ID *, SQLDESC_ID *, Lng32, Lng32, Lng32, typedef __va_list_tag __va_list_tag *, SQLCLI_PTR_PAIRS *, SQLCLI_PTR_PAIRS *) (cliGlobals=0x10da3c0,
statement_id=0x5991688, input_descriptor=0x59916b8, output_descriptor=0x0,
num_input_ptr_pairs=0, num_output_ptr_pairs=0, num_total_ptr_pairs=0,
ap=0x7fffe6419fe0, input_ptr_pairs=0x0, output_ptr_pairs=0x0)
at ../cli/Cli.cpp:3806
#23 0x00007ffff58cd34b in SQL_EXEC_ClearExecFetchClose (
statement_id=0x5991688, input_descriptor=0x59916b8, output_descriptor=0x0,
num_input_ptr_pairs=0, num_output_ptr_pairs=0, num_total_ptr_pairs=0)
at ../cli/CliExtern.cpp:2554
#24 0x00007ffff6fb3577 in SRVR::WSQL_EXEC_ClearExecFetchClose (
statement_id=0x5991688, input_descriptor=0x59916b8, output_descriptor=0x0,
num_input_ptr_pairs=0, num_output_ptr_pairs=0, num_total_ptr_pairs=0)
---Type <return> to continue, or q <return> to quit---
at SQLWrapper.cpp:447
#25 0x00007ffff6f9cbb8 in SRVR::EXECUTE2 (pSrvrStmt=0x5991070)
at sqlinterface.cpp:5509
#26 0x00007ffff6ff3f53 in odbc_SQLSvc_Execute2_sme_ (objtag_=0x6cfa730,
call_id_=0x6cfa788, dialogueId=1040485653, sqlAsyncEnable=0,
queryTimeout=0, inputRowCnt=0, sqlStmtType=0, stmtHandle=93917296,
cursorLength=0, cursorName=0x74061cc "", cursorCharset=1,
holdableCursor=0, inValuesLength=0, inValues=0x0,
returnCode=0x7fffe641ac04, sqlWarningOrErrorLength=0x7fffe641ac00,
sqlWarningOrError=@0x7fffe641abf8, rowsAffected=0x7fffe641abf4,
outValuesLength=0x7fffe641abe8, outValues=@0x7fffe641abe0)
at srvrothers.cpp:1496
#27 0x00000000005a0d81 in odbc_SQLSrvr_ExecDirect_ame_ (objtag_=0x6cfa730,
call_id_=0x6cfa788, dialogueId=1040485653,
stmtLabel=0x74061d5 "SQL_CUR_10", cursorName=0x74061cc "",
stmtExplainLabel=0x74061e8 "", stmtType=0, sqlStmtType=0,
sqlString=0x7406194 "REVOKE REFERENCES ON VSMDQ5KGFF FROM \"DB__ROOT\"",
sqlAsyncEnable=0, queryTimeout=0, inputRowCnt=0, txnID=0, holdableCursor=0)
at SrvrConnect.cpp:6922
#28 0x000000000053c49f in SQLEXECUTE_IOMessage (objtag_=0x6cfa730,
call_id_=0x6cfa788, operation_id=3012) at Interface/odbcs_srvr.cpp:1751
#29 0x000000000053c76b in DISPATCH_TCPIPRequest (objtag_=0x6cfa730,
call_id_=0x6cfa788, operation_id=3012) at Interface/odbcs_srvr.cpp:1816
---Type <return> to continue, or q <return> to quit---
#30 0x00000000004637aa in BUILD_TCPIP_REQUEST (pnode=0x6cfa730)
at ../Common/TCPIPSystemSrvr.cpp:610
#31 0x00000000004636f1 in PROCESS_TCPIP_REQUEST (pnode=0x6cfa730)
at ../Common/TCPIPSystemSrvr.cpp:588
#32 0x00000000004d2798 in CNSKListenerSrvr::CheckTCPIPRequest (this=0xf78480,
ipnode=0x6cfa730) at Interface/Listener_srvr.cpp:78
#33 0x00000000004e3db1 in CNSKListenerSrvr::tcpip_listener (arg=0xf78480)
at Interface/linux/Listener_srvr_ps.cpp:385
#34 0x00007ffff5b389cc in sb_thread_sthr_disp (pp_arg=0x10c99b0)
at threadl.cpp:241
#35 0x0000003ca4007851 in start_thread () from /lib64/libpthread.so.0
#36 0x0000003ca38e890d in clone () from /lib64/libc.so.6
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)