Bug report #3709

Spatialite editing not working

Added by ulmi - about 12 years ago. Updated about 12 years ago.

Assignee:Sandro Furieri
Affected QGIS version: Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13768


Spatialite editing not working on qgis trunk, just for lines and polygons.

Not saving new features or editing old, crashes after a second and third try.

Point features work though!!


#1 Updated by Paolo Cavallini about 12 years ago

In Debian testing apparently it works well. Anyone confirms, on Windows or other platforms? Does this happen with just one db, or all? Can you share one of your db who is causing the crash?

#2 Updated by Maxim Dubinin about 12 years ago

  • Resolution set to worksforme
  • Status changed from Open to Closed

worksforme on polygonal layer in WinXP, f42443c9 (SVN r15701)

#3 Updated by ulmi - about 12 years ago

  • Resolution deleted (worksforme)
  • Status changed from Closed to Feedback

For me it just works on point layers.

Neither new features or editing works on polygons and line layers, causes crash and exit. WinXp with 1.7 fbd10b55 (SVN r15741).

Everything works on 1.6

Sample DB > [http://dl.dropbox.com/u/378544/ZIF.7z]

#4 Updated by dr - about 12 years ago

Confirm crash in Windows 7, fbd10b55 (SVN r15741).

#5 Updated by Marco Hugentobler about 12 years ago

  • Status changed from Feedback to Open

#6 Updated by Sandro Furieri about 12 years ago

  • Status changed from Open to Closed
  • Resolution set to fixed

fixed on 171bed79 (SVN r15815)

not at all specific to Windows: this bug actually affected any platform.
Shortly said: there was an uncorrect size calculation for 3D Geometries causing a
memory overflow condition (and consequently, a fatal crash).

BTW while investigating on this, I discovered (and resolved) a further bug related
to 3D Mulipolygons editing on QgsGeometry.moveVertex()

Also available in: Atom PDF