Bug report #7834
Bad Allocation on Identify - v1.8
|Affected QGIS version:||1.8.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||16716|
QGIS Version: 1.8
Identify configuration: Top down
I have an existing project file which contains a mixture of PostGIS and Vector data (.tab format). Identify works as expected.
I load some extra vector data (.tab) and identify, the process appears to progress to the point where the results are to be displayed in the 'Identify Results' window but the system hangs and then throws the 'Bad Allocation' error.
I have repeated by converting the .tab files to .shp files and receive the same error as well as when the data is loaded into a PostGIS database and opened with the existing project.
I have since narrowed it down to occuring on an individual layer (attached) where the bad allocation occurs when identifying and the scale is 1:1252. I do not get the error when identifying at full extent.
I have also noted that I get a bad allocation error when this is the only visible layer and I zoom in from full extent.
If I remove this layer all returns to working as expected.
#5 Updated by Giovanni Manghi over 7 years ago
Mark Sabin wrote:
Polygon split into 8 parts - identify now completes successfully
it is an old issue of QGIS, if the polygon is very complex (many nodes) the identify chokes/fails.
There should be already a ticket, please search it and eventually close this as duplicate. Cheers!