Bug #3802

QGIS crashes using some options of new labelling tool

Added by aperi2007 - about 2 years ago. Updated 8 months ago.

Status:Closed Start Date:
Priority:High Due date:
Assigned to:Martin Dobias % Done:

0%

Category:Labelling
Target version:Version 2.0.0
Platform:Windows Patch supplied:No
Platform version: Affected version:master
Status info: Causes crash or corruption:Yes
Resolution:fixed

Description

QGIS (version 15861M) crash always with this sequence of commands.
On windows 7.

1. Load shapefile "linee.shp"
2. Load shapefile "suolo.shp"

3. using label-plugin set the "suolo.shp" to show the label on field 'id'
and choose option advanced: "label every part of multipart features" and
chose also Placement->free option.

click on ok and close plugin.

4. using the label-plugin set the "linee.shp" to show the label on field 'id'
and choose advanced: "label every part of multipart features"

click on ok and close plugin

after the click the qgis crash...

I add the two shapefile as samples, but this happened with every couple of shapefiles.

Andrea.

shapefile-samples.zip - sample shapefile for crash (3 kB) aperi2007 -, 05/05/2011 03:34 pm

History

Updated by Giovanni Manghi over 1 year ago

  • Subject changed from qgis crash using some option of labels-plugin to (Windows) QGIS crashes using some options of new labelling tool
  • Assigned to changed from Marco Hugentobler to Martin Dobias
  • Target version deleted (Version 1.7.0)
  • Must fix deleted (No)
  • Patch supplied set to No

I tested qgis-trunk on both Ubuntu Linux and Windows 7 and the issue it seems to be a Windows only one.

It is not necessary to add the line layer and label it to replicate the issue, QGIS crashes also with just the polygon layer (with the labels and the settings as described) after doing a simple pan or zoom operation.

Updated by Paolo Cavallini over 1 year ago

  • Category changed from Symbology to Labelling

Still true?

Updated by Giovanni Manghi over 1 year ago

  • Target version set to Version 1.7.4

Updated by Giovanni Manghi over 1 year ago

  • Priority changed from Low to 6
  • Status info deleted (0)
  • Affected version set to master
  • Causes crash or corruption set to Yes

It is not necessary to add the line layer and label it to replicate the issue, QGIS crashes also with just the polygon layer (with the labels and the settings as described) after doing a simple pan or zoom operation.

still true on qgis-master or 1.7.3 osgeo4w

Updated by Giovanni Manghi over 1 year ago

Does not crash under qgis-master/Ubuntu.

Updated by Giovanni Manghi over 1 year ago

  • Subject changed from (Windows) QGIS crashes using some options of new labelling tool to [Windows] QGIS crashes using some options of new labelling tool
  • Platform version deleted (7)

Updated by Giovanni Manghi over 1 year ago

still true on qgis-master or 1.7.3 osgeo4w

still true on both and just on Windows

Updated by Giovanni Manghi about 1 year ago

  • Priority changed from 6 to High

Updated by Paolo Cavallini about 1 year ago

  • Target version changed from Version 1.7.4 to Version 1.8.0

Updated by aperi2007 - about 1 year ago

I tested on qgis-dev E5D97F5.
The crash seem disappeared.
Is confirmed ?

( I add another information.
The test was do on windows XP 32bit.)

Updated by Giovanni Manghi about 1 year ago

aperi2007 - wrote:

I tested on qgis-dev E5D97F5. The crash seem disappeared. Is confirmed ?

still crashes here.

Updated by aperi2007 - about 1 year ago

I tested it on windows 7 64 bit.
It crash !

Instead seem that the crash don't happen on windows xp 32bit.
It is a specific crash for windows 7 (I don't know if it crash on 32bit version).

Updated by Giovanni Manghi about 1 year ago

aperi2007 - wrote:

(I don't know if it crash on 32bit version).

it does

Updated by Jürgen Fischer about 1 year ago

  • Subject changed from [Windows] QGIS crashes using some options of new labelling tool to QGIS crashes using some options of new labelling tool

Updated by Giovanni Manghi 12 months ago

Giovanni Manghi wrote:

aperi2007 - wrote:

(I don't know if it crash on 32bit version).

it does

still confirmed with the lastet master

Updated by Paolo Cavallini 9 months ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

Updated by Giovanni Manghi 8 months ago

  • Status changed from New to Closed
  • Resolution set to fixed

With the latest changes in labelling code this seems fixed.

Also available in: Atom PDF