Bug report #2706

QGIS crashes after opening a spatialite layer

Added by Horst Düster over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Data Provider
Affected QGIS version: Regression?:No
Operating System:RedHat Easy fix?:No
Pull Request or Patch supplied: Resolution:worksforme
Crashes QGIS or corrupts data: Copied to github as #:12766

Description

The load of a spatialite layer leeds to crash QGIS:

1. Connect to a spatialite DB: all Layers of the DB are shown up
2. Select one layer and click "add"
3. QGIS crashes

I've attached the gdb backtrace output.

spatialiteCrashBt.txt Magnifier - Spatialite Crash Backtrace (4.5 KB) Horst Düster, 2010-05-12 07:48 AM

History

#1 Updated by Jürgen Fischer over 14 years ago

not reproducable here.

Is your qgis built with WITH_INTERNAL_SPATIALITE?

The backtrace suggests that you Qt is built with static sqlite3:

#3906  0x0018a055 in openDatabase (zFilename=0x93c06e0 "/home_nas/sogis/barpadue/temp/osm_liechtenstein.sqlite", ppDb=0xbfffc75c, flags=2, zVfs=0x0) at ../3rdparty/sqlite/sqlite3.c:61350

Perhaps that interferes with the internal spatialite (that includes sqlite3) or dynamically linked spatialite/sqlite3.

#2 Updated by Giovanni Manghi over 14 years ago

not reproducable here too, using qgis trunk under both ubuntu linux and windows 7.

#3 Updated by Alex Mandel over 14 years ago

If we can verify it, then it's likely high priority to fix. User feedback required.

#4 Updated by Paolo Cavallini over 14 years ago

Not confirmed here.

#5 Updated by Giovanni Manghi over 14 years ago

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

closing for lack of feedback, reopen if necessary.

Also available in: Atom PDF