-
-
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
"export/add geometry columns" make QGIS crash if you have previously opened the attribute table #15036
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman) Alexander Bruy wrote:
no, it crashes when using the tool two times in a row. I will attach here sample data that is causing the crash on both windows and ubuntu with qgis-master. |
Author Name: Giovanni Manghi (@gioman) Giovanni Manghi wrote:
this is weird. I got the crash consistently for many tries while trying to find a pattern, then suddenly it stopped crashing (using the very same vectors)... |
Author Name: Giovanni Manghi (@gioman) Giovanni Manghi wrote:
but still pretty easy to replicate... I tested other vectors and is enough to run two times in a row (after clicking "close" after the first time), regardless of the vector used. I have also vector that cause qgis to crash the first time the tool is run. |
Author Name: Alexander Bruy (@alexbruy) Weird, still works for me. I tried several times with different vectors. |
Author Name: Salvatore Larosa (@slarosa) Alexander Bruy wrote:
The same for me, no problem! |
Author Name: Salvatore Larosa (@slarosa) I did some tests in more detail and I noticed that sometimes QGIS crashes! When it crashes I get this:
|
Author Name: Giovanni Manghi (@gioman) Salvatore Larosa wrote:
it is really puzzling, but not that hard to replicate, at least on my Ubuntu machine with qgis-master installed with the nightly-build repo (and regardless of the vector used). The errors are the one already posted. |
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Giovanni Manghi (@gioman) Hi Alexander, the feedback is that I'm still able to get the crash consistently (but not always) on both Linux and Windows.
|
Author Name: Salvatore Larosa (@slarosa) Now, I am able to reproduce!! For reproduce: I am investigating! |
Author Name: Alexander Bruy (@alexbruy) Maybe I'm wrong but this is because QGIS don't support simultaneous access to one datasource from different threads |
Author Name: Salvatore Larosa (@slarosa) It also occurs if the columns do not exist!
|
Author Name: Salvatore Larosa (@slarosa) if "save to new shapefile" is flagged, works fine! Alexander, you're probably right! |
Author Name: Salvatore Larosa (@slarosa) Alexander, I confirm, you're right! one solution possible is: |
Author Name: Alexander Bruy (@alexbruy) I think remove this functionality is not good solution. Maybe it is better to add warning before processing. Giovanni what do you think?
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Giovanni Manghi (@gioman) Alexander Bruy wrote:
running ftools and have the results computed in the input layer instead of a new shapefile seems to be a need of most common users, so I would like to keep this option. The warning seems ok to me. |
Author Name: Alexander Bruy (@alexbruy) Fixed in changeset "d18529fc266cf03992a35244164b73e04e505a0e".
|
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Giovanni Manghi (@gioman) The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned. |
Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 5335
Affected QGIS version: master
Redmine category:processing/qgis
Assignee: Alexander Bruy
The text was updated successfully, but these errors were encountered: