Details Ticket 751


Comment | Reply | Take | Open


Serial Number 751
Subject Automatic select of monitor
Area bug
Queue grass
Requestors jhickey@hpcc.nectec.or.th
Owner none
Status resolved
Last User Contact Never contacted
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Jun 11 09:24:04 2001 (7 yr ago)
Created Fri Jun 8 12:04:53 2001 (7 yr ago)

Transaction History Ticket 751


Fri, Jun 8 2001 12:04:53    Request created by guest  
Subject: Automatic select of monitor

Platform: SGI/Irix
Xwindows version: IRIX
Xwindows manager: IRIX
TclTk version: tcl/tk 8.3
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: cc

When using tcltkgrass with a saved configuration, a monitor opens automatically.
However, occaisionaly, it is not selected and I have to select it manually. Perhaps
the wait for socket connection is not long enough.
Mon, Jun 11 2001 09:22:12    Mail sent by jhickey@hpcc.nectec.or.th  
Return-Path <jhickey@hpcc.nectec.or.th>
Delivered-To grass-bugs@mailman.intevation.de
Sender jhickey@impact1.hpcc.nectec.or.th
Message-ID <3B247190.9D8F1D6B@hpcc.nectec.or.th>
Date Mon, 11 Jun 2001 14:21:52 +0700
From Justin Hickey <jhickey@hpcc.nectec.or.th>
Organization HPCC, NECTEC
X-Mailer Mozilla 4.76C-SGI [en] (X11; I; IRIX 6.5 IP22)
X-Accept-Language en
MIME-Version 1.0
To Grass Bugs <grass-bugs@intevation.de>
Cc grass5@geog.uni-hannover.de
Subject Re: [bug #751] (grass) Automatic select of monitor
References <20010608100453.35EE9139F6@mailman.intevation.de> <15136.57389.955674.829408@cerise.nosuchdomain.co.uk>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Hi Glynn

Glynn Clements wrote:
> 
> Request Tracker wrote:
> 
> > When using tcltkgrass with a saved configuration, a monitor opens
> > automatically. However, occaisionaly, it is not selected and I have 
> > to select it manually. Perhaps the wait for socket connection is
> > not long enough.
> 
> I don't know if this is related or not, but looking into this made me
> realise that one of my planned changes was never implemented.
> 
> I've now changed the driver startup so that it doesn't fork() until
> after listen() is called (in fact, immediately before the main loop).
> This should completely eliminate any possibility of race conditions;
> the socket will be in the LISTEN state before mon.start exits.

OK, I've updated my sources and tried running tcltkgrass about 10 times
and I haven't seen the problem yet. Perhaps your change fixed this
problem.

Thanks for the fix. I'll mark this resolved on RT.

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do.  ---Anonymous

Jazz and Trek Rule!!!
==================================================================


Mon, Jun 11 2001 09:24:04    Status changed to resolved by jhickey  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request