Bug report #18403
QGIS 3 crashes when assigning SLD style files to Mapinfo Tab files, while 2.18 assigns same files correctly without issue
|Affected QGIS version:||3.0.0||Regression?:||No|
|Operating System:||Windows 7||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||26293|
My installation of QGIS 3 Girona crashes on assigning "SLD" style files to mapinfo .TAB files. I have tried several different ones and also reproduced the issue on a colleague's computer. The same style files are readily opened and assigned without error by QGIS 2.18.
The crash happens after a short period and it closes the program completely without any message. I don't have the expertise with the program to locate or report any log or error file it may produce.
I have attached a zip file with several examples, and some notes about my installation and which fields in the files should be assigned the layer style.
I trust this is sufficient to reproduce and evaluate the issue but will assist with more information if contacted and guided through what is required.
#1 Updated by Alessandro Pasotti about 2 years ago
- Status changed from Open to Feedback
Works for me on Linux (I just tried to load the SLDs on the two layers and pan zoom in/out for a while)
I've also tried on win 10 64bit with a custom master build without issues (no crashes).
Can you also attach a test project? There might be subtle differences about how you configured the project.
In any event, without precise indications about how to trigger the crash, I just tested some zoom and pan, if there are any actions that trigger the crash, please list them as well.
Can you test on win 10? (it might be specific to win 7 even if I doubt it)
#2 Updated by Leigh Bettenay about 2 years ago
- File Qgis_test.qgs added
All very strange. I tried also on my Windows 10 laptop (Surface pro, 16gb ram). Basically unzipped the file I sent you into a desktop directory and and opened just one file- the geol interp one. Saved the project with CRS set to 28350 (though it doesn't matter). Still crashed, though a bit slower in doing so (Froze for a while then reported message "qgis-bin-g7.7.0 exe has stopped working".
Project file is attached.
#4 Updated by Leigh Bettenay about 2 years ago
Ok I've downloaded yesterday's nightly version of QGIS 3.1 from https://qgis.org/downloads/weekly/QGIS-OSGeo4W-3.1.0-12-Setup-x86_64.exe.
This version seems to import the style file for lines correctly, but still crashes with the style file for the polygon layer.
The relevant files are: "WA 500k geol interp-Forrestania subset Mar 16.tab" (the mapinfo TAB file of polygons)
"SLDtest_GM export for WA_Geol500kInterp(2016).sld" (the style file written from Global Mapper).
QGIS reads this file correctly and displays the correct colors and codes in the table but crashes when applying these to the map. Could it be a number of codes issue?