#1252 closed bug (fixed)
QGIS crashes when I use Identify Tool on MULTILINESTRINGS
Reported by: | hdus | Owned by: | jef |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Vectors | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | RedHat |
Platform Version: | Awaiting user input: | yes |
Description
When I use the Identify Tool on MULTILINESTRINGS loaded from PostGIS QGIS, crashes with the following system message:
Fatal: ASSERT: "!isEmpty()" in file /usr/local/qt4.3.4/include/QtCore/qvector.h, line 237
Attachments (2)
Change History (13)
follow-up: 3 comment:1 by , 16 years ago
comment:2 by , 16 years ago
Owner: | changed from | to
---|
comment:3 by , 16 years ago
Replying to jef:
Is there some more information about this? I couldn't reproduce the problem.
This chrash affect QGIS-1.0.0 trunk. QGIS-0.11 works fine without any problems. The crash happens with PostGIS-Layer only. When I convert the layer to shape everything works fine.
Additional I found out that polygon geometries also shows curious behaviour. Not in all cases but sometimes when I click into a single polygon more than 1 polygon is queried or one of the neighbour polygon. There is no difference between shape or postgis. Try the attached shape.
My System: Qt-4.3.4 QGIS 1.0.0 rev. 9205 Hedhat AS4 PostgreSQL 8.3.3
by , 16 years ago
follow-up: 6 comment:5 by , 16 years ago
follow-up: 7 comment:6 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:7 by , 16 years ago
Awaiting user input: | set |
---|
Replying to hdus:
Replying to hdus:
Replying to jef:
fixed in r9209
jef thank you very much for the fast fix!!
Ooops I was a little bit premature, but the multilinestring issue doesn't seems to be fixed, QGIS is still crashing.
Ok, the fixed bug didn't seem to be related to either multilinestrings or postgis anyway. I spit your shape into postgis and was able to reproduce crashes when opening the identify results and clicking multiple times on different polygons.
So there must be something else, which I'm still unable to reproduce. The only thing I noticed is that the postgis table contains POLYGONs only, while the bug title is about MULTILINESTRINGs.
Which GEOS version are you running?
follow-up: 9 comment:8 by , 16 years ago
I checked the problem on a different box with Kubuntu 7.10. QGIS also crashes when I try to query a multilinestring with the identify tool on this box.
I use GEOS-3.0.0.
Please look at the attached postgis dump which crashes QGIS on the mentioned two boxes.
by , 16 years ago
Attachment: | strass.sql added |
---|
follow-up: 10 comment:9 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Replying to hdus:
Please look at the attached postgis dump which crashes QGIS on the mentioned two boxes.
ah, ok - that one contains MULTILINESTRINGs and produces a crash. It happend when QGIS was trying to show the endpoints of the line. It doesn't do that for MULTILINESTRINGs anymore.
fixed in r9211
comment:10 by , 16 years ago
Replying to jef:
Replying to hdus:
Please look at the attached postgis dump which crashes QGIS on the mentioned two boxes.
ah, ok - that one contains MULTILINESTRINGs and produces a crash. It happend when QGIS was trying to show the endpoints of the line. It doesn't do that for MULTILINESTRINGs anymore.
fixed in r9211
Jürgen nun funzt es. Many thanx!
Is there some more information about this? I couldn't reproduce the problem.