Bug report #16598
Adding PostGIS layers from the browser or DB-Manager crashes QGIS (mini-dump)
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Alexander Bruy | ||
Category: | Browser | ||
Affected QGIS version: | 2.18.8 | Regression?: | Yes |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 24500 |
Description
QGIS 2.18.8 (and also master) crashes when one adds PostGIS layers from the browser or from DB-Manager. Everything is OK if one uses the "Add PostGIS layers" button.
This is a regression since it didn't happen with 2.18.7. Several PostgreSQL servers were tested.
Stack Trace: (Qt5Core) QSizeF::transpose (unknown file):(unknown line) (Qt5Core) QString::split (unknown file):(unknown line) ((unknown module)) QgsMapToolDeleteRing::ringNumInPolygon (unknown file):(unknown line) ((unknown module)) QgsMapToolDeleteRing::ringNumInPolygon (unknown file):(unknown line) ((unknown module)) QgsMapToolDeleteRing::ringNumInPolygon (unknown file):(unknown line) ((unknown module)) QgsMapToolDeleteRing::ringNumInPolygon (unknown file):(unknown line) ((unknown module)) QgsMapToolDeleteRing::ringNumInPolygon (unknown file):(unknown line) ((unknown module)) QgsMapToolDeleteRing::ringNumInPolygon (unknown file):(unknown line) (Qt5Core) QMetaObject::activate (unknown file):(unknown line) (Qt5Core) QTimer::timeout (unknown file):(unknown line) (Qt5Core) QObject::event (unknown file):(unknown line) (Qt5Widgets) QApplicationPrivate::notify_helper (unknown file):(unknown line) (Qt5Widgets) QApplication::notify (unknown file):(unknown line) ((unknown module)) QgsMapLayerStore::metaObject (unknown file):(unknown line) (Qt5Core) QCoreApplication::notifyInternal2 (unknown file):(unknown line) (Qt5Core) QEventDispatcherWin32Private::sendTimerEvent (unknown file):(unknown line) (Qt5Core) QEventDispatcherWin32::processEvents (unknown file):(unknown line) (USER32) TranslateMessageEx (unknown file):(unknown line) (USER32) TranslateMessage (unknown file):(unknown line) (Qt5Core) QEventDispatcherWin32::processEvents (unknown file):(unknown line) ((unknown module)) qt_plugin_query_metadata (unknown file):(unknown line) (Qt5Core) QEventLoop::exec (unknown file):(unknown line) (Qt5Core) QCoreApplication::exec (unknown file):(unknown line) ((unknown module)) QgsMapToolDeleteRing::ringNumInPolygon (unknown file):(unknown line) (kernel32) BaseThreadInitThunk (unknown file):(unknown line) (ntdll) RtlUserThreadStart (unknown file):(unknown line) QGIS Info: QGIS Version: 2.99.0-Master QGIS code revision: d55fa22 Compiled against Qt: 5.7.1 Running against Qt: 5.7.1 Compiled against GDAL: 2.2.0 Running against GDAL: 2.2.0 System Info: CPU Type: x86_64 Kernel Type: winnt Kernel Version: 6.1.7601
Related issues
Associated revisions
History
#1 Updated by Giovanni Manghi over 7 years ago
- Priority changed from Normal to High
- Affected QGIS version changed from master to 2.18.8
#2 Updated by Luigi Pirelli over 7 years ago
confirmed on Linux with latest 52a9c6d compiled... but only adding layer (doubleckick) from browser. Not confirmed from DbManager
#3 Updated by Giovanni Manghi over 7 years ago
- Assignee set to Alexander Bruy
Alex, Luigi's analysis seems to point to some changes of yours, can you confirm?
#4 Updated by Raul Nanclares over 7 years ago
Confirmed on ubuntu budgie 16.04.02. Crashes when loading layer from browser, if layer is already loaded in a project qgis won't crash.
#5 Updated by Luigi Pirelli over 7 years ago
in my case crash here: https://github.com/boundlessgeo/QGIS/commit/c849bc882b8bf30727033896c01d9cb8e600ca8e#diff-989db6afac5dc91e42cf6d3e404431b3R9317
sublayers is empty
#6 Updated by Jürgen Fischer over 7 years ago
- Description updated (diff)
#7 Updated by Jürgen Fischer over 7 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset qgis|403dc35dac30499c3954b732e4e8a642bfd475d8.
#8 Updated by Jürgen Fischer over 7 years ago
- Duplicates Bug report #16593: Segmentation fault when importing CSV file with coordinates added
#9 Updated by Jürgen Fischer over 7 years ago
- Related to Bug report #16614: Version 2.18.8 python loading vector layers - cannot name vector layer added
#10 Updated by Jürgen Fischer over 7 years ago
- Related to Bug report #16680: Layers Panel: adding a layer doesn't simply show its name added