Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2014
    Posts
    4

    Unanswered: Code crash during encryption scenario

    Hello
    We are monitoring Sybase database (15.7.0) with our application that have statically link (-lsybct_r64, -lsybcs_r64, -lsybtcl_r64, -lsybcomn_r64, -lsybintl_r64, -lsybunic64) libraries.
    -Bstatic -lsybct_r64 -lsybcs_r64 -lsybtcl_r64 -lsybcomn_r64 -lsybintl_r64 -lsybunic64
    In both encryption and non-encryption case our application is running successfully in local sybase setup.
    Our customer have an issue with encryption scenario, when he entered user, password and server name and click on encryption checkbox then code crash. But code is running successfully in non-encryption scenario.

    Linux 64 bit
    We are using OCS libraries 15.7.0
    Client has version 15.7.0.SP1
    Core dump is not being created
    It appears some libraries are not being loaded

    Please look in attached trace.out file

    our code is to check encryption-

    if ((retcode = ct_con_props(p->pconn->connection, CS_SET, CS_SEC_EXTENDED_ENCRYPTION,
    (CS_VOID *)&boolval, CS_UNUSED,(CS_INT *)NULL)) != CS_SUCCEED)
    {
    LogSybaseError(p,0,prefix,"ct_con_props(CS_SEC_EXT ENDED_ENCRYPTION)",retcode);
    }
    if ((retcode = ct_con_props(p->pconn->connection, CS_SET, CS_SEC_ENCRYPTION,
    (CS_VOID *)&boolval, CS_UNUSED,(CS_INT *)NULL)) != CS_SUCCEED)
    {
    LogSybaseError(p,0,prefix,"ct_con_props(CS_SEC_ENC RYPTION)",retcode);
    }
    Attached Files Attached Files
    Last edited by navin Tiwary; 09-11-14 at 02:43. Reason: need to add some more information

  2. #2
    Join Date
    Sep 2014
    Posts
    4

    Issue resolved with dynamic linking

    Crash issue has been resolved when i do dynamic linking with libraries.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •