[GRASS5] [bug #2746] (grass) nowadays tight loop while waiting for mouse input

Request Tracker grass-bugs at intevation.de
Wed Dec 1 00:43:25 EST 2004


this bug's URL: http://intevation.de/rt/webrt?serial_num=2746
-------------------------------------------------------------------------

Nowadays when programs are waiting for mouse input, they go into tight
loops, as seen with strace here on d.where:
write(4, "\0\0\0\0", 4)                 = 4
read(5, "@\1\0\0", 4)                   = 4
read(5, "\357\0\0\0", 4)                = 4
read(5, "\0\0\0\0", 4)                  = 4
$ strace v.what.vect ...
read(9, "\0\0\0\0", 4)                  = 4
write(8, "\0\0\0\0", 4)                 = 4
read(9, "@\1\0\0", 4)                   = 4
v.digit too.
While the program is waiting for the user to do something, the CPU
meter stays pegged at 100%. Debian grass 5.7.0-4


--- Headers Follow ---

>From jidanni at jidanni.org  Wed Dec  1 06:43:25 2004
Return-Path: <jidanni at jidanni.org>
Delivered-To: grass-bugs at lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
	by lists.intevation.de (Postfix) with ESMTP id B0E8E102BDB
	for <grass-bugs at lists.intevation.de>; Wed,  1 Dec 2004 06:43:25 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by mail.intevation.de (Postfix) with ESMTP id 47E9E3711B
	for <grass-bugs at lists.intevation.de>; Wed,  1 Dec 2004 06:43:25 +0100 (CET)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
	by mail.intevation.de (Postfix) with ESMTP id 0368A36DE2
	for <grass-bugs at intevation.de>; Wed,  1 Dec 2004 06:43:22 +0100 (CET)
Received: from tc210-203-44-199.3-16.dynamic.ebtnet.net ([210.203.44.199]:33201 helo=jidanni1)
	by frodo.hserus.net with esmtpsa 
	(Cipher TLSv1:RC4-SHA:128) (Exim 4.43 #0)
	id 1CZNGY-000CoD-9A by authid <jidanni> with plain
	for <grass-bugs at intevation.de>; Wed, 01 Dec 2004 11:13:22 +0530
To: grass-bugs at intevation.de
Subject: nowadays tight loop while waiting for mouse input
From: Dan Jacobson <jidanni at jidanni.org>
Date: Wed, 01 Dec 2004 12:26:11 +0800
Message-ID: <87k6s2wsnw.fsf at jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level: 

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list