Bug report #15546
Updated by Giovanni Manghi about 7 years ago
We currently migrating our environment from QGis 2.8.1 to QGis 2.14.6. Under QGis 2.8.1 everything works fine, even if I reopen the 2.14-project under version 2.8!
Under QGis 2.14.6 we had unexplainable "randomly" crashes when zooming and panning in the main window. The Crash also occurs "randomly" when we try to generate maps with the Atlas-Tool
After a while I could narrow down the problem to a polygon layer. I don’t know exactly why it crashes, but I guess it has something to do with the “new” styling and labeling features. By adding the shape file (Layer B, see below) to the project without styling the problem does not occur.
Steps to reproduce the crash:
- open the attached sample project (contains sample data of the region where the problem occurs)
- you see a red point. Try to zoom in! (under scale 1:100,000)
Alternative:
- open the Map-Composer “GIS-Bild” and try to enable the preview of the Atlas
Or:
- disable the “Set Layer Scale Visibility” for Layer B
Now it becomes strange:
If you set “Toggle Editing” = On for Layer B zoom, pan and Atlas-Tool are working fine (all my > 4000 images are created without problems). But this can’t be the solution, because you cannot open a project with editing toggled ON for “Layer B”. QGis will immediately crash when opening a project saved with deep zoom.
Some remarks to “Layer B”
- originally it is an MSSQL layer, the problem is the same with shp file and MSSQL table
- in Sql-Server all geometry are “Valid”, “Simple” and type “Polygon”
I also added two core dumps from the crashes
Under QGis 2.14.6 we had unexplainable "randomly" crashes when zooming and panning in the main window. The Crash also occurs "randomly" when we try to generate maps with the Atlas-Tool
After a while I could narrow down the problem to a polygon layer. I don’t know exactly why it crashes, but I guess it has something to do with the “new” styling and labeling features. By adding the shape file (Layer B, see below) to the project without styling the problem does not occur.
Steps to reproduce the crash:
- open the attached sample project (contains sample data of the region where the problem occurs)
- you see a red point. Try to zoom in! (under scale 1:100,000)
Alternative:
- open the Map-Composer “GIS-Bild” and try to enable the preview of the Atlas
Or:
- disable the “Set Layer Scale Visibility” for Layer B
Now it becomes strange:
If you set “Toggle Editing” = On for Layer B zoom, pan and Atlas-Tool are working fine (all my > 4000 images are created without problems). But this can’t be the solution, because you cannot open a project with editing toggled ON for “Layer B”. QGis will immediately crash when opening a project saved with deep zoom.
Some remarks to “Layer B”
- originally it is an MSSQL layer, the problem is the same with shp file and MSSQL table
- in Sql-Server all geometry are “Valid”, “Simple” and type “Polygon”
I also added two core dumps from the crashes