Crash on opening ODBC connection #59372
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
Data Source Manager
ODBC
What is the bug or the crash?
QGis crashes when user tries to add a new vector layer from database (ODBC) source. This occurs both testing the connection as well as adding the layer (without testing). The same ODBC connection tests ok in the ODBC Data Source Manager and returns data to other applications such as MS Excel
Steps to reproduce the issue
Versions
QGIS version
3.34.9-Prizren
QGIS code revision
cbbc7bd
Qt version
5.15.13
Python version
3.12.4
GDAL/OGR version
3.9.1
PROJ version
9.4.0
EPSG Registry database version
v11.004 (2024-02-24)
GEOS version
3.12.2-CAPI-1.18.2
SQLite version
3.45.1
PDAL version
2.6.3
PostgreSQL client version
16.2
SpatiaLite version
5.1.0
QWT version
6.2.0
QScintilla2 version
2.14.1
OS version
Windows 11 Version 2009
Active Python plugins
pointsamplingtool
0.5.4
qchainage
3.0.1
quick_map_services
0.19.34
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
Supported QGIS version
New profile
Additional context
Python Stack Trace
Windows fatal exception: access violation
Current thread 0x00000130 (most recent call first):
Stack Trace
ConfigDSNW :
SQLTablesW :
SQLTablesCover :
SQLTables :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
QgsOgrProviderUtils::GDALOpenWrapper :
QgsOgrProviderUtils::IsLocalFile :
QgsOgrProviderUtils::getLayer :
QgsTiledSceneRenderer::flags :
QgsAppLayerHandling::addOgrVectorLayers :
QgisApp::identifyMapTool :
QObject::qt_static_metacall :
QgsDataSourceManagerDialog::addVectorLayers :
QObject::qt_static_metacall :
QgsAbstractDataSourceWidget::addVectorLayers :
QgsProjectStorageGuiProvider::QgsProjectStorageGuiProvider :
QObject::qt_static_metacall :
QAbstractButton::clicked :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :
QGIS Info
QGIS Version: 3.34.9-Prizren
QGIS code revision: cbbc7bd
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.9.1
Running against GDAL: 3.9.1
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.22621
The text was updated successfully, but these errors were encountered: