Details Ticket 3740


Comment | Reply | Take | Open


Serial Number 3740
Subject g.setproj Segmentation fault when trying to create custom geodetic datum
Area grass6
Queue grass
Requestors Lucas.Benedicic@mobitel.si
Owner none
Status resolved
Last User Contact Wed Oct 26 16:02:26 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Oct 26 16:02:26 2005 (3 yr ago)
Created Fri Oct 14 13:08:52 2005 (3 yr ago)

Transaction History Ticket 3740


Fri, Oct 14 2005 13:08:52    Request created by guest  
Subject: g.setproj Segmentation fault when trying to create custom geodetic datum
Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.0.1

I'm trying to generate a new projection for an already existing location.
There is NO projection information at the moment in the location, so the name
of the location is (null).
When using g.setproj, I choose to create custom geodetic datum and just after
entering the false northing, a Segmentation fault arises.
The bug appears always and has been tested with the Gentoo 2005 and SUSE 9.3
distributions.
The workaround is to generate any NOT CUSTOM projection information and then
to manually edit the PROJ_INFO file.
Sat, Oct 15 2005 21:35:41    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <43515A07.80205@stjohnspoint.co.uk>
Date Sat, 15 Oct 2005 20:35:35 +0100
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
User-Agent Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language en-us, en
MIME-Version 1.0
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #3740] (grass) g.setproj Segmentation fault when trying to create custom geodetic datum
References <20051014110852.1A6A9101FC5@lists.intevation.de>
In-Reply-To <20051014110852.1A6A9101FC5@lists.intevation.de>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
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=3740
> -------------------------------------------------------------------------
> 
> Subject: g.setproj Segmentation fault when trying to create custom geodetic
datum
> 
> Platform: GNU/Linux/i386
> grass obtained from: Mirror of Trento site
> grass binary for platform: Downloaded precompiled Binaries
> GRASS Version: 6.0.1
> 
> I'm trying to generate a new projection for an already existing location.
> There is NO projection information at the moment in the location, so the name
of the location is (null).
> When using g.setproj, I choose to create custom geodetic datum and just after
entering the false northing, a Segmentation fault arises.
> The bug appears always and has been tested with the Gentoo 2005 and SUSE 9.3
distributions.
> The workaround is to generate any NOT CUSTOM projection information and then
to manually edit the PROJ_INFO file.

Can you give some more information on what prompts you are getting and 
your responses. It may be nothing to do with a custom datum if the 
problem is at the false northing stage... that is when details of the 
projection are being entered. Perhaps you are using a projection that 
has buggy support from g.setproj. It doesn't support interactive 
entering of all projections in PROJ and is known to have bugs in some 
that it does support (lcc comes to mind). If you know the PROJ 
parameters you can manually edit the PROJ_INFO file after setting up to 
fix it and things will work just as well.

Paul


Mon, Oct 17 2005 15:27:35    Mail sent by Lucas.Benedicic@mobitel.si  
Return-Path <a class="moz-txt-link-rfc2396E" href="mailto:paul-grass@stjohnspoint.co.uk"><paul-grass@stjohnspoint.co.uk></a>
Delivered-To <a class="moz-txt-link-abbreviated" href="mailto:grass-bugs@lists.intevation.de">grass-bugs@lists.intevation.de</a>
Message-ID <a class="moz-txt-link-rfc2396E" href="mailto:43515A07.80205@stjohnspoint.co.uk"><43515A07.80205@stjohnspoint.co.uk></a>
Date Sat, 15 Oct 2005 20:35:35 +0100
From Paul Kelly <a class="moz-txt-link-rfc2396E" href="mailto:paul-grass@stjohnspoint.co.uk"><paul-grass@stjohnspoint.co.uk></a>
User-Agent Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language en-us, en
MIME-Version 1.0
To Request Tracker <a class="moz-txt-link-rfc2396E" href="mailto:grass-bugs@intevation.de"><grass-bugs@intevation.de></a>
Cc <a class="moz-txt-link-abbreviated" href="mailto:grass5@grass.itc.it">grass5@grass.itc.it</a>
Subject Re: [GRASS5] [bug #3740] (grass) g.setproj Segmentation fault when trying to create custom geodetic datum
References <a class="moz-txt-link-rfc2396E" href="mailto:20051014110852.1A6A9101FC5@lists.intevation.de"><20051014110852.1A6A9101FC5@lists.intevation.de></a>
In-Reply-To <a class="moz-txt-link-rfc2396E" href="mailto:20051014110852.1A6A9101FC5@lists.intevation.de"><20051014110852.1A6A9101FC5@lists.intevation.de></a>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level -------------------------------------------- Managed by Request Tracker </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; yes; uptime; umount; sleep
</pre>
</body>
Return-Path <Lucas.Benedicic@mobitel.si>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <4353A6BD.1070801@mobitel.si>
Date Mon, 17 Oct 2005 15:27:25 +0200
From =?ISO-8859-2?Q?Lucas_Benedi=E8i=E8?= <Lucas.Benedicic@mobitel.si>
Organization Mobitel d.d.
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language sl, en, es-ar
MIME-Version 1.0
To Paul Kelly via RT <grass-bugs@intevation.de>
Subject Re: [bug #3740] (grass) g.setproj Segmentation fault when
References <20051015193541.A2FAD102BCC@lists.intevation.de>
In-Reply-To <20051015193541.A2FAD102BCC@lists.intevation.de>
Content-Type text/html; charset=ISO-8859-2
Content-Transfer-Encoding 8bit
X-OriginalArrivalTime 17 Oct 2005 13:27:30.0934 (UTC) FILETIME=[86861160:01C5D31E]
X-Spam-Status No, hits=-4.4 tagged_above=-999.0 required=3.0 tests=BAYES_00, HTML_MESSAGE, HTML_TITLE_EMPTY, MIME_HTML_ONLY
X-Spam-Level
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Paul!<br>
<br>
We've been trying and trying during the weekend and we finally found
out what the problem was.<br>
After choosing the right ellipsoid for our projection the systems asks
the following:<br>
<br>
    Please specify datum transformation parameters in PROJ.4 syntax.
Examples:<br>
<br>
There, we enter a 7-parameter transformation. <br>
Then, other few extra parameters and the SEGFAULT shows up.<br>
Anyway, the point is that when setting the 7-parameter transformation
we were not writing "towgs84="<br>
in front of the numbers! So, the numbers separated by commas were there
and nothing else!<br>
Now it is working beautifully like all the other parts of the GRASS
system we investigated so far.<br>
<br>
On the other hand, it nicely hangs if the projection parameters are in
the wrong format.<br>
<br>
Thank you very much for your quick response!<br>
<br>
Luka<br>
<br>
<br>
Paul Kelly via RT wrote:
<blockquote cite="mid20051015193541.A2FAD102BCC@lists.intevation.de"
 type="cite">
  <pre wrap="">Request Tracker wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">this bug's URL: <a class="moz-txt-link-freetext" href="http://intevation.de/rt/webr
t?serial_num=3740">http://intevation.de/rt/webrt?serial_num=3740</a>
-------------------------------------------------------------------------

Subject: g.setproj Segmentation fault when trying to create custom geodetic datum
Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.0.1

I'm trying to generate a new projection for an already existing location.
There is NO projection information at the moment in the location, so the name
of the location is (null).
When using g.setproj, I choose to create custom geodetic datum and just after
entering the false northing, a Segmentation fault arises.
The bug appears always and has been tested with the Gentoo 2005 and SUSE 9.3
distributions.
The workaround is to generate any NOT CUSTOM projection information and then
to manually edit the PROJ_INFO file.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Can you give some more information on what prompts you are getting and 
your responses. It may be nothing to do with a custom datum if the 
problem is at the false northing stage... that is when details of the 
projection are being entered. Perhaps you are using a projection that 
has buggy support from g.setproj. It doesn't support interactive 
entering of all projections in PROJ and is known to have bugs in some 
that it does support (lcc comes to mind). If you know the PROJ 
parameters you can manually edit the PROJ_INFO file after setting up to 
fix it and things will work just as well.

Paul


Wed, Oct 26 2005 16:02:26    Status changed to resolved by pkelly  
Wed, Oct 26 2005 16:02:26    Mail sent by pkelly  
OK I added a check that the parameter string contains an = sign, so you 
shouldn't come across this again.

Paul
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