-
-
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
Crash QGIS 2.10.1 after select MultiGeometry features from PostGIS into Temporary Layer #21366
Comments
Author Name: Salvatore Larosa (@slarosa) I am not able to reproduce the crash in master version. Which platform are you using?
|
Author Name: Evgeniy Z (Evgeniy Z) I am using Windows 7 x64, Windows 10 x32. |
Author Name: Evgeniy Z (Evgeniy Z) Demonstration
|
Author Name: Salvatore Larosa (@slarosa) I can confirm it on Windows and I also can confirm it works fine in LTR version.
|
Author Name: Mauricio van den Berg (Mauricio van den Berg) I suspect I ran into something caused by the same problem. Reproducible in the following way:
Also crashes in less easily reproducible ways. I'm also on QGIS 2.10.1, Windows 7 x64 |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n) Original problem only reproducable with 2.10.1 (windows 64bit; second example doesn't crash there here either). 2.8.3 and master seem to work fine. Does enabling/disabling geometry simplification on the layer make a difference?
|
Author Name: Evgeniy Z (Evgeniy Z) Jürgen Fischer, No, enabling/disabling geometry simplification on the layer does not make a difference. |
Author Name: Jürgen Fischer (@jef-n) Evgeniy Z wrote:
Can you reproduce it in master? |
Author Name: Evgeniy Z (Evgeniy Z) So in 2.11 master it seems works normal. But I could not track one unexpected crash. I was limited in time. |
Author Name: Nyall Dawson (@nyalldawson) Not reproducible in master. Please reopen if you experience this with 2.12
|
Was incorrectly truncating at first ']' character Fixes qgis#21366 (cherry picked from commit cab2dcf)
Author Name: Evgeniy Z (Evgeniy Z)
Original Redmine Issue: 13308
Affected QGIS version: 2.10.1
I have created a plugin which selects objects from a PostGIS table by rectangle and puts it into new Memory Layer. Type of geometry in PostGis table - MultiLineString. Adding features to the Memory Layer (its type also MultiLineString) is done successfully. But if you try zoom to Layer and perform any manipulations with map, QGIS is going to crash.
This situation occurs in QGIS 2.10. In 2.8.2 it worked well. Therefore I tried to convert MultiLineString to LineString - QGIS does not crashs, but it is unacceptable for work with some data...
Below is the example code for QGIS python console to reproduce situation and shapefile with some geometry data for tests.
Steps for reproduce:
The text was updated successfully, but these errors were encountered: