[GRASS-dev] [GRASS GIS] #2023: r.li.edgedensity

GRASS GIS trac at osgeo.org
Tue Jul 9 01:52:30 PDT 2013


#2023: r.li.edgedensity
------------------------------+---------------------------------------------
 Reporter:  matmar            |       Owner:  matmar             
     Type:  defect            |      Status:  assigned           
 Priority:  normal            |   Milestone:  6.4.3              
Component:  Raster            |     Version:  svn-releasebranch64
 Keywords:  r.li.edgedensity  |    Platform:  Linux              
      Cpu:  x86-64            |  
------------------------------+---------------------------------------------
Changes (by hamish):

 * cc: grass-dev@… (added)


Comment:

 MarkusN wrote:
 > To me it looks like a kind of integer overflow:

 Matteo, does it happen with a smaller region?

 toReceive.type is from the r.li.daemon, and is declared as "int" in the
 msg struct in ipc.h. But it should only be a #defined constant 1-5, so I
 would rather guess that the stack is being smashed.

 note in devbr6 (6.5svn) it respects the WORKERS=1 environment variable for
 easier debugging. there should be control for that in trunk too, but the
 multi-processor part has been rewritten there so controlling the number of
 jobs is probably a bit different.


 Hamish

 ps- 'g.region -a res=0:00:10' might be nice to clean up the region
 settings

 pps- if you take ownership of a bug (ie declare responsibility for fixing
 it) please manually add the mailing list in the cc field so the discussion
 gets echoed there.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2023#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list