Bug report #9119
srs.db not closed (with OTF reprojection)
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Debian wheezy||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17759|
I have this erros during short time setting style o a spatialite layer. I don't know if this happend with other kind of vector layers.
I try to save QGIS or SLD style and I obtain thi error.
(qgis:2915): Gtk-WARNING **: Failed to read filechooser settings from "/home/ginetto/.config/gtk-2.0/gtkfilechooser.ini": Too many open files
It's hard to me to identify a procedure to reproduce the error.
This happend also with a single layer with single polygon project.
QGIS version 2.1.0-Master QGIS code revision 4fd011f
Compiled against Qt 4.8.2 Running against Qt 4.8.2
Compiled against GDAL/OGR 1.9.0 Running against GDAL/OGR 1.9.0
Compiled against GEOS 3.3.3-CAPI-1.7.4 Running against GEOS 3.3.3-CAPI-1.7.4
PostgreSQL Client Version 9.1.9 SpatiaLite Version 2.4.0
QWT Version 6.0.0-svn PROJ.4 Version 470
QScintilla2 Version 2.6.2 This copy of QGIS writes debugging output.
#3 Updated by Luigi Pirelli almost 7 years ago
no... it's not my fault!
on fly repropjection open 12 /tmp/srs.db EVERY zoom or canvas redraw!
I don't know if it's related with dataProvider type (spatialite)
it's possibile to generate e lot of /tmp/srs.db doing this steps:
0) open qgis
0.1) ls -l /proc/<qgis pid>/fd/ |wc = 18 (more or less constant during normal operation)
1) create a spatialite layer in a proyection (I've a multipolygon in srid 32632)
2) set project on fly projection with other srid (I've current srid to 3003)
3) load spatialite layer
4) ls -l /proc/<qgis pid>/fd/ |wc = X
6) ls -l /proc/<qgis pid>/fd/ |wc = X+12
probably we have to change the issue title to somthing like: "On the fly reprojection doesn't close related files /tmp/srs.db"
I leave this issue opened
#4 Updated by Giovanni Manghi almost 7 years ago
- Affected QGIS version changed from 2.0.1 to master
- Target version changed from Version 2.0.0 to Future Release - High Priority
- Priority changed from Normal to Severe/Regression
- Category changed from 83 to Projection Support
I cannot add any technical detail but I can certainly confirm this issue as I have seen it many times in the last days on qgis master.