Details Ticket 4111


Comment | Reply | Take | Open


Serial Number 4111
Subject d.m crashes
Area wish6
Queue grass
Requestors kwythers@umn.edu
Owner none
Status resolved
Last User Contact Thu Feb 23 08:43:45 2006 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Mar 6 22:37:14 2006 (2 yr ago)
Created Wed Feb 22 16:08:52 2006 (3 yr ago)

Transaction History Ticket 4111


Wed, Feb 22 2006 16:08:52    Request created by guest  
Subject: d.m crashes

Platform: Mac OSX
grass binary for platform: Compiled from Sources
GRASS Version: 6.1.cvs checked out 02222006

Kirk Wythers. I noticed that d.m crashes now upon startup. The error message
is:

GRASS 6.1.cvs (minnesota_utm):~ > d.m
GRASS 6.1.cvs (minnesota_utm):~ > Error in startup script: child process exited
abnormally
    while executing
"close $input"
    (procedure "Dm::create" line 38)
    invoked from within
"Dm::create"
    (procedure "main" line 33)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.1.cvs/etc/dm/d.m.tcl" line 1629)
Wed, Feb 22 2006 18:54:47    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17404.42335.601162.773997@cerise.gclements.plus.com>
Date Wed, 22 Feb 2006 17:54:39 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it, Michael Barton <michael.barton@asu.edu>
Subject Re: [GRASS5] [bug #4111] (grass) d.m crashes
In-Reply-To <20060222150852.6E6801005D6@lists.intevation.de>
References <20060222150852.6E6801005D6@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=4111
> -------------------------------------------------------------------------
> 
> Subject: d.m crashes
> 
> Platform: Mac OSX
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.1.cvs checked out 02222006
> 
> Kirk Wythers. I noticed that d.m crashes now upon startup. The error message
is:
> 
> GRASS 6.1.cvs (minnesota_utm):~ > d.m
> GRASS 6.1.cvs (minnesota_utm):~ > Error in startup script: child process exited
abnormally
>     while executing
> "close $input"
>     (procedure "Dm::create" line 38)
>     invoked from within
> "Dm::create"
>     (procedure "main" line 33)
>     invoked from within
> "main $argc $argv"
>     (file "/usr/local/grass-6.1.cvs/etc/dm/d.m.tcl" line 1629)

The "close $input" should be within the catch, as $input won't be
valid if the open command fails.

While glancing at the code, I also noticed the following in both
Dm::displmon and Dm::monitor:

    return
	close $input

The close needs to come before the return.

-- 
Glynn Clements <glynn@gclements.plus.com>


Thu, Feb 23 2006 01:14:50    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 22 Feb 2006 17:14:04 -0700
From Michael Barton <michael.barton@asu.edu>
Subject Re: [GRASS5] [bug #4111] (grass) d.m crashes
In-reply-to <17404.42335.601162.773997@cerise.gclements.plus.com>
To Glynn Clements <glynn@gclements.plus.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Message-id <C0224C5C.1EB13%michael.barton@asu.edu>
MIME-version 1.0
Content-type text/plain; charset=US-ASCII
Content-transfer-encoding 7bit
User-Agent Microsoft-Entourage/11.2.1.051004
Thread-Topic [GRASS5] [bug #4111] (grass) d.m crashes
Thread-Index AcY4Dg3eTGwFFqQBEdqhOwAUUSYxwg==
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
I've done this now. So hopefully it is finally solved. Thanks for the
advice.

Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


> From: Glynn Clements <glynn@gclements.plus.com>
> Date: Wed, 22 Feb 2006 17:54:39 +0000
> To: Request Tracker <grass-bugs@intevation.de>
> Cc: <grass5@grass.itc.it>, Michael Barton <michael.barton@asu.edu>
> Subject: Re: [GRASS5] [bug #4111] (grass) d.m crashes
> 
> 
> Request Tracker wrote:
> 
>> this bug's URL: http://intevation.de/rt/webrt?serial_num=4111
>> -------------------------------------------------------------------------
>> 
>> Subject: d.m crashes
>> 
>> Platform: Mac OSX
>> grass binary for platform: Compiled from Sources
>> GRASS Version: 6.1.cvs checked out 02222006
>> 
>> Kirk Wythers. I noticed that d.m crashes now upon startup. The error message
>> is:
>> 
>> GRASS 6.1.cvs (minnesota_utm):~ > d.m
>> GRASS 6.1.cvs (minnesota_utm):~ > Error in startup script: child process
>> exited abnormally
>>     while executing
>> "close $input"
>>     (procedure "Dm::create" line 38)
>>     invoked from within
>> "Dm::create"
>>     (procedure "main" line 33)
>>     invoked from within
>> "main $argc $argv"
>>     (file "/usr/local/grass-6.1.cvs/etc/dm/d.m.tcl" line 1629)
> 
> The "close $input" should be within the catch, as $input won't be
> valid if the open command fails.
> 
> While glancing at the code, I also noticed the following in both
> Dm::displmon and Dm::monitor:
> 
>     return
> close $input
> 
> The close needs to come before the return.
> 
> -- 
> Glynn Clements <glynn@gclements.plus.com>


Thu, Feb 23 2006 08:43:45    Mail sent by msieczka  
Kirk,

Can I close the bug now? CC me when replying: werchowyna at epf dot pl.

Maciek
Thu, Feb 23 2006 15:59:56    Mail sent by kwythers@umn.edu  
Return-Path <kwythers@umn.edu>
Delivered-To grass-bugs@lists.intevation.de
X-Umn-Remote-Mta [N] truffula.fr.umn.edu [128.101.74.69] #+LO+TS+AU+HN
In-Reply-To <C022A586.96B1%michael.barton@asu.edu>
References <C022A586.96B1%michael.barton@asu.edu>
Mime-Version 1.0 (Apple Message framework v746.2)
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <D3C7C7CC-4BF6-4D56-841F-DEB4ED8D6347@umn.edu>
Cc Maciek via RT Sieczka <grass-bugs@intevation.de>
Content-Transfer-Encoding 7bit
From "Kirk R. Wythers" <kwythers@umn.edu>
Subject Re: [bug #4111] (grass) d.m crashes
Date Thu, 23 Feb 2006 08:59:46 -0600
To Michael Barton <michael.barton@asu.edu>
X-Mailer Apple Mail (2.746.2)
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Feb 23, 2006, at 12:34 AM, Michael Barton wrote:

> Kirk,
>
> I introduced a bug in the placement of one of these close commands (in
> mapcanvas.tcl) in the cvs. I might be able to get to it tomorrow  
> morning,
> but should have it fixed by the end of tomorrow at the latest.

That is very odd. I did a cvs update last night, then a make  
distclean, and ./configure and make, and the problem was gone when I  
got to office this morning. Did I see something from Glenn, that he  
made a change to cvs?

If so, are you changes different? If they are I'll cvs up again  
tonight. Thanks for your efforts.

Maciek, I think you can close this bug report.

BTW Michael, about your note table edit functions in gis.m. I too  
would love to see such a feature. One of the reasons I went to  
postgresql for attribute management was to be able to edit tables  
(both in a spreadsheet style interface, and with more heavy duty php  
scripts). I have noticed that if your attribute tables are kept in  
postgresql you can even edit tables with the "table" button in qgis.

Kirk


>
> Michael
> __________________________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution and Social Change
> Arizona State University
> Tempe, AZ 85287-2402
>
> phone: 480-965-6213
> fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
>
>
>
>> From: "Kirk R. Wythers" <kwythers@umn.edu>
>> Date: Wed, 22 Feb 2006 19:16:29 -0600
>> To: Michael Barton <michael.barton@asu.edu>
>> Subject: Re: [bug #4111] (grass) d.m crashes
>>
>> Thanks Michael. I'll re-run cvs tomorrow when I'm back in my office.
>>
>> Kirk
>>
>>
>>
>> On Feb 22, 2006, at 6:14 PM, Michael Barton via RT wrote:
>>
>>> I've done this now. So hopefully it is finally solved. Thanks for  
>>> the
>>> advice.
>>>
>>> Michael
>>> ______________________________
>>> Michael Barton, Professor of Anthropology
>>> School of Human Evolution and Social Change
>>> Arizona State University
>>> Tempe, AZ  85287-2402
>>> USA
>>>
>>> voice: 480-965-6262; fax: 480-965-7671
>>> www: http://www.public.asu.edu/~cmbarton
>>>
>>>
>>>> From: Glynn Clements <glynn@gclements.plus.com>
>>>> Date: Wed, 22 Feb 2006 17:54:39 +0000
>>>> To: Request Tracker <grass-bugs@intevation.de>
>>>> Cc: <grass5@grass.itc.it>, Michael Barton <michael.barton@asu.edu>
>>>> Subject: Re: [GRASS5] [bug #4111] (grass) d.m crashes
>>>>
>>>>
>>>> Request Tracker wrote:
>>>>
>>>>> this bug's URL: http://intevation.de/rt/webrt?serial_num=4111
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> -----
>>>>>
>>>>> Subject: d.m crashes
>>>>>
>>>>> Platform: Mac OSX
>>>>> grass binary for platform: Compiled from Sources
>>>>> GRASS Version: 6.1.cvs checked out 02222006
>>>>>
>>>>> Kirk Wythers. I noticed that d.m crashes now upon startup. The
>>>>> error message
>>>>> is:
>>>>>
>>>>> GRASS 6.1.cvs (minnesota_utm):~ > d.m
>>>>> GRASS 6.1.cvs (minnesota_utm):~ > Error in startup script: child
>>>>> process
>>>>> exited abnormally
>>>>>     while executing
>>>>> "close $input"
>>>>>     (procedure "Dm::create" line 38)
>>>>>     invoked from within
>>>>> "Dm::create"
>>>>>     (procedure "main" line 33)
>>>>>     invoked from within
>>>>> "main $argc $argv"
>>>>>     (file "/usr/local/grass-6.1.cvs/etc/dm/d.m.tcl" line 1629)
>>>>
>>>> The "close $input" should be within the catch, as $input won't be
>>>> valid if the open command fails.
>>>>
>>>> While glancing at the code, I also noticed the following in both
>>>> Dm::displmon and Dm::monitor:
>>>>
>>>>     return
>>>> close $input
>>>>
>>>> The close needs to come before the return.
>>>>
>>>> -- 
>>>> Glynn Clements <glynn@gclements.plus.com>
>>>
>>>
>>> --- Headers Follow ---
>>>
>>>> From Michael.Barton@asu.edu  Thu Feb 23 01:14:50 2006
>>> Return-Path: <Michael.Barton@asu.edu>
>>> Delivered-To: grass-bugs@lists.intevation.de
>>> Received: from mail.intevation.de (aktaia [212.95.126.10])
>>> by lists.intevation.de (Postfix) with ESMTP id A70411006AE
>>> for <grass-bugs@lists.intevation.de>; Thu, 23 Feb 2006 01:14:50
>>> +0100 (CET)
>>> Received: from localhost (localhost [127.0.0.1])
>>> by mail.intevation.de (Postfix) with ESMTP id 6427D36D7F
>>> for <grass-bugs@lists.intevation.de>; Thu, 23 Feb 2006 01:14:50
>>> +0100 (CET)
>>> Received: from post5.inre.asu.edu (post5.inre.asu.edu
>>> [129.219.110.120])
>>> by mail.intevation.de (Postfix) with ESMTP id 86D0436D66
>>> for <grass-bugs@intevation.de>; Thu, 23 Feb 2006 01:14:47 +0100  
>>> (CET)
>>> Received: from conversion.post5.inre.asu.edu by asu.edu (PMDF
>>> V6.1-1X6 #30769)
>>>  id <0IV400B015ZGHX@asu.edu> for grass-bugs@intevation.de; Wed,
>>>  22 Feb 2006 17:14:04 -0700 (MST)
>>> Received: from EX03.asurite.ad.asu.edu
>>>  (excl1-b0.asurite.ad.asu.edu [129.219.12.197])
>>>  by asu.edu (PMDF V6.1-1X6 #30769) with ESMTP id
>>> <0IV400AJX5ZFMN@asu.edu>; Wed,
>>>  22 Feb 2006 17:14:03 -0700 (MST)
>>> Received: from 129.219.95.24 ([129.219.95.24]) by
>>> EX03.asurite.ad.asu.edu
>>>  ([129.219.12.223]) via Exchange Front-End Server exchange.asu.edu
>>>  ([129.219.10.232]) with Microsoft Exchange Server HTTP-DAV ; Thu,
>>>  23 Feb 2006 00:14:04 +0000
>>> Date: Wed, 22 Feb 2006 17:14:04 -0700
>>> From: Michael Barton <michael.barton@asu.edu>
>>> Subject: Re: [GRASS5] [bug #4111] (grass) d.m crashes
>>> In-reply-to: <17404.42335.601162.773997@cerise.gclements.plus.com>
>>> To: Glynn Clements <glynn@gclements.plus.com>,
>>> Paolo Cavallini via RT <grass-bugs@intevation.de>
>>> Cc: grass5@grass.itc.it
>>> Message-id: <C0224C5C.1EB13%michael.barton@asu.edu>
>>> MIME-version: 1.0
>>> Content-type: text/plain; charset=US-ASCII
>>> Content-transfer-encoding: 7bit
>>> User-Agent: Microsoft-Entourage/11.2.1.051004
>>> Thread-Topic: [GRASS5] [bug #4111] (grass) d.m crashes
>>> Thread-Index: AcY4Dg3eTGwFFqQBEdqhOwAUUSYxwg==
>>> X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0
>>> tests=BAYES_00
>>> X-Spam-Level:
>>>
>>> -------------------------------------------- Managed by Request
>>> Tracker
>>
>


Mon, Mar 6 2006 22:37:14    Status changed to resolved by msieczka  
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