Opened 13 years ago

Closed 13 years ago

#3692 closed bug (fixed)

QGIS segfaults after removing table join

Reported by: lucadelu Owned by: mhugent
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: Vectors Version: Trunk
Keywords: table join vector remove segfault Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: ubuntu 10.10 Awaiting user input: no

Description

QGIS segfaults after removing table join and query the layer that was joined.
Steps to reproduce it:

  • add vector
  • add table
  • add join from layer properties and query the layer
  • remove the join from layer properties
  • now if you query the layer it's all ok. But
  • remove the table
  • query the layer and now QGIS crashes

Change History (5)

comment:1 by mhugent, 13 years ago

Owner: set to mhugent

comment:2 by mhugent, 13 years ago

query the layer

Do you mean with an expression in the attribute table query builder? Or with the infotool in the map?

in reply to:  2 comment:3 by lucadelu, 13 years ago

Replying to mhugent:

query the layer

Do you mean with an expression in the attribute table query builder? Or with the infotool in the map?

with pointer "Identify Features" http://trac.osgeo.org/qgis/browser/trunk/qgis/images/themes/default/mActionIdentify.png

comment:4 by aghisla, 13 years ago

I can reproduce the bug with QGIS r15648, Fedora 14, a shapefile and a DBF table.

I also tried with "Cache join layer in virtual memory" unchecked, but QGIS segfaults nevertheless.

comment:5 by mhugent, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r15700

Note: See TracTickets for help on using tickets.