Details Ticket 3808


Comment | Reply | Take | Resolve


Serial Number 3808
Subject d.rast segmentation fault on GRASS6.1.cvs
Area grass6
Queue grass
Requestors rg-hydro@waterwatch.com
Owner none
Status open
Last User Contact Mon Mar 5 20:40:27 2007 (1 yr ago)
Current Priority 70
Final Priority 70
Due No date assigned
Last Action Mon Mar 5 20:40:27 2007 (1 yr ago)
Created Mon Nov 7 18:18:36 2005 (3 yr ago)

Transaction History Ticket 3808


Mon, Nov 7 2005 18:18:36    Request created by guest  
Subject: d.rast segmentation fault on GRASS6.1.cvs

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.1.cvs-i686-pc-linux-gnu-05_11_2005

Clicking "display active layers" from the GUI produces a blank monitor (it brings
one up when none exists), showing message "d.rast map-dem_ns -o 0%" in the "command"
section of the GUI. Calling d.rast from terminal (having called "d.mon start-x0"
first to bring up monitor) produces segmentation fault message (still blank monitor).
Calling "display active layers" from GUI with legend (i.e. d.legend) produces
blank x0 but proper legend in x1 for the subject raster file. Same raster files
plot perfectly in GRASS 6.0.1. Calling d.vect produces perfect results in GRASS
6.1.cvs (hey, thanks for adjustable pixel width for vectors - it's great!).
Running linux Fedora Core2 (no upgrades to kernel)
proj-4.4.9-1
gdal-1.2.1-1suse93
gdal-grass-1.3.0-2mdk10.1
geos-2.1.4-1suse93
(installed in that order, used rpm files from different distributions to satisfy
dependencies when installing ... it's easier that way than compiling).

Regards,
Rick
Mon, Nov 7 2005 22:58:32    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 07 Nov 2005 14:55:27 -0700
From Michael Barton <michael.barton@asu.edu>
Subject Re: [GRASS5] [bug #3808] (grass) d.rast segmentation fault on GRASS6.1.cvs
In-reply-to <20051107171836.C14E51006B9@lists.intevation.de>
To Paolo Cavallini via RT <grass-bugs@intevation.de>
Message-id <BF951B5F.1B8D9%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 #3808] (grass) d.rast segmentation fault on GRASS6.1.cvs
Thread-Index AcXj5fZZNMlswk/ZEdqIEwAKlZU4cA==
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
This sounds like 1) your region is not set to the raster map or 2) there is
something wrong with the raster map (although you say it displays OK in
6.0.1) or 3) there is something wrong with d.rast on your system (somewhat
older version of Fedora and gdal).

Here are some things to try

Try to set the region to match the raster map.
Try displaying a different raster map.
Try reinstalling d.rast.

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: Request Tracker <grass-bugs@intevation.de>
> Reply-To: Request Tracker <grass-bugs@intevation.de>
> Date: Mon,  7 Nov 2005 18:18:36 +0100 (CET)
> To: <grass5@grass.itc.it>
> Subject: [GRASS5] [bug #3808] (grass) d.rast segmentation fault on
> GRASS6.1.cvs
> 
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3808
> -------------------------------------------------------------------------
> 
> Subject: d.rast segmentation fault on GRASS6.1.cvs
> 
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Downloaded precompiled Binaries
> GRASS Version: 6.1.cvs-i686-pc-linux-gnu-05_11_2005
> 
> Clicking "display active layers" from the GUI produces a blank monitor (it
> brings one up when none exists), showing message "d.rast map-dem_ns -o 0%"
in
> the "command" section of the GUI. Calling d.rast from terminal (having called
> "d.mon start-x0" first to bring up monitor) produces segmentation fault
> message (still blank monitor). Calling "display active layers" from GUI with
> legend (i.e. d.legend) produces blank x0 but proper legend in x1 for the
> subject raster file. Same raster files plot perfectly in GRASS 6.0.1. Calling
> d.vect produces perfect results in GRASS 6.1.cvs (hey, thanks for adjustable
> pixel width for vectors - it's great!).
> 
> Running linux Fedora Core2 (no upgrades to kernel)
> proj-4.4.9-1
> gdal-1.2.1-1suse93
> gdal-grass-1.3.0-2mdk10.1
> geos-2.1.4-1suse93
> (installed in that order, used rpm files from different distributions to
> satisfy dependencies when installing ... it's easier that way than compiling).
> 
> Regards,
> Rick
> 
> -------------------------------------------- Managed by Request Tracker
> 


Tue, Nov 8 2005 16:32:11    Mail sent by rg-hydro@waterwatch.com  
Return-Path <rg-hydro@waterwatch.com>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 08 Nov 2005 15:32:03 +0000
From rg-hydro@waterwatch.com
Reply-To rg-hydro@waterwatch.com
Subject Re: [bug #3808] (grass) d.rast segmentation fault on
To Michael Barton via RT <grass-bugs@intevation.de>
References <20051107215832.5D399101FC1@lists.intevation.de>
In-Reply-To <20051107215832.5D399101FC1@lists.intevation.de> (from grass-bugs@intevation.de on Mon Nov 7 17:58:32 2005)
X-Mailer Balsa 2.2.6
Message-Id <1131463923l.3003l.0l@rick3.ewc>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed
Content-Disposition inline
Content-Transfer-Encoding quoted-printable
X-Spam-Status No, hits=-4.7 tagged_above=-999.0 required=3.0 tests=BAYES_00, NO_REAL_NAME
X-Spam-Level
Hi Michael,

I have set the region to match the raster map, plus tried to display =20
different raster maps. Still same problem.

I noticed that the d.rast binaries for 6.1 and 6.0.1 are different =20
sizes, but as a test all the same I renamed d.rast in GRASS-6.1 (to d.=20
rast.notuse) and copied d.rast from GRASS-6.0.1 . . . still same =20
problem. Then I copied d.rast from GRASS-6.1 over to GRASS-6.0.1 and it =20
works fine there. So d.rast for GRASS-6.1 appears to work correctly (in =20
the "GRASS-6.0.1 envelope", in any case).

I have gdal-1.3.1, the most recent version, installed.

I can't see it being a broken TclTk call to d.rast, as d.rast from =20
command line on the terminal gives segmentation fault - so it must be =20
d.rast?? But it works fine in GRASS-6.0.1???

As a further test, I tried d.rast.leg from the terminal. No raster map, =20
but the legend came up fine. When trying to print same to a .png file =20
(ref. the print vs. png issue), ps.print issues application error =20
messate "Error: child killed: segmentation violation" and the terminal =20
shows that ps.paint is trying to read the raster file, but apparently =20
cannot, with following error log:

--snip--
child killed: segmentation violation
child killed: segmentation violation
    while executing
"exec ps.map input=3D/home/rick/data/grassdata/ns-nad83-utm-25m/keltic/.=20
tmp/rick3.ewc/3709.0 output=3D/home/rick/data/grassdata/ns-nad83-utm-25m/=20
keltic/.tm..."
    ("eval" body line 1)
    invoked from within
"eval "exec $cmd >@stdout 2>@stdout""
    (procedure "Dm::execute" line 12)
    invoked from within
"Dm::execute $cmd"
    (procedure "DmPrint::print" line 24)
    invoked from within
"DmPrint::print "print" "
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 $cmd"
    (procedure "Button::_release" line 18)
    invoked from within
"Button::_release .printwin.left.buttons.print"
    (command bound to event)
--snip--

In GRASS-6.0.1, ps.print produces .png file (even if monitor has been =20
erased first and is blank).

Nviz also will not run in GRASS-6.1 . . . shuts down when trying to =20
read raster map. The problem seems to be the reading of the raster map. =20
The raster file format hasn't changed from 6.0.1 to 6.1, has it?


Regards,
Rick


On 07/11/05 05:58:32 PM, Michael Barton via RT wrote:
> This sounds like 1) your region is not set to the raster map or 2)
> there is
> something wrong with the raster map (although you say it displays OK
> in
> 6.0.1) or 3) there is something wrong with d.rast on your system
> (somewhat
> older version of Fedora and gdal).
>=20
> Here are some things to try
>=20
> Try to set the region to match the raster map.
> Try displaying a different raster map.
> Try reinstalling d.rast.
>=20
> Michael
> ______________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution and Social Change
> Arizona State University
> Tempe, AZ  85287-2402
> USA
>=20
> voice: 480-965-6262; fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
>=20
>=20
> > From: Request Tracker <grass-bugs@intevation.de>
> > Reply-To: Request Tracker <grass-bugs@intevation.de>
> > Date: Mon,  7 Nov 2005 18:18:36 +0100 (CET)
> > To: <grass5@grass.itc.it>
> > Subject: [GRASS5] [bug #3808] (grass) d.rast segmentation fault on
> > GRASS6.1.cvs
> >
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=3D3808
> > =20
> -------------------------------------------------------------------------
> >
> > Subject: d.rast segmentation fault on GRASS6.1.cvs
> >
> > Platform: GNU/Linux/i386
> > grass obtained from: Trento Italy site
> > grass binary for platform: Downloaded precompiled Binaries
> > GRASS Version: 6.1.cvs-i686-pc-linux-gnu-05_11_2005
> >
> > Clicking "display active layers" from the GUI produces a blank
> monitor (it
> > brings one up when none exists), showing message "d.rast map-dem_ns
> -o 0%" in
> > the "command" section of the GUI. Calling d.rast from terminal
> (having called
> > "d.mon start-x0" first to bring up monitor) produces segmentation
> fault
> > message (still blank monitor). Calling "display active layers" from
> GUI with
> > legend (i.e. d.legend) produces blank x0 but proper legend in x1 =20
> for
> the
> > subject raster file. Same raster files plot perfectly in GRASS
> 6.0.1. Calling
> > d.vect produces perfect results in GRASS 6.1.cvs (hey, thanks for
> adjustable
> > pixel width for vectors - it's great!).
> >
> > Running linux Fedora Core2 (no upgrades to kernel)
> > proj-4.4.9-1
> > gdal-1.2.1-1suse93
> > gdal-grass-1.3.0-2mdk10.1
> > geos-2.1.4-1suse93
> > (installed in that order, used rpm files from different
> distributions to
> > satisfy dependencies when installing ... it's easier that way than
> compiling).
> >
> > Regards,
> > Rick
> >
> > -------------------------------------------- Managed by Request
> Tracker
> >
>=20
>=20
> --- Headers Follow ---
>=20
> >From Michael.Barton@asu.edu  Mon Nov  7 22:58:32 2005
> 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 27B0C101FB9
> 	for <grass-bugs@lists.intevation.de>; Mon,  7 Nov 2005
> 22:58:32 +0100 (CET)
> Received: from localhost (localhost [127.0.0.1])
> 	by mail.intevation.de (Postfix) with ESMTP id D3DDC36FC4
> 	for <grass-bugs@lists.intevation.de>; Mon,  7 Nov 2005
> 22:58:31 +0100 (CET)
> Received: from post5.inre.asu.edu (post5.inre.asu.edu
> [129.219.110.120])
> 	by mail.intevation.de (Postfix) with ESMTP id 40B7936CE4
> 	for <grass-bugs@intevation.de>; Mon,  7 Nov 2005 22:58:29
> +0100 (CET)
> Received: from conversion.post5.inre.asu.edu by asu.edu (PMDF V6.1-=20
> 1X6
> #30769)
>  id <0IPL00501U8FSS@asu.edu> for grass-bugs@intevation.de; Mon,
>  07 Nov 2005 14:55:27 -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
> <0IPL00488U8FXJ@asu.edu> for
>  grass-bugs@intevation.de; Mon, 07 Nov 2005 14:55:27 -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.231]) with Microsoft Exchange Server HTTP-DAV ; Mon,
>  07 Nov 2005 14:55:28 -0700
> Date: Mon, 07 Nov 2005 14:55:27 -0700
> From: Michael Barton <michael.barton@asu.edu>
> Subject: Re: [GRASS5] [bug #3808] (grass) d.rast segmentation fault =20
> on
>  GRASS6.1.cvs
> In-reply-to: <20051107171836.C14E51006B9@lists.intevation.de>
> To: Paolo Cavallini via RT <grass-bugs@intevation.de>
> Message-id: <BF951B5F.1B8D9%michael.barton@asu.edu>
> MIME-version: 1.0
> Content-type: text/plain; charset=3DUS-ASCII
> Content-transfer-encoding: 7bit
> User-Agent: Microsoft-Entourage/11.2.1.051004
> Thread-Topic: [GRASS5] [bug #3808] (grass) d.rast segmentation fault
> on
>  GRASS6.1.cvs
> Thread-Index: AcXj5fZZNMlswk/ZEdqIEwAKlZU4cA=3D=3D
> X-Spam-Status: No, hits=3D-4.9 tagged_above=3D-999.0 required=3D3.0
> tests=3DBAYES_00
> X-Spam-Level:
>=20
> -------------------------------------------- Managed by Request
> Tracker
>=20
>=20
>=20


Tue, Nov 8 2005 23:26:53    Mail sent by guest  
Michael,

I thought I might add also, in case it helps to track the cause of the
problem, that in GRASS-6.0.1, I am able to do "query map" with raster map
selected but not displayed in the monitor. If a raster map is not selected,
then the query window does not open at all. In GRASS-6.1, although the raster
map does not show up on the monitor, the query window opens (so as far as that
commant is concerned, the raster map has been properly selected), however, the
query window   shuts down on the first click on the monitor. Same when I run
d.what.rast - the command just stops running (command GUI stays open). So this
happens with more than just d.rast. It's as if access to the raster file is
broken (missing pipe)?? Hope this helps?

Regards,
Rick
Tue, Dec 20 2005 01:36:00    Mail sent by guest  
Hi all,

May be it is of some help: I experienced the same problem with the CVS version
of 17_12_2005, ubuntu 5.10 installed. As for Rick, the raster displays well in
6.0.1,

Regards
Luca

Mon, Mar 5 2007 20:40:27    Mail sent by msieczka  
I can't reproduce any of the issues reported in GRASS 6.3 CVS nor 6.2. Can you
confirm? Thanks.

Maciek
Comment | Reply | Take | Resolve

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