[GRASSLIST:8947] Re: freeze while digit

David Finlayson david.p.finlayson at gmail.com
Wed Nov 9 03:00:23 EST 2005


I haven't used Cygwin for a while so my info may be dated.

There are some routines in grass (d.zoom, d.where, etc) that pole the
mouse and wait for user input to the monitor. I found that many of
them overwhelmed Cygwin GRASS and froze the program. Sometimes if you
complete the action (right-click usually) and wait, GRASS returns from
the dead after a bit.

This occurs to a lesser extent on the Linux version of GRASS. But even
on linux, if you leave GRASS waiting for mouse input (say during a
zoom operation) it will consume 100% cpu until you complete the mouse
op.

I think that this has been discussed in the past, but most developers
are on Linux and may not be aware of how bad this behaves in Cygwin.
Some kind of multi-threading issue (or lack of multi-threading I
think).

David

On 11/8/05, Ralf Gerlich <ralf.gerlich at bsse.biz> wrote:
> Hello,
>
> Josip Vrlić wrote:
> > Hello!
> > I use Grass 6.1 with Cygwin (Windows xp) and while i'm in module
> > v.digit, open monitor is often be freeze. And after I exit end enter
> > again I lost everything I have been digitalize because I can't open
> > cretaed map for continue digit with this message:
> >
> > Cannot open old vector mk11GraniceKopna at PERMANENT
> > <mailto:mk11GraniceKopna at PERMANENT> on level 2
> >
> > Does anyone know how to resolve this problem?
>
> You need to run
>
> v.build map=mk11GraniceKopna
>
> in your PERMANENT mapset. On the general issue of v.digit freezing on
> Cygwin: Sorry, I can't help. I'm having this problem myself.
>
> Hope this helps,
> Ralf
>
>


--
David Finlayson
Marine Geology & Geophysics
School of Oceanography
Box 357940
University of Washington
Seattle, WA  98195-7940
USA

Office: Marine Sciences Building, Room 112
Phone: (206) 616-9407
Web: http://students.washington.edu/dfinlays




More information about the grass-user mailing list