[QGIS-trac] Re: [Quantum GIS] #2840: adding an empty spatialite db causes qgis to crash

Quantum GIS qgis at qgis.org
Sat Jun 26 19:33:25 EDT 2010


#2840: adding an empty spatialite db causes qgis to crash
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.5.0
  Component:  Data Provider                              |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by lutra):

 I removed SDA4PP and the messages changes slightly, but sI still have a
 crash.

 if using "add raster layer" I get

 "/home/gio/Desktop/teste is not a supported raster data source"

 I believe that this should appear more like "empty db"


 if using "add vector layer" qgis crashes with




 {{{
 ERROR 10: Pointer 'hLayer' is NULL in 'OGR_L_GetExtent'.

 ERROR 10: Pointer 'hLayer' is NULL in 'OGR_L_GetSpatialRef'.

 ERROR 10: Pointer 'hLayer' is NULL in 'OGR_L_GetLayerDefn'.

 Fatal: ASSERT failure in QList<T>::at: "index out of range", file
 /usr/include/qt4/QtCore/qlist.h, line 439
 Aborted

 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2840#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list