Bug report #16611
Cannot create Virtual Layer
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Virtual Layers | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | Ubuntu | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 24511 |
Description
Stack Trace:
../../src/app/qgisapp.cpp: 9823: (addVectorLayer) [25002ms] Creating new vector layer using ?layer=ogr:%2Fhome%2Frykov%2Fdownload%2F%D0%9F%D0%A0%D0%9E%D0%91%D0%AB%2F1.shp:qqq:UTF-8&query=SELECT%20*%20FROM%20qqq with baseName of virtual_layer and providerKey of virtual ../../src/core/qgsproviderregistry.cpp: 397: (createProvider) [0ms] Library name is /usr/lib/qgis/plugins/libvirtuallayerprovider.so ../../src/core/qgsproviderregistry.cpp: 397: (createProvider) [93ms] Library name is /usr/lib/qgis/plugins/libogrprovider.so ../../src/providers/ogr/qgsogrprovider.cpp: 451: (QgsOgrProvider) [0ms] Data source uri is [/home/rykov/download/ПРОБЫ/1.shp] ../../src/providers/ogr/qgsogrprovider.cpp: 359: (AnalyzeURI) [0ms] Data source uri is [/home/rykov/download/ПРОБЫ/1.shp] ../../src/providers/ogr/qgsogrprovider.cpp: 3491: (open) [0ms] mFilePath: /home/rykov/download/ПРОБЫ/1.shp ../../src/providers/ogr/qgsogrprovider.cpp: 3492: (open) [0ms] mLayerIndex: 0 ../../src/providers/ogr/qgsogrprovider.cpp: 3493: (open) [0ms] mLayerName: ../../src/providers/ogr/qgsogrprovider.cpp: 3494: (open) [0ms] mSubsetString: ../../src/providers/ogr/qgsogrprovider.cpp: 3547: (open) [0ms] OGR opened using Driver ESRI Shapefile ../../src/providers/ogr/qgsogrprovider.cpp: 569: (setSubsetString) [1ms] checking validity ../../src/providers/ogr/qgsogrprovider.cpp: 571: (setSubsetString) [0ms] Done checking validity ../../src/providers/ogr/qgsogrprovider.cpp: 3575: (open) [0ms] Data source is valid ../../src/core/qgsproviderregistry.cpp: 419: (createProvider) [0ms] Instantiated the data provider plugin: ogr ../../src/providers/ogr/qgsogrprovider.cpp: 2899: (crs) [0ms] Entering. ../../src/providers/ogr/qgsogrprovider.cpp: 2899: (crs) [0ms] Entering. ../../src/core/qgsproviderregistry.cpp: 419: (createProvider) [2ms] Instantiated the data provider plugin: virtual ../../src/core/qgsvectorlayer.cpp: 1481: (setDataProvider) [0ms] Instantiated the data provider plugin ../../src/core/qgsvectorlayer.cpp: 2590: (setCoordinateSystem) [0ms] ----- Computing Coordinate System ../../src/app/qgisapp.cpp: 9843: (addVectorLayer) [0ms] got valid layer with 0 sublayers Fatal: ASSERT failure in QList<T>::at: "index out of range", file /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h, line 510 QGIS died on signal -1"/usr/bin/qgis.bin": not in executable format: File format not recognized [New LWP 14753] [New LWP 14754] [New LWP 14755] [New LWP 14756] [New LWP 14763] [New LWP 14766] [New LWP 14769] [New LWP 14771] [New LWP 14772] [New LWP 14773] [New LWP 14774] [New LWP 14781] [New LWP 14819] "/usr/bin/qgis.bin": not in executable format: File format not recognized [Current thread is 1 (LWP 14747)] #0 0x0520151b in ?? () No symbol table info available. Backtrace stopped: Cannot access memory at address 0x83f51f70 [3]+ Stopped qgis
Related issues
History
#1 Updated by Salvatore Larosa over 7 years ago
- Status changed from Open to Feedback
Please, could you provide steps and sample data how you creating the virtual layer on?
Also, could you provide the revision of the master version?
#2 Updated by dr - over 7 years ago
- Open any vector layer (I've tested on GeoJSON and Shapefile)
- Layer -> Add Layer -> Add Virtual Layer
- Import layer from first step
- Press OK
- QGIS hangs
Version: d55fa22
#3 Updated by Giovanni Manghi over 7 years ago
dr - wrote:
- Open any vector layer (I've tested on GeoJSON and Shapefile)
- Layer -> Add Layer -> Add Virtual Layer
- Import layer from first step
- Press OK
- QGIS hangs
Version: d55fa22
I have master compiled with a later commit than yours, just followed the steps and no issue (ubuntu 16.04).
#4 Updated by dr - over 7 years ago
It looks like Qt5 related issus. Is your QGIS built upon the same Qt version?
#5 Updated by Giovanni Manghi over 7 years ago
dr - wrote:
It looks like Qt5 related issus. Is your QGIS built upon the same Qt version?
QGIS version
2.99.0-Master
QGIS code branch
Compiled against Qt
5.5.1
Running against Qt
Compiled against GDAL/OGR
2.1.3
Running against GDAL/OGR
Compiled against GEOS
3.5.1-CAPI-1.9.1
Running against GEOS
PostgreSQL Client Version
9.5.6
SpatiaLite Version
QWT Version
6.1.2
PROJ.4 Version
QScintilla2 Version
2.9.1
#6 Updated by Jürgen Fischer over 7 years ago
- Duplicates Bug report #16593: Segmentation fault when importing CSV file with coordinates added
#7 Updated by Jürgen Fischer over 7 years ago
- Status changed from Feedback to Closed
Duplicate of #16593