Opened 15 years ago

Closed 14 years ago

#1986 closed bug (fixed)

fTools basics stats randomly crashes qgis

Reported by: lroubeyrie Owned by: cfarmer
Priority: critical: causes crash or data corruption Milestone: Version 1.5.0
Component: Python plugins and bindings Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

Using basic stats from the ftools Tools on a shapefile with strings and reals datas randomly crashes qgis with a segfault. In another hand, reals attributes are listed twice in the combo. Ubuntu Jaunty/QGIS 1.3.0

Change History (7)

comment:1 by borysiasty, 15 years ago

Owner: changed from borysiasty to cfarmer

comment:2 by pcav, 15 years ago

Can you please provide sample data? I have used the plugin extensively, and never got this crash

comment:3 by lroubeyrie, 15 years ago

This problem appears with differents datas sources. As a test, take an attribute and click several times on the "Ok" button in the basics stats plugin.

comment:4 by lutra, 15 years ago

Milestone: Version 1.4.0

I can confirm both the problems under qgis 1.3 from repository and ubuntu 9.04.

I can see the "real" fields duplicated in the layer list of the tool and then also the crashes (seg fault): sometimes is hard to make it crash, sometimes is just a matter of clicking "ok" a couple of times.

comment:5 by lutra, 14 years ago

Version: 1.3.0HEAD

Hi,

the problem of the attributes listed twice seems to be gone, while the crashes are still there. Just click twice quickly on the "ok" button to get the stats. If you click repeatedly but leaving a little more time in between, no problem at all. Using qgis trunk.

comment:6 by alexbruy, 14 years ago

I think problem with craches when OK button pressed twice related with #2057 (patch added).

comment:7 by cfarmer, 14 years ago

Resolution: fixed
Status: newclosed

Patch applied in r13481.

Carson

Note: See TracTickets for help on using tickets.