SAP Knowledge Base Article - Preview

2857556 - Python - Memory leak when using servername in the connection string - SDK for SAP ASE


Memory leak in SAP's python/ct-library when using servername in the connection string:

==165134== 9 bytes in 1 blocks are definitely lost in loss record 26 of 895
==165134== at 0x4C29EA3: malloc (vg_replace_malloc.c:309)
==165134== by 0xEC59E3E: ct__api_setdata (in $SYBASE/$SYBASE_OCS/lib/
==165134== by 0xEC3659B: ct__api_save_server_name (in $SYBASE/$SYBASE_OCS/lib/
==165134== by 0xEC5269C: ct___dsn_conn_props (in $SYBASE/$SYBASE_OCS/lib/
==165134== by 0xEC36073: ct__parse_prop_str (in $SYBASE/$SYBASE_OCS/lib/
==165134== by 0xEC36DF6: ct_connect_string (in $SYBASE/$SYBASE_OCS/lib/
==165134== by 0xE9FC90A: dbc_connect (in $SYBASE/$SYBASE_OCS/lib/
==165134== by 0xE7ED687: connection_init (in $SYBASE/$SYBASE_OCS/python/python34_64r/lib/



  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • Adaptive Server Enterprise extension module for Python
  • Open Client Client-Library
  • ctlibrary
  • Python


SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0


python,memory leak,leak,connection_init, python3, ct-library, ctlib, valgrind, val,820461,CR 820461,CR820461 , KBA , BC-SYB-SDK , SDK , Bug Filed

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.