-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
QGis 3.10.2 crashes when displaying two PostGIS raster layers #34456
Comments
Please provide information about your qgis (about section). |
Sure, here it is!
|
@Veence please try qgis master, there have been changes about postgis rasters. If possible also add the two postgis rasters as table dumps. |
@gioman I have been tinkering with the rasters, and the bug seems to have gone away. The key thing was to change the georeferencing of one raster. The one I changed had a positive scaleY while the other had a negative scaleY, and both had the same SRID (2154). I regenerated the first raster with a negative scaleY parameter in ST_AsRaster, and everything seems to be fine right now. However, I can have a go at it using the current version of QGis if need be. It’s a matter of a few seconds to recreate the original raster that caused the bug. Tell me. Nel frattempo buon weekend! |
@Veence yes please
it would be important to have here attached the original rasters that caused the crash, in a ideal world QGIS should never crash. |
I strongly believe this bug was fixed by
which landed in 3.10.3 in the LTR. Previously proj_as_wkt() could potentially be called on the same CRS object from several threads simultaneously, which would lead to the crash stack of this report |
Guys,
After loading two PostGIS raster layers and tinkering a bit with their symbology, each time I zoom in or out QGIS crashes with that message:
Qgis3(98042,0x700004632000) malloc: double free for ptr 0x7fc495453e00
Of course the actual address changes, but the reason remains the same.
Forensic examination of the stack suggests this is a problem in proj –
But I'm still posting this here in case there's something wrong with QgsCoordinateReferenceSystem::toWkt(QgsCoordinateReferenceSystem::WktVariant, bool, int). If you deem this irrelevant, please ignore.
The text was updated successfully, but these errors were encountered: