Alice Chen created TRAFODION-824:
------------------------------------

             Summary: LP Bug: 1403163 - regression core in 
ContextCli::setDatabaseUser
                 Key: TRAFODION-824
                 URL: https://issues.apache.org/jira/browse/TRAFODION-824
             Project: Apache Trafodion
          Issue Type: Bug
          Components: sql-security
            Reporter: Roberta Marton
            Assignee: Roberta Marton
            Priority: Critical
             Fix For: 1.0 (pre-incubation)


Nightly run shows a core during catman1 testing consistently during release 
testing.

Thread 1 (Thread 0x7fffee4bd700 (LWP 4524)):
#0  0x00000038df232625 in raise () from /lib64/libc.so.6
#1  0x00000038df233d8d in abort () from /lib64/libc.so.6
#2  0x00007ffff661b810 in assert_botch_abend (f=0x7ffff77d074a 
"../cli/Context.cpp", l=5134, m=0x7ffff77d075d "Invalid userID was specified", 
c=<value optimized out>) at ../export/NAAbort.cpp:282
#3  0x00007ffff777e4aa in ContextCli::setDatabaseUser (this=0x7fffea4ab0e0, 
uid=@0x7fffffffacbc, uname=0x7fffffffadca "\377\377\377\177") at 
../cli/Context.cpp:5134
#4  0x00007ffff77630ef in SQLCLI_SetSessionAttr (cliGlobals=0xb88b70, 
attrName=6, numeric_value=0, string_value=0x7fffffffadca "\377\377\377\177") at 
../cli/Cli.cpp:6614
#5  0x00007ffff77cac9c in SQL_EXEC_SetSessionAttr_Internal (attrName=6, 
numeric_value=0, string_value=0x7fffffffadca "\377\377\377\177") at 
../cli/CliExtern.cpp:4603
#6  0x00007ffff420ecd5 in CmpSqlSession::setDatabaseUser (this=<value optimized 
out>, userID=<value optimized out>, userName=<value optimized out>) at 
../arkcmp/CmpSqlSession.cpp:188
#7  0x00007ffff4213894 in CmpStatement::process (this=<value optimized out>, 
statement=<value optimized out>) at ../arkcmp/CmpStatement.cpp:1079
#8  0x00007ffff4202ca3 in ExCmpMessage::actOnReceive (this=0x7fffffffbb10) at 
../arkcmp/CmpConnection.cpp:441
#9  0x00007ffff710c286 in IpcMessageStream::internalActOnReceive 
(this=0x7fffffffbb10, buffer=<value optimized out>, connection=0xba2e80) at 
../common/Ipc.cpp:3553
#10 0x00007ffff7126fab in GuaConnectionToClient::acceptBuffer (this=0xba2e80, 
buffer=<value optimized out>, receivedDataLength=<value optimized out>) at 
../common/IpcGuardian.cpp:2484
#11 0x00007ffff7127caf in GuaReceiveControlConnection::wait (this=0xb926e0, 
timeout=-1, eventConsumed=<value optimized out>, ipcAwaitiox=0x7fffffffb4a0) at 
../common/IpcGuardian.cpp:3181
#12 0x00007ffff7129092 in GuaConnectionToClient::wait (this=0xba2e80, 
timeout=<value optimized out>, eventConsumed=0x0, ipcAwaitiox=0x0) at 
../common/IpcGuardian.cpp:2153
#13 0x00007ffff711bdda in IpcSetOfConnections::waitOnSet (this=0x7fffffffbcb0, 
timeout=-1, calledByESP=0, timedout=0x0) at ../common/Ipc.cpp:1709
#14 0x00007ffff711cc6d in IpcMessageStream::waitOnMsgStream 
(this=0x7fffffffbb10, timeout=-1) at ../common/Ipc.cpp:3272
#15 0x00007ffff711cfc2 in IpcMessageStream::receive (this=0x7fffffffbb10, 
waited=1) at ../common/Ipc.cpp:3254
#16 0x000000000040646e in main (argc=2, argv=0x7fffffffc288) at 
../bin/arkcmp.cpp:303

The code is asserting as:

ex_assert ((uid >= MIN_USERID && uid <= MAX_USERID), "Invalid userID was 
specified");



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

Reply via email to