[GRASS-dev] [grass-code I][355] A lot of <defunct> processes around while working

Michael Barton michael.barton at asu.edu
Wed Apr 4 09:56:58 EDT 2007


This is because of the need to run g.region -gp and read the results back,
in order to get current region information.

Michael


On 4/3/07 7:38 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> 
> grass-codei at wald.intevation.org wrote:
> 
>> code I item #355, was opened at 2007-04-03 22:15
>> Status: Open
>> Priority: 3
>> Submitted By: Francesco Lovergine (frankie)
>> Assigned to: Nobody (None)
>> Summary: A lot of <defunct> processes around while working
>> Issue type: module bug
>> Issue status: None
>> GRASS version: 6.2.1
>> GRASS component: gis.m
>> Operating system: Linux
>> Operating system version: Debian sid
>> GRASS CVS checkout date, if applies (YYMMDD):
>> 
>> 
>> Initial Comment:
>> 
>> While using georectifier a lot of pending defuncts appear for
>> g.region. It seems (?) parent does not loop on wait() while managing
>> SIGCHLD process as it should. All processes are closed when gm.tcl is
>> terminated.
>> 
>> 
>> frankie   5484     1  2 16:49 pts/11   00:00:32 wish
>> /usr/lib/grass/etc/gm/gm.tcl -name gm_tcl
>> frankie   5525  5484  0 16:49 pts/11   00:00:00 [g.region] <defunct>
>> frankie   5527  5484  0 16:50 pts/11   00:00:00 [g.region] <defunct>
>> frankie   5529  5484  0 16:50 pts/11   00:00:00 [g.region] <defunct>
> 
> [snip]
> 
> AFAICT, this is due to MapCanvas::set_wind; it should be using "exec"
> rather than "open |...".

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-dev mailing list