Crash during SSL_new initialization

Description

We are facing a strange crash somewhere inside libssl related to how Cassandra C++ sdk initializes a SSL session. Below is the code that we use to instantiate CassSession:

Backtrace:



This issue can only be reproduced on Ubuntu/Linux, Windows version works fine.

Any ideas why it happens? From the code where it crashes looks like that SSL is trying to free some memory. Maybe cassandra driver doesn't pass all necessary data or dangled pointers to it?

Environment

Ubuntu 16.04

Pull Requests

None

Assignee

Unassigned

Reporter

Gleb Golda

Labels

None

PM Priority

None

Reproduced in

2.14.0

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Size

None

Affects versions

Priority

Major