Ticket #3380 (new bug)
Crash when repeatedly switching symbology renderer
|Reported by:||adbosco||Owned by:||nobody|
|Priority:||critical: causes crash or data corruption||Milestone:||Version 1.7.0|
|Must Fix for Release:||No||Awaiting user input:||no|
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
compiler: g++ (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) 4.4.4
build type: RELEASE
CXX_FLAGS: -g -O3 -DNDEBUG (it also crashes without the -g flag)
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.