SAP Knowledge Base Article - Preview

2175096 - Embedded SQL DBLIB function does not check SQLCA address - SAP IQ

Symptom

  • DBLIB function of SAP IQ Embedded SQL does not check the address of the SQLCA.
  • For example, when NULL is assigned to the argument SQLCA of function of DBLIB, it will cause a Signal 11.

    Program terminated with signal 6, Aborted.
    #0  0x00000036cde32625 in raise () from /lib64/libc.so.6
    Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6_6.5.x86_64 libgcc-4.4.7-4.el6.x86_64 libstdc++-4.4.7-4.el6.x86_64
    (gdb) where
    #0  0x00000036cde32625 in raise () from /lib64/libc.so.6
    #1  0x00000036cde33d8d in abort () from /lib64/libc.so.6
    #2  0x00007f85dba37b4a in ut_onsig_sig_handler (sig=11, siginfo=0x7fff775c6130,
        context=0x7fff775c6000)
        at /remote/rip/iqbuild/views/links/r16.0.0_nbld_sp08.24_linux_64/src.16_sp08/db/utils/unix/utonsig.c:194
    #3  <signal handler called>
    #4  0x00000000004014d2 in close_cursor ()
    #5  0x0000000000401b24 in WSQLEX_Finish ()
    #6  0x00000000004012a0 in main ()


Read more...

Environment

  • SAP IQ All Versions

Product

SAP IQ all versions

Keywords

IQ, DBLIB, SQLCA, "CR 784752", "SQL CONNECT", "Embedded SQL", "signal 6", "close_cursor" , KBA , BC-SYB-IQ , Sybase IQ , How To

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.