-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closing a netcdf raster in Windows causes core dump #28980
Comments
Author Name: Jürgen Fischer (@jef-n) gdalinfo also crashes. |
Author Name: Saber Razmjooei (@saberraz) It is confirmed that custom QGIS builds with netcdf 4.6.x in Windows do not crash. |
Author Name: Saber Razmjooei (@saberraz) It is the same issue as: Update to the newer versions of netcdf should resolve the problem. |
Author Name: Pedro Venâncio (Pedro Venâncio) Downgrading netcdf driver to 4.3.0-1, also available in OSGeo4W, is not an option here, because this NetCDF files are not correctly recognized as Raster (min and max value always 1.79769e+308) with this version. Loading them as Mesh gives
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Alexandre Neto (@SrNetoChan) I am getting a CRASH even before loading the data. Simply using the browser panel to navigate to it, as soon as I reach a folder with one of those files, QGIS crashes. |
Author Name: Alexandre Neto (@SrNetoChan) This is the crash report I get: Crash ID: be28959efc88f41008b90f2715e269b9959ca36c Stack Trace RtlFreeHeap : QGIS Info System Info |
Author Name: Jürgen Fischer (@jef-n) rebuilt / updated szip, hdf4, hdf5 and netcdf in OSGeo4W using VC14.
|
Author Name: Saber Razmjooei (@saberraz) Thanks jef for the update. Now, I can open the netcdf in QGIS 3.4 but in master it fails to open altogether. @pedro @alexandre could you confirm? |
Author Name: Jürgen Fischer (@jef-n) Saber Razmjooei wrote:
works fine in the nightly (64bit) of 185855b for me. |
Author Name: Saber Razmjooei (@saberraz) Brilliant, I did a re-install and all works well. Thanks a lot for the prompt upgrade of the libraries! |
Author Name: Pedro Venâncio (Pedro Venâncio) Jürgen Fischer wrote:
Hi Jurgen, I'm also with problems in master (code revision 185855b). Now I don't have any crash in browser when opening the folder with these NetCDF files, but when I try to load them in QGIS, I get:
With QGIS 3.4.4 everything works fine. |
Author Name: Pedro Venâncio (Pedro Venâncio) Hi Saber, I re-installed qgis-dev, gdal and netcdf, but I get the same behaviour in master. This is even more strange. In Browser, if I load the .nc file, first as Raster, and then as Mesh, everything works fine. If I try to load the Mesh first, I get that error. Please see the screencast attached. The same happens loading .nc files from Data Source Manager (First as Raster, then as Mesh -> ok | First as Mesh -> Invalid Data Source: C:\Users\pedro.venancio\Documents\netcdf\AROME_OPER_001_FC_SP_PT2_025_TMP_2-HTGL_2019020600.nc is not a valid or recognized data source.). The context menu is also different in both versions.
|
Author Name: Saber Razmjooei (@saberraz) I can confirm the issue. I think it is a browser problem with handling the file formats. Everything works as expected from Add Source Layer option. Let me try it in the latest Linux build and we can open a new ticket. |
Author Name: Jürgen Fischer (@jef-n) Saber Razmjooei wrote:
Wait for the next nightly build - the current might still be built with the previous HDF5 (so the MDAL provider might still have issues, that GDAL doesn't have anymore). |
Author Name: Pedro Venâncio (Pedro Venâncio) Jürgen Fischer wrote:
Seems fixed now Jürgen! Thank you very much! |
Author Name: Saber Razmjooei (@saberraz)
Original Redmine Issue: 21162
Affected QGIS version: 3.5(master)
Redmine category:data_provider
Assignee: Jürgen Fischer
To reproduce:
1- Download http://mf2.ipma.pt/downloads/?latest=arome.2m.relative_humidity®ion=PT2
2- Add the netcdf as raster
3- Right-click and remove the raster in layers panel
4- Boom
This is a Windows only issue and might be related to netcdf driver.
See also:
lutraconsulting/MDAL#90
The text was updated successfully, but these errors were encountered: