Bug report #3380
Crash when repeatedly switching symbology renderer
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Gentoo||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||worksforme|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||13440|
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.
#4 Updated by Giovanni Manghi about 8 years ago
- Pull Request or Patch supplied set to No
- Assignee deleted (
- Status changed from Open to Feedback
- Status info deleted (
- Crashes QGIS or corrupts data set to No
- Affected QGIS version set to master
I cannot replicate the issue on master and 1.7.3 on both windows/osgeo4w and Ubuntu. Please check again and report back.