grass 7.0 g.region segmentation fault

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

grass 7.0 g.region segmentation fault

Mohammed Rashad
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..

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: grass 7.0 g.region segmentation fault

Markus Neteler
On Tue, Mar 3, 2009 at 7:31 PM, Mohammed Rashad <[hidden email]> 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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: grass 7.0 g.region segmentation fault

Mohammed Rashad
 
> 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


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)
    libgrass_dbmibase.so => /usr/local/grass-7.0.svn/lib/libgrass_dbmibase.so (0xb7ef6000)
    libgrass_gis.so => /usr/local/grass-7.0.svn/lib/libgrass_gis.so (0xb7ea8000)
    libgrass_datetime.so => /usr/local/grass-7.0.svn/lib/libgrass_datetime.so (0xb7e9f000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb7e77000)
    libgrass_dbmiclient.so => /usr/local/grass-7.0.svn/lib/libgrass_dbmiclient.so (0xb7e6d000)
    libgrass_dgl.so => /usr/local/grass-7.0.svn/lib/libgrass_dgl.so (0xb7e55000)
    libgrass_dig2.so => /usr/local/grass-7.0.svn/lib/libgrass_dig2.so (0xb7e40000)
    libgrass_rtree.so => /usr/local/grass-7.0.svn/lib/libgrass_rtree.so (0xb7e39000)
    libgrass_linkm.so => /usr/local/grass-7.0.svn/lib/libgrass_linkm.so (0xb7e36000)
    libgdal1.5.0.so.1 => /usr/lib/libgdal1.5.0.so.1 (0xb78c2000)
    libgrass_g3d.so => /usr/local/grass-7.0.svn/lib/libgrass_g3d.so (0xb78a4000)
    libgrass_gproj.so => /usr/local/grass-7.0.svn/lib/libgrass_gproj.so (0xb789a000)
    libproj.so.0 => /usr/lib/libproj.so.0 (0xb7868000)
    libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7842000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb76e4000)
    libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb76e0000)
    libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0xb76cf000)
    libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb765f000)
    libodbc.so.1 => /usr/lib/libodbc.so.1 (0xb75f8000)
    libodbcinst.so.1 => /usr/lib/libodbcinst.so.1 (0xb75eb000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb75c4000)
    libxerces-c.so.28 => /usr/lib/libxerces-c.so.28 (0xb720a000)
    libjasper.so.1 => /usr/lib/libjasper.so.1 (0xb71bb000)
    libhdf5-1.6.6.so.0 => /usr/lib/libhdf5-1.6.6.so.0 (0xb7089000)
    libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0xb7064000)
    libdf.so.4 => /usr/lib/libdf.so.4 (0xb6fbd000)
    libogdi.so.3.2 => /usr/lib/libogdi.so.3.2 (0xb6f9f000)
    libgif.so.4 => /usr/lib/libgif.so.4 (0xb6f97000)
    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6f76000)
    libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb6f21000)
    libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6efb000)
    libnetcdf.so.4 => /usr/lib/libnetcdf.so.4 (0xb6eca000)
    libpq.so.5 => /usr/lib/libpq.so.5 (0xb6ea9000)
    libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6e90000)
    librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb6e86000)
    libcurl-gnutls.so.4 => /usr/lib/libcurl-gnutls.so.4 (0xb6e4b000)
    libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0xb6c68000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6b79000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6b6a000)
    /lib/ld-linux.so.2 (0xb7f44000)
    libgeos-3.0.0.so => /usr/lib/libgeos-3.0.0.so (0xb6a3f000)
    libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb6a36000)
    libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0xb690e000)
    libicudata.so.38 => /usr/lib/libicudata.so.38 (0xb5e37000)
    libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb5df1000)
    libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb5ca5000)
    libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb5c13000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0xb5c0f000)
    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb5be5000)
    libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb5bb3000)
    libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb5b70000)
    libidn.so.11 => /usr/lib/libidn.so.11 (0xb5b3e000)
    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb5b1a000)
    libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb5a7d000)
    libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb5a6b000)
    libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb5a02000)
    libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb59e8000)
    libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb59df000)
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb59db000)
    libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb59c7000)
    liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb59b9000)
    libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb59a0000)
    libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xb599c000)
GRASS 7.0.svn (loc11):~ >


_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: grass 7.0 g.region segmentation fault

Markus Neteler
On Wed, Mar 4, 2009 at 3:51 PM, Mohammed Rashad <[hidden email]> 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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev