Bug report #12929
XML file freezes QGIS 2.8.2/master
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||21011|
I know that this is a bad file. I was trying to extract a json from overpass-turbo but got a xml file
I think that this should not crash QGIS, but should only return an error, saying that is not a good type.
Load as vector the attached file and qgis will freeze
#2 Updated by baditaflorin - over 6 years ago
Giovanni Manghi wrote:
sure you added the right file?
here it returns exactly what you expect
Invalid Data Source: /home/giovanni/Downloads/interpreter_1_ is not a valid or recognized data source
i have tried again, it makes QGIS freeze
I don`t add a extension or something, only the attachment, that i try to load as a vector
I see that you load it on linux, try to do this on windoes, maybe is a OS specific bug
#3 Updated by Giovanni Manghi over 6 years ago
- Affected QGIS version changed from 2.8.2 to master
- Crashes QGIS or corrupts data changed from No to Yes
- Target version set to Future Release - High Priority
- Priority changed from Normal to High
- Status changed from Feedback to Open
- Category set to Vectors
- Subject changed from XML file freezes QGIS 2.8.2 to XML file freezes QGIS 2.8.2/master
Confirmed on Windows.
#4 Updated by Jürgen Fischer over 6 years ago
- Resolution set to up/downstream
- Category changed from Vectors to Data Provider/OGR
D:\\TEMP\\test\\12\\12929>set CPL_DEBUG=ON D:\\TEMP\\test\\12\\12929>ogrinfo interpreter_1_ OGR: Auto register C:\\OSGEO4~1\\bin\\gdalplugins\\ogr_FileGDB.dll using RegisterOGRFileGDB. OGR: Auto register C:\\OSGEO4~1\\bin\\gdalplugins\\ogr_OCI.dll using RegisterOGROCI. OGR: Auto register C:\\OSGEO4~1\\bin\\gdalplugins\\ogr_SOSI.dll using RegisterOGRSOSI. OGR: OGROpen(interpreter_1_) failed. VSIMemFile: Memory file /vsimem/ogrgpsbabeldatasource_0000000002B2AB10 deleted with 1 references. ^C D:\\TEMP\\test\\12\\12929>set OGR_SKIP=GPSBabel D:\\TEMP\\test\\12\\12929>ogrinfo interpreter_1_ OGR: OGROpen(interpreter_1_) failed. SIGY: Header = <?xml version="1.0" encoding="UTF-8"?> [...] <nd ref="1181492511"/> [...] OGR: OGROpen(interpreter_1_) failed. FAILURE: Unable to open datasource `interpreter_1_' with the following drivers. -> FileGDB [...] -> SXF
IOW seems to be a problem with the
GPSBabel driver in OGR.