[QGIS-trac] [Quantum GIS] #2907: QGIS crashes with on the fly reprojection enabled, project in "google mercator" and vector in wgs84

Quantum GIS qgis at qgis.org
Sun Jul 25 11:41:01 EDT 2010


#2907: QGIS crashes with on the fly reprojection enabled, project in "google
mercator" and vector in wgs84
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.6.0
  Component:  Projection Support                         |            Version:  Trunk        
   Keywords:                                             |   Platform_version:  Ubuntu 10.04 
   Platform:  Debian                                     |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 I will describe two behaviours, the latter causes QGIS tro crash.

 First:



 *) download the world borders shapefile

 http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip

 add it to qgis and then configure the project properties with "On the fly
 reprojection" enabled and the CRS as "Google Mercator".

 The vector never shows and QGIS  keeps telling "invalid scale".


 Second:

 in a new project add the world borders shapefile and then extract a
 country (select the country -> save as...) and then add it to qgis. You
 will have the extracted country above the world borders shapefile.


 Now change the project CRS to "Google mercator" and enable "On the fly
 reprojection". Evrtyhing will go out of sight, but if you do "zoom to
 layer" on the single country layer you will see the country and the
 underlying world borders shapefile.


 Now start to zoom out, at some point QGIS crashes with


 {{{
 Fatal: ASSERT: "std::abs( r_d ) > SMALL_NUM && std::abs( r_n ) >
 SMALL_NUM" in file /build/buildd/qgis-1.5.0/src/core/qgsclipper.h, line
 270
 Aborted
 }}}


 I'm under Ubuntu 10.04 and QGIS 1.5.

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