Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2828

Multi-threaded batch loading causes the program to crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • client-odbc-linux
    • None

    Description

      we wrote a multithread ODBC program to test data loading performance. But during data loading, the program crashed. gdb info as below:

      (gdb) bt
      #0 0x00002aaaacf0d1f7 in raise () from /lib64/libc.so.6
      #1 0x00002aaaacf0e8e8 in abort () from /lib64/libc.so.6
      #2 0x00002aaaacf4cf47 in __libc_message () from /lib64/libc.so.6
      #3 0x00002aaaacf54619 in _int_free () from /lib64/libc.so.6
      #4 0x00002aaaaad1bf11 in double_to_char(double, int, char*, short) () from /home/kangyong/lib/lib64/libtrafodbc_l64.so
      #5 0x00002aaaaad11a0e in ODBC::ConvertCToSQL(int, short, void*, int, short, short, short, void*, int, int, short, short, int, int, ICUConverter*, unsigned char*, short, int, int, int) ()
      from /home/kangyong/lib/lib64/libtrafodbc_l64.so
      #6 0x00002aaaaacf5bd1 in CDesc::BuildValueList(CStmt*, short, CDesc*, int, short&, unsigned long&, SQLValueList_def_seq_, unsigned char&) () from /home/kangyong/lib/lib64/libtrafodbc_l64.so
      #7 0x00002aaaaad0733e in CStmt::SendExecute(int) () from /home/kangyong/lib/lib64/libtrafodbc_l64.so
      #8 0x00002aaaaad077e2 in CStmt::Execute() () from /home/kangyong/lib/lib64/libtrafodbc_l64.so
      #9 0x00002aaaaad2d4e2 in ODBC::Execute(void*) () from /home/kangyong/lib/lib64/libtrafodbc_l64.so
      #10 0x00002aaaaad2a246 in NeoExecute(void*) () from /home/kangyong/lib/lib64/libtrafodbc_l64.so
      #11 0x00002aaaaad72a70 in SQLExecute () from /home/kangyong/lib/lib64/libtrafodbc_l64.so
      #12 0x0000000000413986 in rowSetDatathread (args=0x6250e0) at performance.cpp:4362
      #13 0x00002aaaab123e25 in start_thread () from /lib64/libpthread.so.0
      #14 0x00002aaaacfd034d in clone () from /lib64/libc.so.6

      Attachments

        Issue Links

          Activity

            People

              sujinpei 苏锦佩
              sujinpei 苏锦佩
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: