[QGIS-trac] [Quantum GIS] #2688: crash when opening an unsupported raster layer

Quantum GIS qgis at qgis.org
Sun May 2 17:40:19 EDT 2010


#2688: crash when opening an unsupported raster layer
---------------------------------------------------------+------------------
   Reporter:  borysiasty                                 |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.5.0
  Component:  Rasters                                    |            Version:  HEAD         
   Keywords:  raster open crash                          |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 When I accidentaly try to add a raster file not supported by GDAL (e.g.
 something nonsensical like a mp3), qgis crashes with the error:

 Error: GDAL Error 4: `/home/borys/foo.mp3' not recognised as a supported
 file format.
 Segmentation fault

 Looks like a trivial test is needed.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2688>
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