Opened 14 years ago

Closed 14 years ago

#2995 closed bug (fixed)

segfault using Style Manager

Reported by: brushtyler Owned by: nobody
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: Symbology Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Ubuntu 9.10 Awaiting user input: no

Description

First I choose Edit -> Style Manager... If I press the "+" button the terminal displays the following messages:

Warning: QColor::setNamedColor: Unknown color name 'character_n'
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Warning: QColor::setNamedColor: Unknown color name 'character_n'
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png"

Then the "Simbol properties" dialog was displayed only after 5-6 secs (sometimes the GUI freezes).

In the Simbol properties dialog I get a segfault or core-dumped in a lot of cases (sometimes some of these work fine):

  1. removing the marker by click on "-" button and then changing the symbol
  2. removing the marker and adding a new one, then changing the symbol
  3. adding a new marker, then removing it and changing the symbol

The problem seems to be that there are no markers selected when I select the new symbol.

Change History (3)

comment:1 by wonder, 14 years ago

Can you please test again? I think the problems have been fixed some time ago.

comment:2 by brushtyler, 14 years ago

Using r14489:

  1. No more GUI freeze, the "Symbol Properties" dialog is displayed next I click on the button.
  1. More stable, very few segfaulfs. I get it only adding (+) a new marker, removing (-) a marker (no markers become selected) then changing the symbol.

comment:3 by wonder, 14 years ago

Milestone: Version 1.6.0Version 1.7.0
Resolution: fixed
Status: newclosed

Last problem fixed in r14553.

Note: See TracTickets for help on using tickets.