[QGIS-trac] [Quantum GIS] #3380: Crash when repeatedly switching symbology renderer

Quantum GIS qgis at qgis.org
Sun Jan 2 07:02:45 EST 2011


#3380: Crash when repeatedly switching symbology renderer
---------------------------------------------------------+------------------
   Reporter:  adbosco                                    |              Owner:  nobody                
       Type:  bug                                        |             Status:  new                   
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0         
  Component:  Symbology                                  |            Version:  Trunk                 
   Keywords:                                             |   Platform_version:  linux-2.6.32-gentoo-r7
   Platform:  Debian                                     |           Must_fix:  No                    
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 For this test, I loaded a shapefile with 1393 categories and repeatedly
 changed the symbology renderer and the column to be classified.  After
 doing it for about 15 to 20 times, qgis crashed.

 This behavior seems to be associated with a failure to synchronize the
 change in symbology with rendering to the canvas.  It is certain to happen
 if one tries many different symbology settings repeatedly, but it
 sometimes happens unexpectedly when normally setting/resetting symbology
 in a normal pace (a production work situation).

 This bug report relates to a build with the following characteristics:

 SVN revision: 14989[[BR]]
 compiler: g++ (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) 4.4.4[[BR]]
 build type: RELEASE[[BR]]
 CXX_FLAGS: -g -O3 -DNDEBUG (it also crashes without the -g flag)[[BR]]

 Similar behavior was also reported for 1.6 ubuntu binary and 1.5 gentoo
 source, built with -O2 -DNDEBUG flags.

 Cannot reproduce in a DEBUG build.

 If the information above does not help, please respond to this ticket and
 I will perform extra tests as needed.

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