Description
This scenario should not lead an application crash. It seems we should throw an exception like "Connection is closed" instead.
Thread dump:
Thread #1 [odbc-crash-repr] 18020 [core: 0] (Suspended : Signal : SIGSEGV:Segmentation fault)
ignite::odbc::Connection::TryRestoreConnection() at connection.cpp:628 0x454264
ignite::odbc::Connection::EnsureConnected() at connection.cpp:607 0x4549cd
ignite::odbc::Connection::SyncMessage<ignite::odbc::QueryExecuteRequest, ignite::odbc::QueryExecuteResponse>() at connection.h:168 0x45c705
ignite::odbc::query::DataQuery::MakeRequestExecute() at data_query.cpp:217 0x45c705
ignite::odbc::Statement::InternalExecuteSqlQuery() at statement.cpp:629 0x42d32e
ignite::odbc::Statement::InternalExecuteSqlQuery() at statement.cpp:586 0x42d499
ignite::odbc::Statement::ExecuteSqlQuery() at statement.cpp:576 0x42d4c1
ignite::SQLExecDirect() at odbc.cpp:395 0x42614c
GetDataWithOdbc() at odbc-crash-reproducer.cpp:151 0x40898a
QueryData() at odbc-crash-reproducer.cpp:172 0x408af2
<...more frames...>
Reproducer is attached.
Attachments
Attachments
Issue Links
- links to