Opened 14 years ago

Last modified 13 years ago

#2872 new bug

Qgis crash with new labeling (abc) and scale less 1:3

Reported by: gespiel Owned by: wonder
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: Symbology Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Windows
Platform Version: xp sp3 Awaiting user input: no

Description

Hello, the new core function labeling "abc" is absolutly best.

In extrem situations, it seems to have a malfunction.

When labeling with abc in a vectorlaxer is on and you set the scale less 1:3, qgis crash. Picture is attached.

Attachments (5)

qgis_crash_labeling_abc_and_scale_less_1_3.jpg (171.3 KB ) - added by gespiel 14 years ago.
qgis_crash_labeling_abc_and_scale_less_1_3-pic-2.jpg (220.7 KB ) - added by gespiel 14 years ago.
Pic 2
vgausgleichsflaechen.zip (168.1 KB ) - added by gespiel 14 years ago.
qgis_abc_crash_scale_win7.jpg (140.5 KB ) - added by gespiel 14 years ago.
qgis_crash_labeling_abc_labeling_configuration.jpg (204.8 KB ) - added by gespiel 14 years ago.

Download all attachments as: .zip

Change History (21)

comment:1 by pcav, 14 years ago

Summary: Qgis crash with new labeling (abc) and scal less 1:3Qgis crash with new labeling (abc) and scale less 1:3

comment:2 by medspx, 14 years ago

I am not able to reproduce it with trunk code under Debian Squeeze. What are the operations you made to get it crashed ? What do you mean by new labelling ? Does it means advanced labelling (rotation, font, placement with layer attributes) ?

in reply to:  2 comment:3 by gespiel, 14 years ago

Replying to medspx:

Hi,

its not the item in the layer properities. Its the labeling feature ABC shown in the attached pic 2.

Gerhard

I am not able to reproduce it with trunk code under Debian Squeeze. What are the operations you made to get it crashed ? What do you mean by new labelling ? Does it means advanced labelling (rotation, font, placement with layer attributes) ?

comment:4 by medspx, 14 years ago

Hello,

thanks for your explanations... This new labeling plugin is experimental (as the new symbology system).

I am still not able to reproduce the bug with the 1.5.0 trunk (under GNU/Linux Debian). I can "zoom" to 1:3 (and even 1:1) without crash.

Perhaps is it MS Windows specific ?

What if you try to set the scale with the zoom-in tool (focus on the label and try to zoom in progressively until 1:3 or less) ?

Perhaps the bug is related to free labeling placement only... (It crashes a lot with this mode) ?

in reply to:  4 ; comment:5 by gespiel, 14 years ago

Hello,

in a new project with only the layer, i wish to label, all is ok and I can zoom 1:1, 2:1 .... Adding more layer to the project and zomm in, then Qgis crash. I`m not competent enough to localize the problem, but it seems, that the labeling feature has a memory leage/problem, when data gows up.

Gerhard

in reply to:  5 ; comment:6 by lutra, 14 years ago

Replying to gespiel:

Hello,

in a new project with only the layer, i wish to label, all is ok and I can zoom 1:1, 2:1 .... Adding more layer to the project and zomm in, then Qgis crash. I`m not competent enough to localize the problem, but it seems, that the labeling feature has a memory leage/problem, when data gows up.

Gerhard

can you post a sample of the data that is causing the crash?

in reply to:  6 ; comment:7 by gespiel, 14 years ago

Replying to lutra: Hi,

sample project is attached

Gerhard

by gespiel, 14 years ago

Attachment: vgausgleichsflaechen.zip added

in reply to:  7 ; comment:8 by lutra, 14 years ago

Hi,

no crash at any scale level with the labelling plugin active. I'm under ubuntu 10.04 with qgis 1.5. Can you test this under a different platform?

in reply to:  8 comment:9 by gespiel, 14 years ago

Hello, tested it on win vista 32bit and qgis crash also. Programms behavior iS: with every zoom in, the programm needs more time to display the map until qgis crash near scale 1:3. Gerhard

comment:10 by lutra, 14 years ago

Hi,

I tested your vectors with the new labelling engine under qgis 1.5/osgeo4w in Windows Seven and I cannot replicate the crash.

by gespiel, 14 years ago

in reply to:  10 comment:11 by gespiel, 14 years ago

Hell0,

I`ve just tested it on a new build win7 machine and qgis crashed (see attachment)

comment:12 by lutra, 14 years ago

can you please test QGIS in english (en_us)? it is the only difference I'm seeing.

in reply to:  12 ; comment:13 by lutra, 14 years ago

Replying to lutra:

can you please test QGIS in english (en_us)? it is the only difference I'm seeing.

I tested myself and no crash.

In the labelling plugin, what configurations are you using?

comment:14 by lutra, 14 years ago

Component: GUIPython plugins and bindings
Milestone: Version 1.5.0Version 1.6.0
Owner: changed from nobody to wonder

ok got it.

There are configurations in the plugin that as a fact make qgis eat memory and then crash as described in this ticket.

Just use one of the attached vectors and then choose for example "using perimiter". A scales around 1:1 it starts eating memory and then crash. Maybe this happens with other configurations. It does not crash with the default one, "around centroid".

in reply to:  13 comment:15 by gespiel, 14 years ago

Hi, picture with labeling configuration is attached

comment:16 by pcav, 13 years ago

Component: Python plugins and bindingsSymbology
Note: See TracTickets for help on using tickets.