Bug report #4899

Features with null attributes cause segfault after click on Classify

Added by cgsbob - about 12 years ago. Updated about 12 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:14711

Description

I have a point feature in which one of its attribute has a few nulls. After I click on Classify using the Categorized renderer, I get a segfault: http://pastebin.com/CDxBC4ma . If I replace these nulls with something else I do not get a segfault. I am using "Quantum GIS - 1.9.90-Alpha 'Alpha' (956995c)" on 64 bit Ubuntu 11.10

teste_shp.zip (1.96 KB) Giovanni Manghi, 2012-01-27 06:46 AM


Related issues

Related to QGIS Application - Bug report #5196: QGIS crashes on style > categorized Closed 2012-03-17

History

#1 Updated by Giovanni Manghi about 12 years ago

Does not happen with the attached test layer. Please attach a sample data that causes the problem.

#2 Updated by cgsbob - about 12 years ago

I was able to view your file just fine, but when I classified the teste attribute, qgis crashed. So, I am guessing that classifying integer fields are fine, but classifying text will cause a segfault.

#3 Updated by Giovanni Manghi about 12 years ago

cgsbob - wrote:

I was able to view your file just fine, but when I classified the teste attribute, qgis crashed. So, I am guessing that classifying integer fields are fine, but classifying text will cause a segfault.

Then it should be something in your local installation, as I use also Ubuntu 11.10 64bit and qgis master.

Can you check on another machine? do a clean install?

#4 Updated by cgsbob - about 12 years ago

Giovanni Manghi wrote:

cgsbob - wrote:

I was able to view your file just fine, but when I classified the teste attribute, qgis crashed. So, I am guessing that classifying integer fields are fine, but classifying text will cause a segfault.

Then it should be something in your local installation, as I use also Ubuntu 11.10 64bit and qgis master.

Can you check on another machine? do a clean install?

I take it that you were able to classify on the attribute teste without a crash? What revision are you using? I'll clean up my system and do a fresh install and report back.

#5 Updated by Giovanni Manghi about 12 years ago

I take it that you were able to classify on the attribute teste without a crash? What revision are you using?

I do. I'm using qgis master, Ubuntu 11.10 64 bit.

#6 Updated by cgsbob - about 12 years ago

  • Status changed from Feedback to Closed

Giovanni Manghi wrote:

I take it that you were able to classify on the attribute teste without a crash? What revision are you using?

I do. I'm using qgis master, Ubuntu 11.10 64 bit.

Thanks for making the suggestion to make a clean build. After a make clean and uninstall, I rebuilt qgis and restested the teste.shp file. There are no more crashes, so I'm closing this bug report.

#7 Updated by Giovanni Manghi about 12 years ago

  • Resolution set to invalid

Also available in: Atom PDF