Bug report #2810

Qgis Trunk (r13619M) crashes applying a a raster style (qml) to GRASS raster

Added by andre mano over 11 years ago. Updated over 10 years ago.

Status:Closed
Priority:Low
Assignee:Giuseppe Sucameli
Category:GRASS
Affected QGIS version: Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12870

Description

After loading a raster, I try to apply a previously created raster symbology Style (.qml). This Style file was created under a raster loaded directly to qgis. The raster is a .tiff

Associated revisions

Revision b75c1b3c
Added by Giuseppe Sucameli over 10 years ago

fix #2810

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 41f62c4f
Added by Giuseppe Sucameli over 10 years ago

fix #2810

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Paolo Cavallini over 11 years ago

I get a std::bad alloc, but o crash.

#2 Updated by Paolo Cavallini over 11 years ago

an: no crash. Debian unstable, qgis self compiled, gdal 1.7 from deb experimental

#3 Updated by Giovanni Manghi over 11 years ago

anyway... this somehow depends by the fact that the GRASS raster provider is no more GDAL?

remember that qgis GRASS raster properties dialogs need to be overhauled (see #2794), if the above hypothesis is confirmed than applying qml styles (to GRASS rasters) should not make sense anymore.

#4 Updated by Paolo Cavallini about 11 years ago

Still true?

#5 Updated by Giuseppe Sucameli over 10 years ago

  • Status changed from Open to In Progress

I load a GRASS raster layer, open the layer propriety, Colormap tab, I load a style and I get crash.

Crashes occur also trying to save a style instead of loading it.

#6 Updated by Giuseppe Sucameli over 10 years ago

  • Resolution set to fixed
  • Status changed from In Progress to Closed

Fixed in 41f62c4f (SVN r15718)

Also available in: Atom PDF