[GRASSLIST:10863] Re: Bus Error in g.remove
Michael Barton
michael.barton at asu.edu
Fri Mar 10 01:51:26 EST 2006
This turned out to be a problem in compiling the Mac OSX binary. It has
something to do with GDAL.
Michael
On 3/9/06 8:14 AM, "William Kyngesburye" <woklist at kyngchaos.com> wrote:
> Except that I reported this bug last August, and it happens with
> 6.0.1 and 6.1CVS. I haven't tried 6.0.2 yet.
>
>
> On Mar 9, 2006, at 1:33 AM, Hamish wrote:
>
>> Just a thought,
>>
>> in the past weeks some code was changed to replace system calls with
>> their C equivalents. Maybe this has something to do with it. I can't
>> connect to the CVS-web interface currently to check.
>>
>> Look for recent changes in:
>> http://freegis.org/cgi-bin/viewcvs.cgi/grass6/general/manage/
>>
>>
>> Hamish
>>
>>
>>
>> On Wed, 08 Mar 2006 21:04:54 -0600
>> Dave Kent <dkent at sasktel.net> wrote:
>>
>>> Thanks for the insight. I went back to the Nov 05 binaries and
>>> Janurary CVS version and things work. That will be fine for now. I
>>> guess learning how to build wouldn't be a bad thing.
>>>
>>> Thanks for your help.
>>>
>>> Dave
>>>
>>> On Mar 8, 2006, at 6:40 PM, William Kyngesburye wrote:
>>>
>>>> This is probably the same bug Michael Barton reported yesterday
>>>> (#4152) and I reported last August (#3585). Specifically, when
>>>> GRASS is built on OS 10.3 Panther (GCC 3.3), and GDAL has Postgres
>>>> support. It's probably happening for you in Tiger because Lorenzo
>>>> builds with Panther compatibility - either on Panther, or on Tiger
>>>> using the Panther SDK. A Tiger-only build (GCC 4) is unaffected.
>>>>
>>>> It's a strange bug - I can build GRASS with GDAL without Postgres
>>>> support, then update GDAL to include Postgres support and it still
>>>> works. It's only when GDAL has Postgres support *at the time GRASS
>>>>
>>>> is built*. I've tried various combinations of static and dynamic
>>>> Postgres libraries (and the exact same ones used for Postgres
>>>> support in GRASS) and other options in GDAL and GRASS and GRASS
>>>> with/without its own Postgres support.
>>>>
>>>> On Mar 8, 2006, at 6:14 PM, Dave Kent wrote:
>>>>
>>>>> I am using Grass 6.1CVS on Macintosh with the most recent
>>>>> Macintosh binaries.
>>>>>
>>>>> g.remove gives the following error.
>>>>>
>>>>> child killed: bus error
>>>>> child killed: bus error
>>>>> while executing
>>>>> "exec -- $cmd --tcltk"
>>>>> (procedure "execute" line 4)
>>>>> invoked from within
>>>>> "execute g.remove "
>>>>> (menu invoke)
>>>>>
>>>>> This started quite suddenly, possibly consistent with messing with
>>>>
>>>>> AWK post I had yesterday.
>>>>>
>>>>> I get the same error with g.copy, g.rename but not g.list
>>>>>
>>>>> I have reinstalled the binaries and the application.
>>>>>
>>>>> There was a not too similar message in the archives which relates
>>>>> to the environmental variable file being corrupted. I cannot find
>>>>> this file and haven't tried removing it.
>>
>
> -----
> William Kyngesburye <kyngchaos at kyngchaos.com>
> http://www.kyngchaos.com/
>
> Earth: "Mostly harmless"
>
> - revised entry in the HitchHiker's Guide to the Galaxy
___________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287
WWW - http://www.public.asu.edu/~cmbarton
Phone: 480-965-6262
Fax: 480-965-7671
More information about the grass-user
mailing list