<div dir="ltr"><div><div>Richard. <br><br></div>This commit, <a href="https://github.com/qgis/QGIS/commit/59583e97deef732f6884a54b518fc34225fd6012">https://github.com/qgis/QGIS/commit/59583e97deef732f6884a54b518fc34225fd6012</a> , fixed a 9-day-old regression which had QGIS constantly use CPU. <br><br></div>Math<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 11, 2016 at 8:39 PM, Richard Duivenvoorde <span dir="ltr"><<a href="mailto:rdmailings@duif.net" target="_blank">rdmailings@duif.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi, are we the only ones?<br>
<br>
It's a strange thing: sometimes the raster dialog opens fine and I can<br>
load a raster and immidiatly after the loading I cannot use the dialog<br>
anymore...<br>
<br>
I also tried to start QGIS with a clean configpath..<br>
<br>
It's both in master_2 and in master/QGIS3 with me?<br>
QGIS is very busy at that moment.. trying to index something? Or<br>
searching for something??<br>
<br>
<a href="http://storage7.static.itmages.com/i/16/0911/h_1473598922_7608453_940ca73ec1.png" rel="noreferrer" target="_blank">http://storage7.static.<wbr>itmages.com/i/16/0911/h_<wbr>1473598922_7608453_940ca73ec1.<wbr>png</a><br>
<br>
Using strace, it looks like it is polling something?<br>
<br>
poll([{fd=6, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}])<br>
writev(6,<br>
[{"\213\24\t\0\20\0`\1\1\0\0\<wbr>0\17\0\0\0\3\0\2\0\0\0\2\0\4\<wbr>0\0\0\2\235F\0"...,<br>
108}, {NULL, 0}, {"", 0}], 3) = 108<br>
recvmsg(6, {msg_name(0)=NULL,<br>
msg_iov(1)=[{"\16\0L\251\252\<wbr>0`\1\0\0>\0\0\0\0\0\0\0\0\0\0\<wbr>0\0\0\0\0\0\0\0\0\0\0",<br>
4096}], msg_controllen=0, msg_flags=0}, 0) = 32<br>
recvmsg(6, 0x7ffcd8ab7f50, 0) = -1 EAGAIN (Resource<br>
temporarily unavailable)<br>
recvmsg(6, 0x7ffcd8ab7f50, 0) = -1 EAGAIN (Resource<br>
temporarily unavailable)<br>
recvmsg(6, 0x7ffcd8ab8120, 0) = -1 EAGAIN (Resource<br>
temporarily unavailable)<br>
recvmsg(8, 0x7ffcd8ab8110, 0) = -1 EAGAIN (Resource<br>
temporarily unavailable)<br>
<br>
piping the strace output to a file I try to find what QGIS was doing<br>
when that starts:<br>
<a href="http://pastebin.com/dE06wib3" rel="noreferrer" target="_blank">http://pastebin.com/dE06wib3</a><br>
<br>
Look like it is GTk+ related...<br>
<br>
If I select another Style: /Options/General/Style all is ok! Plastique,<br>
Cleanlooks, Windows: no problem<br>
<br>
So only the GTK+ theme (which I think is default on Linux?) is affected.<br>
<br>
So maybe it is a GTK+ problem (on Debian Testing)?<br>
<br>
Regards,<br>
<br>
Richard<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
On 09-09-16 16:24, Richard Duivenvoorde wrote:<br>
> On 09-09-16 16:11, Amedeo Fadini wrote:<br>
>> hi everybody,<br>
>><br>
>> I'm not subscribed the dev list, so I try posting here.<br>
>> Maybe is a know issue and will be fixed tonight.<br>
>> Just updated qgis from debian-nightly<br>
>><br>
>> <a href="http://qgis.org/debian-nightly" rel="noreferrer" target="_blank">http://qgis.org/debian-nightly</a><br>
>><br>
>><br>
>> when I try to add raster it freezes trying to open the add raster dialog...<br>
>><br>
>> The console output says<br>
>><br>
>> src/gui/qgisgui.cpp: 38: (openFilesRememberingFilter) [6691ms] Opening<br>
>> file dialog with filters: All files (*);....<br>
><br>
> [moving to dev list]<br>
><br>
> Mmm, confirmed here: running a fresh compile of this morning (Debian<br>
> Jessie)...<br>
> Only when opening the Raster dialog<br>
> Running in gdb:<br>
><br>
> src/gui/qgisgui.cpp: 38: (openFilesRememberingFilter) [1607ms] Opening<br>
> file dialog with filters: All files (*);;GDAL/OGR VSIFileHandler (*.zip<br>
> *.gz *.tar *.tar.gz *.tgz *.ZIP *.GZ *.TAR *.TAR.GZ *.TGZ);;ACE2 (*.ace2<br>
> *.ACE2);;ARC Digitized Raster Graphics (*.gen *.GEN);;ASCII Gridded XYZ<br>
> (*.xyz *.XYZ);;Arc/Info ASCII Grid (*.asc *.ASC);;Arc/Info Binary Grid<br>
> (hdr.adf HDR.ADF);;Arc/Info Export E00 GRID (*.e00 *.E00);;DRDC COASP<br>
> SAR Processor Raster (*.hdr *.HDR);;DTED Elevation Raster (*.dt0 *.dt1<br>
> *.dt2 *.DT0 *.DT1 *.DT2);;ECRG TOC format (*.xml *.XML);;ESRI .hdr<br>
> Labelled (*.bil *.BIL);;EUMETSAT Archive native (*.nat *.NAT);;Envisat<br>
> Image Format (*.n1 *.N1);;Erdas Imagine Images (*.img *.IMG);;FARSITE<br>
> v.4 Landscape File (*.lcp *.LCP);;GMT NetCDF Grid Format (*.nc<br>
> *.NC);;GRIdded Binary (*.grb *.GRB);;GeoPackage (*.gpkg<br>
> *.GPKG);;GeoSoft Grid Exchange Format (*.gxf *.GXF);;GeoTIFF (*.tif<br>
> *.tiff *.TIF *.TIFF);;Geospatial PDF (*.pdf *.PDF);;Golden Software 7<br>
> Binary Grid (*.grd *.GRD);;Golden Software ASCII Grid (*.grd<br>
> *.GRD);;Golden Software Binary Grid (*.grd *.GRD);;Graphics Interchange<br>
> Format (*.gif *.GIF);;Graphics Interchange Format (*.gif<br>
> *.GIF);;Ground-based SAR Applications Testbed File Format (*.gff<br>
> *.GFF);;HF2/HFZ heightfield raster (*.hf2 *.HF2);;Hierarchical Data<br>
> Format Release 4 (*.hdf *.HDF);;Hierarchical Data Format Release 5<br>
> (*.hdf5 *.HDF5);;ILWIS Raster Map (*.mpr *.mpl *.MPR *.MPL);;IRIS data<br>
> (*.ppi *.PPI);;Idrisi Raster A.1 (*.rst *.RST);;JPEG JFIF (*.jpg *.jpeg<br>
> *.JPG *.JPEG);;JPEG-2000 driver based on OpenJPEG library (*.jp2 *.j2k<br>
> *.JP2 *.J2K);;Japanese DEM (*.mem *.MEM);;KOLOR Raw (*.kro<br>
> *.KRO);;Leveller heightfield (*.ter *.TER);;MBTiles (*.mbtiles<br>
> *.MBTILES);;MS Windows Device Independent Bitmap (*.bmp *.BMP);;Magellan<br>
> topo (*.blx *.BLX);;NOAA NGS Geoid Height Grids (*.bin *.BIN);;NOAA<br>
> Vertical Datum .GTX (*.gtx *.GTX);;NTv2 Datum Grid Shift (*.gsb<br>
> *.GSB);;National Imagery Transmission Format (*.ntf *.NTF);;Network<br>
> Common Data Format (*.nc *.NC);;Northwood Classified Grid Format<br>
> .grc/.tab (*.grc *.GRC);;Northwood Numeric Grid Format .grd/.tab (*.grd<br>
> *.GRD);;PCIDSK Database File (*.pix *.PIX);;PCRaster Raster File (*.map<br>
> *.MAP);;Portable Network Graphics (*.png *.PNG);;Portable Pixmap Format<br>
> (*.pnm *.PNM);;R Object Data Store (*.rda *.RDA);;Raster Matrix Format<br>
> (*.rsw *.RSW);;Raster Product Format TOC format (*.toc<br>
> *.TOC);;Rasterlite (*.sqlite *.SQLITE);;SAGA GIS Binary Grid (*.sdat<br>
> *.SDAT);;SDTS Raster (*.ddf *.DDF);;SGI Image File Format 1.0 (*.rgb<br>
> *.RGB);;SRTMHGT File Format (*.hgt *.HGT);;Snow Data Assimilation System<br>
> (*.hdr *.HDR);;Standard Raster Product (*.img *.IMG);;Swedish Grid RIK<br>
> (*.rik *.RIK);;Terragen heightfield (*.ter *.TER);;USGS Optional ASCII<br>
> DEM (*.dem *.DEM);;VTP .bt (Binary Terrain) 1.3 Format (*.bt<br>
> *.BT);;Vexcel MFF Raster (*.hdr *.HDR);;Virtual Raster (*.vrt *.ovr<br>
> *.VRT *.OVR);;WEBP (*.webp *.WEBP);;X11 PixMap Format (*.xpm<br>
> *.XPM);;ZMap Plus Grid (*.dat *.DAT)<br>
> [New Thread 0x7fff2bfff700 (LWP 8139)]<br>
> [New Thread 0x7fff2b7fe700 (LWP 8140)]<br>
> [New Thread 0x7fff2affd700 (LWP 8141)]<br>
> src/core/qgsbrowsermodel.cpp: 418: (itemStateChanged) [145ms] item<br>
> pg:/richard@localhost.gis state changed 1 -> 2<br>
> src/gui/qgsmapcanvas.cpp: 704: (refreshMap) [2ms] CANVAS refresh!<br>
> src/core/qgsscalecalculator.<wbr>cpp: 40: (setMapUnits) [1ms] Map units set to 2<br>
> src/core/<wbr>qgsmaprendererparalleljob.cpp: 87: (start) [0ms] QThreadPool<br>
> max thread count is 2<br>
> src/core/layertree/<wbr>qgslayertreemodel.cpp: 1471:<br>
> (invalidateLegendMapBasedData) [2ms] Entering.<br>
> src/core/layertree/<wbr>qgslayertreemodel.cpp: 1471:<br>
> (invalidateLegendMapBasedData) [0ms] Leaving.<br>
> src/core/<wbr>qgsmaprendererparalleljob.cpp: 201: (renderLayersFinished)<br>
> [12ms] PARALLEL layers finished<br>
> src/core/<wbr>qgsmaprenderercustompainterjob<wbr>.cpp: 292: (drawLabeling) [1ms]<br>
> [thread:0xac213d0] Draw labeling start<br>
> src/core/<wbr>qgsmaprenderercustompainterjob<wbr>.cpp: 320: (drawLabeling) [0ms]<br>
> [thread:0xac213d0] Draw labeling took (seconds): 0<br>
> src/core/<wbr>qgsmaprendererparalleljob.cpp: 221: (renderingFinished) [25ms]<br>
> PARALLEL finished<br>
> src/gui/qgsmapcanvas.cpp: 751: (rendererJobFinished) [0ms] CANVAS finish! 1<br>
> [New Thread 0x7fff2a188700 (LWP 8142)]<br>
> [Thread 0x7fff2a188700 (LWP 8142) exited]<br>
> [Thread 0x7fff2affd700 (LWP 8141) exited]<br>
> [Thread 0x7fff2b7fe700 (LWP 8140) exited]<br>
> [Thread 0x7fff2bfff700 (LWP 8139) exited]<br>
> [Thread 0x7fff43fff700 (LWP 8104) exited]<br>
> [Thread 0x7fff3ac79700 (LWP 8114) exited]<br>
> [Thread 0x7fff48ede700 (LWP 8113) exited]<br>
> [New Thread 0x7fff48ede700 (LWP 8144)]<br>
> [New Thread 0x7fff3ac79700 (LWP 8145)]<br>
> [Thread 0x7fff48ede700 (LWP 8144) exited]<br>
> [Thread 0x7fff3ac79700 (LWP 8145) exited]<br>
> [New Thread 0x7fff3ac79700 (LWP 8168)]<br>
><br>
> looks like it is stuck in opening new threads?<br>
><br>
> Regards,<br>
><br>
> Richard<br>
><br>
> ______________________________<wbr>_________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
><br>
<br>
______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></div></div></blockquote></div><br></div>