Feedback
Did this article resolve your question/issue?

   

Article

Crash occurs when attempting to use the new SSLLibName and CryptoLibName connect options.

Information

 
TitleCrash occurs when attempting to use the new SSLLibName and CryptoLibName connect options.
URL NameCrash-occurs-when-attempting-to-use-the-new-SSLLibName-and-CryptoLibName-connect-options
Article Number000129886
EnvironmentProduct: Connect for ODBC SQL Server driver
Version: 7.16.0410
OS: UNIX/Linux
Database: SQL Server
Application: All supported applications
Question/Problem Description
Crash occurs when attempting to use the new SSLLibName and CryptoLibName connect options with the Connect for ODBC SQL Server driver.
Steps to ReproduceMake a connection to a SSL enabled SQL Server database while setting SSLLibName & CryptoLibName.
Clarifying Information
When attempting to use the SSLLibName and CryptoLibName connection options, the driver crashed.
Error MessageSegmentation fault (core dumped)

#0 0x00007ffff6986c3c in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#1 0x0000003a0af20ca2 in X509_verify_cert () from /usr/lib64/libcrypto.so.10
#2 0x0000003a0b646f78 in ssl_verify_cert_chain () from /usr/lib64/libssl.so
#3 0x0000003a0b62589c in ssl3_get_server_certificate () from /usr/lib64/libssl.so
#4 0x0000003a0b627f62 in ssl3_connect () from /usr/lib64/libssl.so
#5 0x0000003a0b631007 in ssl23_connect () from /usr/lib64/libssl.so
#6 0x00007ffff698a791 in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#7 0x00007ffff6988cc7 in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#8 0x00007ffff698b40b in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#9 0x00007ffff68eec35 in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#10 0x00007ffff68ecc5e in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#11 0x00007ffff68ea57d in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#12 0x00007ffff69c5f39 in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#13 0x00007ffff69ca3e2 in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#14 0x00007ffff69bcd6e in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#15 0x00007ffff691ba52 in SQLConnectW () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so
#16 0x00007ffff7df2554 in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/libodbc.so
#17 0x00007ffff7df1dd2 in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/libodbc.so
#18 0x00007ffff7df220c in ?? () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/libodbc.so
#19 0x00007ffff7ddaec3 in SQLConnectA () from /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/libodbc.so
#20 0x0000000000400f03 in ODBC_Connect (henv=0x5a46f0, hdbc=0x5a49d0, dataSourceName=0x7fffffffe160 "SS",
uid=0x7fffffffe1c0 "test01", pwd=0x7fffffffe1a0 "test01", opt1=0x7fffffffdc60 "", opt2=0x7fffffffdb60 "") at example.c:113
#21 0x00000000004011bb in main (argc=1, argv=0x7fffffffe2f8) at example.c:223
Defect NumberDefect XDBC-10478
Enhancement Number
Cause
The driver failed to access the SSL context and other needed structures in the callbacks we registered with SSL for validation of certificates.
Resolution
Fixed in hot fix 7.16.0415

Refer to  Connect and Connect64 for ODBC hot fix download and install instructions for instructions on how to download and install the hot fix.
Workaround
Notes
Last Modified Date11/20/2020 7:04 AM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.