You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Gao, Rui-Xian (JIRA)" <ji...@apache.org> on 2015/11/30 11:05:10 UTC

[jira] [Created] (TRAFODION-1653) coast tests core dumped at 'operator new' when Multithread DCS is on

Gao, Rui-Xian created TRAFODION-1653:
----------------------------------------

             Summary: coast tests core dumped at 'operator new' when Multithread DCS is on
                 Key: TRAFODION-1653
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1653
             Project: Apache Trafodion
          Issue Type: Bug
          Components: client-odbc-linux
         Environment: suse11
            Reporter: Gao, Rui-Xian



When MTDCS is on, several tests will run into segmentation fault. Here is the stack trace --

Core was generated by `./coast -d TRAF_ANSI_176 -u trafodion -p traf123 -c ASCII -m linux64 -f API SQLSetCursorName'
(gdb) bt
#0  0x00007f31ea0d4885 in raise () from /lib64/libc.so.6
#1  0x00007f31ea0d5e61 in abort () from /lib64/libc.so.6
#2  0x00007f31ea9128ad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#3  0x00007f31ea910986 in ?? () from /usr/lib64/libstdc++.so.6
#4  0x00007f31ea9109b3 in std::terminate() () from /usr/lib64/libstdc++.so.6
#5  0x00007f31ea910bf3 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#6  0x00007f31ea9110ed in operator new(unsigned long) () from /usr/lib64/libstdc++.so.6
#7  0x00007f31ea911189 in operator new[](unsigned long) () from /usr/lib64/libstdc++.so.6
#8  0x00007f31ec3a2a97 in copy_ERROR_DESC_LIST (pname=0x7ffee1597e20,
    curptr=@0x7ffee1597d78: 0x7cf430 "", msg_total_len=@0x7ffee1597d84: 12, swap=78 'N')
    at ./Interface/odbcs_drvr.cpp:537
#9  0x00007f31ec3a40a2 in odbc_SQLDrvr_EndTransaction_pst_ (tag_=0x7aa6e0, dialogueId=1621953250,
    transactionOpt=0, exception_=0x7ffee1597e30, sqlWarning=0x7ffee1597e20)
    at ./Interface/odbcs_drvr.cpp:1239
#10 0x00007f31ec3df80f in ENDTRANSACT (srvrCallContext=0x7aa6e0) at ./cli/netconnect.cpp:827
#11 0x00007f31ec3dd63f in ThreadControlProc (pParam=0x7aa6e0) at ./cli/drvrnet.cpp:166
#12 0x00007f31ec3add16 in CConnect::EndTran (this=0x7aa390, CompletionType=0)
    at ./cli/cconnect.cpp:2607
#13 0x00007f31ec3eccd3 in ODBC::EndTran (HandleType=2, Handle=0x7aa390, CompletionType=0)
    at ./cli/sqlhandle.cpp:187
#14 0x00007f31ec3e455e in NeoEndTran (HandleType=2, Handle=0x7aa390, CompletionType=0)
    at ./cli/neofunc.cpp:225
#15 0x00007f31ec420d17 in ODBC::fun_transact (hdbc=0x7aa390, fType=0)
    at ./DrvrManager/dmfunctions.cpp:594
#16 0x00007f31ec429b7b in SQLTransact (henv=0x7ccc40, hdbc=0x7aa390, fType=0)
    at ./DrvrManager/dmmapping.cpp:989
#17 0x00000000004ca7e4 in TestSQLSetCursorName (pTestInfo=0x7a9ad0, MX_MP_SPECIFIC=0)
    at ../../../../src/coast/coast_unified/src/setgetcu.c:1204
#18 0x00000000004338f4 in Run21Tests () at ../../../../src/coast/coast_unified/src/COAST.cpp:748
---Type <return> to continue, or q <return> to quit---
#19 0x000000000043453d in main (argc=14, argv=0x7ffee159a398)
    at ../../../../src/coast/coast_unified/src/COAST.cpp:452
(gdb) frame 8
#8  0x00007f31ec3a2a97 in copy_ERROR_DESC_LIST (pname=0x7ffee1597e20,
    curptr=@0x7ffee1597d78: 0x7cf430 "", msg_total_len=@0x7ffee1597d84: 12, swap=78 'N')
    at ./Interface/odbcs_drvr.cpp:537
537     ./Interface/odbcs_drvr.cpp: No such file or directory.
(gdb) p pname->_length
$1 = 1193297228




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