Bug report #2482
Interpolation plugin causes seg fault
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||12542|
Tested on both linux and windows xp with the following point vector
I mistakenly choose this point layer to create a TIN (points extracted from a altimetry line vector, so not really suited for the analysis), but I believe that a error message should be thrown instead of the crash. Nevertheless close the ticket if you consider this situation too extreme.
#2 Updated by Giovanni Manghi over 9 years ago
- Status changed from Open to Closed
- Resolution set to invalid
sorry for the broken link. I tested the tool again with what I believe is a vector identical to the one linked and it works fine now. So I'll close this then I'll test the linked vector and leave further feedback if necessary.
#9 Updated by Alister Hood about 8 years ago
Here is a link for a (very large) contour shapefile which crashes my QGIS as soon as starting TIN interpolation. N.B. the interpolation plugin is not really suitable for large files (polyline files - I'm not sure about point files) anyway - it takes many hours to do an IDW interpolation, even at a low resolution.
#12 Updated by Jürgen Fischer over 7 years ago
#13 Updated by Giovanni Manghi over 7 years ago
- Crashes QGIS or corrupts data set to Yes
- Subject changed from interpolation plugin causes seg fault to Interpolation plugin causes seg fault
- Priority changed from Low to 6
New sample data
from Martin Weis, who adds
"And here is a backtrace, it looks like there is a loop, I snipped a lot: http://paste.ubuntu.com/780464/ "
#14 Updated by Werner Macho over 7 years ago
- Affected QGIS version set to master
- Priority changed from 6 to Normal
Confirmed for http://dl.dropbox.com/u/24564149/0.1m_Contour_combined.zip which is very big data ..
but not for http://sengis.uni-hohenheim.de/tmp/interpolation_bug_tin.zip
neither on release-1_7 branch nor master branch ..
So it seems the problem only exists with very big data ..
Setting Priority normal as it seems not to be a showstopper for "normal" cases ..
Still the plugin seems not to handle big data very well
#18 Updated by Tristan Allouis over 7 years ago
- File test2.xyz added
Same problem: Segmentation fault using the "interpolation" plugin and the TIN method on a xyz dataset (Z interpolation).
I checked the patch attached in #5239 but it did not fix the problem.
According to my tests, qgis crashes when the points to interpolate are too close (too dense dataset).
I enclose a dataset that causing qgis to crash. Use the SCR ID 10090.
Please can you test this dataset and report if it crashes or not?