Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#1198 closed bug (worksforme)

Open attribute table hangs when a postGIS layer has pending copy from other layer

Reported by: milovanderlinden Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: Digitising Version: Trunk
Keywords: postgis crash copy paste Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Ubuntu Hardy x86_64 Awaiting user input: no

Description

How to reproduce: 1- Open PostGIS table, toggle editable. 2- Open shapefile. Select objects on shapefile layer -> Copy. 3- Select postGIS layer -> paste. 4- press button to Open attribute table for the postGIS layer. Memory runs sky high. Swap goes above 6Gb, my internal mem of 4Gb gets flooded..ubuntu hangs.

Can it be that qGIS cannot handle showing a postGIS attribute table with pending copies and goes into a eternal loop?

Change History (5)

comment:1 by milovanderlinden, 16 years ago

More steps for reproduction:

  • If I open the postGIS layer and press the button to open the attribute table, it is there in a split second.
  • If I draw a polygon and open the attribute table, split second and I can see the edit with a -2 id.
  • If I copy even a single geometry from the underlying shapefile, hang.

This must definitely have something to do with copying an object, not with edit a postGIS layer in general.

comment:2 by milovanderlinden, 16 years ago

The postGIS table has 80 records, so it is not a matter of it being to large.

comment:3 by milovanderlinden, 16 years ago

Also happens with two shapefiles. I used two polygon shapefiles.

comment:4 by pcav, 15 years ago

Resolution: worksforme
Status: newclosed

Checked, it seems to work on 1.0. I'm closing it, please check wioth latest QGIS (1.0) and reopen it if necessary. Thanks

comment:5 by (none), 15 years ago

Milestone: Version 1.0.1

Milestone Version 1.0.1 deleted

Note: See TracTickets for help on using tickets.