[Qgis-developer] [Qgis-user] Qgis nightly - stuck in loading "Add raster" dialog

Mathieu Pellerin nirvn.asia at gmail.com
Fri Sep 16 21:47:31 PDT 2016


Richard.

This commit,
https://github.com/qgis/QGIS/commit/59583e97deef732f6884a54b518fc34225fd6012
, fixed a 9-day-old regression which had QGIS constantly use CPU.

Math


On Sun, Sep 11, 2016 at 8:39 PM, Richard Duivenvoorde <rdmailings at duif.net>
wrote:

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


More information about the Qgis-developer mailing list