Opened 14 years ago

Closed 14 years ago

#2706 closed bug (worksforme)

QGIS crashes after opening a spatialite layer

Reported by: hdus Owned by: nobody
Priority: critical: causes crash or data corruption Milestone: Version 1.5.0
Component: Data Provider Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: RedHat
Platform Version: Awaiting user input: yes

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.

Attachments (1)

spatialiteCrashBt.txt (4.5 KB ) - added by hdus 14 years ago.
Spatialite Crash Backtrace

Download all attachments as: .zip

Change History (6)

by hdus, 14 years ago

Attachment: spatialiteCrashBt.txt added

Spatialite Crash Backtrace

comment:1 by jef, 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:

#2  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.

comment:2 by lutra, 14 years ago

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

comment:3 by wildintellect, 14 years ago

Awaiting user input: set
Must Fix for Release: YesNo

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

comment:4 by pcav, 14 years ago

Not confirmed here.

comment:5 by lutra, 14 years ago

Resolution: worksforme
Status: newclosed

closing for lack of feedback, reopen if necessary.

Note: See TracTickets for help on using tickets.