[QGIS-trac] [Quantum GIS] #1998: qgis crashes when zooming out with otfr enabled

Quantum GIS qgis at qgis.org
Sun Oct 11 06:33:38 EDT 2009


#1998: qgis crashes when zooming out with otfr enabled
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.4.0
  Component:  MapCanvas                                  |            Version:  1.3.0        
   Keywords:                                             |   Platform_version:  Ubuntu 9.04  
   Platform:  Debian                                     |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Not really sure to what component assign this ticket.

 I was having a look to ticket #1993 and I noticed the following:

 I created a new project and added a couple of layers, a world borders
 shape defined in wgs84, and a shape file of an European country, with a
 projected crs.

 I then enabled otfr and selected as project crs the projected one.

 While zooming out obviously the world border shape started to wrap (see
 attached screenshot), but suddenly qgis crashes. In the terminal I can see
 the following


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



 while this exercise cannot make a lot of sense, I think that qgis should
 not crash.


 I noticed also that this happens with others projected crs but not all.
 For example if you use the world borders shape and one of the Alaska
 shapes of the sample dataset, qgis doesn't crash.

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