[GRASS5] [bug #3585] (grass) bus error in general/manage modules

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

Request number 3585 was commented on by 'guest' (guest user).
Responding to this message will send mail to the requestor.
      
      Request Tracker
      rt@intevation.de

--------------------------------------------------------------
Cc: grass5@grass.itc.it

Rebuilding all dependencies from scratch didn't help.

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

It's Postgres. When I leave out Postgres support in GDAL, GRASS behaves. It doesn't matter whether I build Postgres support into GRASS or not, as long as it is in GDAL, parts of GRASS don't like GDAL (r.in.gdal works, btw).

I'm using Postgres 8.0.4 + PostGIS 1.0.4 right now, but at the time I noticed the problem it was Postgres 8.0.3 + PostGIS 1.0.3, and I think I was at Postgres 8.0.3 at a time when it did work, but PostGIS went thru a few versions (1.0.x). The only big change I see in there is adding readline support to Postgres and GRASS.

Any ideas anyone? This is a strang one.

Summary so far:

- Postgres 8.0.x + PostGIS 1.0.x (I've tried a few different combos of versions up to the recent 8.0.4+1.0.6)
- GDAL 1.3.1 (started in CVS just before the 1.3.0 release), with Postgres support
- GRASS 6.0.1 and 6.1CVS (up to 05-11-12) with GDAL support

all built with GCC 3.3 on Mac OS 10.3.8

In this combination, g.remove, g.rename and g.copy crash with a bus error, yet the gdal modules work.

It doesn't affect GCC 4.0 on Mac OS 10.4. This didn't used to happen with GDAL 1.2.6. Having Postgres support in GRASS or not doesn't affect

If I leave out Postgres support from GDAL, AND rebuild GRASS, g.remove, g.rename and g.copy work. Just rebuilding GDAL without Postgres doesn't help, GRASS must be rebuilt as well. AND, if I have GRASS working with GDAL w/o PG, then rebuild GDAL with PG, and NOT rebuild GRASS, GRASS still works.

So, GRASS is picking up something from GDAL at build time that is causing the problem, and it's somehow connected to Postgres.

HELP!

-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/

[Trillian] What are you supposed to do WITH a maniacally depressed robot?

[Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...

- HitchHiker's Guide to the Galaxy