SAP Knowledge Base Article - Preview

2315318 - ctlib stack trace running multiple threads - SDK for SAP ASE

Symptom

  • The application crashes with a stack trace when running more than 5 threads:
  • #0  0x0000003c87832625 in raise () from /lib64/libc.so.6
    #1  0x0000003c87833e05 in abort () from /lib64/libc.so.6
    #2  0x00007fac8d4b280f in com__abort () 
    #3  0x00007fac8d43ed95 in com_bomb
    #4  0x00007fac7d202371 in ct_async_block_async (async=0x7fac2409df80) at 
    #5  0x00007fac7d2795d6 in ct__tds_do_cancel (asynchndl=0x7fac2409df80, status=1, step=-1) at generic/tds/tdscancl.c:648
    #6  0x00007fac7d279ac8 in ct_tds_cancel (conn=0x7fac2409dd70, cmd=0x7fac6c06ae00) at generic/tds/tdscancl.c:853
    #7  0x00007fac7d2088b6 in ct__chkpt_cancel_all (async=0x7fac2409df80, status=1, step=0) at generic/ct/ctcancel.c:680
    #8  0x00007fac7d203a64 in ct_async_exec_stack (async=0x7fac2409df80) at generic/utl/ctasync.c:1364
    #9  0x00007fac7d2046b6 in ct__api_async (conn=0x7fac2409dd70, cmd=0x7fac6c06ae00, chkpt_func=0x7fac7d208763 <ct__chkpt_cancel_all>, func_id=4)
       at generic/ct/ctautil.c:562
    #10 0x00007fac7d208a18 in ct__api_cancel_all (connection=0x7fac2409dd70, cmd=0x7fac6c06ae00) at generic/ct/ctcancel.c:767
    #11 0x00007fac7d2090e2 in ct_cancel (connection=0x0, cmd=0x7fac6c06ae00, type=6001) at generic/ct/ctcancel.c:1101
    #12 0x00007fac8e91d487 in sybase::Command::~Command (this=0x7fac507f0df0, __in_chrg=<value optimized out>
     at ConnectionPool.cpp:XXX

  • #0  0x0000003c87832625 in raise () from /lib64/libc.so.6
    #1  0x0000003c87833e05 in abort () from /lib64/libc.so.6
    #2  0x00007f459c1bf80f in com__abort () at 
    #3  0x00007f459c14bd95 in com_bomb 
    #4  
    #5  
    #6  0x00007f459a13b3c8 in ct___cfg_conprops (conn=0x7f452001d660, config=0x15ac300, sectname=0x7f455dde0380 "DEFAULT", sectnamelen=7) at generic/ct/ctexcfg.c:914
    #7  0x00007f459a13c6f0 in ct__conn_cfg (conn=0x7f452001d660, debug_flags=0x0) at generic/ct/ctexcfg.c:1608
    #8  0x00007f459a11a84d in ct_connect (connection=0x7f452001d660, server_name=0x16a0508 "servername", snamelen=15) at generic/ct/ctconn.c:2266
    #9  0x00007f459d62fa79 in sybase::Connection::logon (this=0x7f4520025520, server=..., user=<value optimized out>, pwd=...)
       at ConnectionPool.cpp
    #10 0x00007f459d62ed30 in sybase::ConnectionPool::tlsConnection (this=0x16a22d0)
       at ConnectionPool.cpp


Read more...

Environment

  • Software Developers Kit (SDK)
  • Adaptive Server Enterprise (ASE)

Product

SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Software Developer Kit 15.7

Keywords

thread, conn, connections, crash, dump, stack, async, ct, client, open client, sdk, ocs, ocs-15_0, ocs-16_0, .so, .a, , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.