[GRASS-dev] grass 7.0 g.region segmentation fault

Markus Neteler neteler at osgeo.org
Wed Mar 4 17:15:53 EST 2009


On Wed, Mar 4, 2009 at 3:51 PM, Mohammed Rashad <rashadkm at gmail.com> wrote:
>
>>
>> > grass70
>> > with new wxgui i selected location wizard on the startup screen
>> >
>> > 1. select coordinate system
>> > 2. choose projection --- ll(lat/long)
>> > 3. select ellipsoid ---- everst56
>> > 4. Summary
>> >
>> > after the location wizard when i click finish
>> > a message window appears with
>> > `Do you want to set the default region extents and resolution now?`
>> > if yes button was clicked..
>> >
>> > another message window displays
>> > `Error invlaid region`
>> > and a window appears
>> >
>> >
>> >
>> > when grass is restarted with new loacation created error apperas with
>> > title        : Error in g.region execution
>> > message : Unable to get current geographic extent. Force quiting wxGUI.
>> > Please run manually g.region to fix the problem
>> >
>> > when run g.region at command line
>> > as g.region -p
>> > error appers as
>> > segmentation fault
>> >
>> > But no problem reports for other types such as xy location,
>> > georeferenced
>> > files etc..
>>
>> - when did you download GRASS? there have been modifications recently
>>  in this part
>> - which operating system are you using?
>> - if Linux, what does
>>   ldd `which g.region`
>>  say?
>>
>> Markus
>
> I had downloaded grass from svn on February 10 and i am using ubuntu 8.10

Two things
- please update from svn with
  svn up
- consider to update GDAL on ubuntu 8.10 which was causing troubles
  https://bugs.launchpad.net/ubuntu/+source/gdal/+bug/271670
 "libgdal1-1.5.0_1.5.2 couse Segmentation fault in any in depend
  app like mapserver qgis"

(so also GRASS):

> GRASS 7.0.svn (loc11):~ > ldd `which g.region`
>     linux-gate.so.1 =>  (0xb7f5e000)
>     libgrass_vect.so => /usr/local/grass-7.0.svn/lib/libgrass_vect.so
> (0xb7f06000)
...
>     libgdal1.5.0.so.1 => /usr/lib/libgdal1.5.0.so.1 (0xb78c2000)

Markus


More information about the grass-dev mailing list