[GRASS-dev] Re: [GRASS GIS] #1032: ErrorCommandExecution g.proj

GRASS GIS trac at osgeo.org
Sat Apr 10 09:47:19 EDT 2010


#1032: ErrorCommandExecution g.proj
----------------------+-----------------------------------------------------
  Reporter:  sallar   |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  blocker  |   Milestone:  6.4.0                    
 Component:  default  |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  g.proj                   
  Platform:  Linux    |         Cpu:  x86-32                   
----------------------+-----------------------------------------------------
Comment (by sallar):

 Replying to [comment:3 hamish]:
 > could you run with DEBUG level set to 5?
 >  g.gisenv set="DEBUG=5"

 ok, I set the debug level to 5! then....

 > could you post a gdb backtrace?
 >  http://grass.osgeo.org/wiki/Bugs#Using_GDB
 >
 ......

 {{{
 GRASS 6.4.0RC6 (PIT):~ > gdb g.gui
 GNU gdb 6.8-debian
 Copyright (C) 2008 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i486-linux-gnu"...
 (gdb) run
 Starting program: /usr/local/grass-6.4.0RC6/bin/g.gui
 D1/5: Attempting to start 'wxpython' GUI ...
 Error: Reading settings from file </home/sam/.grasswx6> failed.
        Details: need more than 1 value to unpack
        Line: 'profile:raster2:pstyle:solid:pwidth:1:pcolor:(0, 255, 0,
 255)'
 Error: Reading settings from file </home/sam/.grasswx6> failed.
        Details: need more than 1 value to unpack
        Line: 'profile:raster2:pstyle:solid:pwidth:1:pcolor:(0, 255, 0,
 255)'
 *** glibc detected *** g.proj: double free or corruption (fasttop):
 0x0804e510 ***
 ======= Backtrace: =========
 /lib/i686/cmov/libc.so.6[0xb784a624]
 /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb784c826]
 /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb74c82e1]
 /usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0xb74a4b2d]
 /usr/lib/libstdc++.so.6(_ZNSsD1Ev+0x51)[0xb74a6501]
 /lib/i686/cmov/libc.so.6(__cxa_finalize+0xc1)[0xb780ae51]
 /usr/lib/libgeos-3.1.0.so[0xb731cdc4]
 /usr/lib/libgeos-3.1.0.so[0xb73c5cd0]
 /lib/ld-linux.so.2[0xb7f4a453]
 /lib/i686/cmov/libc.so.6(exit+0x89)[0xb780aab9]
 g.proj(main+0x3d2)[0x804a7d2]
 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb77f2455]
 g.proj[0x8049a21]
 ======= Memory map: ========
 08048000-0804c000 r-xp 00000000 03:03 1164337
 /usr/local/grass-6.4.0RC6/bin/g.proj
 0804c000-0804d000 rw-p 00004000 03:03 1164337
 /usr/local/grass-6.4.0RC6/bin/g.proj
 0804d000-0806e000 rw-p 0804d000 00:00 0          [heap]
 b6d00000-b6d21000 rw-p b6d00000 00:00 0
 b6d21000-b6e00000 ---p b6d21000 00:00 0
 b6e4b000-b6e4e000 rw-p b6e4b000 00:00 0
 b6e4e000-b6eb4000 r-xp 00000000 03:03 819183
 /usr/lib/libgcrypt.so.11.4.4
 b6eb4000-b6eb6000 rw-p 00066000 03:03 819183
 /usr/lib/libgcrypt.so.11.4.4
 b6eb6000-b6eb9000 r-xp 00000000 03:03 818510     /usr/lib/libgpg-
 error.so.0.3.0
 b6eb9000-b6eba000 rw-p 00002000 03:03 818510     /usr/lib/libgpg-
 error.so.0.3.0
 b6eba000-b6ec9000 r-xp 00000000 03:03 818452
 /usr/lib/libtasn1.so.3.0.15
 b6ec9000-b6eca000 rw-p 0000e000 03:03 818452
 /usr/lib/libtasn1.so.3.0.15
 b6eca000-b6f61000 r-xp 00000000 03:03 818764
 /usr/lib/libgnutls.so.26.4.6
 b6f61000-b6f67000 rw-p 00097000 03:03 818764
 /usr/lib/libgnutls.so.26.4.6
 b6f67000-b6f68000 rw-p b6f67000 00:00 0
 b6f68000-b6f7e000 r-xp 00000000 03:03 817192
 /usr/lib/libsasl2.so.2.0.22
 b6f7e000-b6f7f000 rw-p 00015000 03:03 817192
 /usr/lib/libsasl2.so.2.0.22
 b6f7f000-b6f8b000 r-xp 00000000 03:03 817395
 /usr/lib/liblber-2.4.so.2.1.0
 b6f8b000-b6f8c000 rw-p 0000c000 03:03 817395
 /usr/lib/liblber-2.4.so.2.1.0
 b6f8c000-b6f9c000 r-xp 00000000 03:03 51464
 /lib/i686/cmov/libresolv-2.7.so
 b6f9c000-b6f9e000 rw-p 0000f000 03:03 51464
 /lib/i686/cmov/libresolv-2.7.so
 b6f9e000-b6fa0000 rw-p b6f9e000 00:00 0
 b6fa0000-b6fa2000 r-xp 00000000 03:03 32806      /lib/libkeyutils-1.2.so
 b6fa2000-b6fa3000 rw-p 00001000 03:03 32806      /lib/libkeyutils-1.2.so
 b6fa3000-b6faa000 r-xp 00000000 03:03 277767
 /usr/lib/libkrb5support.so.0.1
 b6faa000-b6fab000 rw-p 00006000 03:03 277767
 /usr/lib/libkrb5support.so.0.1
 b6fab000-b6fac000 rw-p b6fab000 00:00 0
 b6fac000-b6fcf000 r-xp 00000000 03:03 277757
 /usr/lib/libk5crypto.so.3.1
 b6fcf000-b6fd0000 rw-p 00023000 03:03 277757
 /usr/lib/libk5crypto.so.3.1
 b6fd0000-b6fe5000 r-xp 00000000 03:03 51453
 /lib/i686/cmov/libpthread-2.7.so
 b6fe5000-b6fe7000 rw-p 00014000 03:03 51453
 /lib/i686/cmov/libpthread-2.7.so
 b6fe7000-b6fe9000 rw-p b6fe7000 00:00 0
 b6fe9000-b7029000 r-xp 00000000 03:03 817426
 /usr/lib/libldap_r-2.4.so.2.1.0
 b7029000-b702b000 rw-p 0003f000 03:03 817426
 /usr/lib/libldap_r-2.4.so.2.1.0
 b702b000-b702c000 rw-p b702b000 00:00 0
 b702c000-b7035000 r-xp 00000000 03:03 50035
 /lib/i686/cmov/libcrypt-2.7.so
 b7035000-b7037000 rw-p 00008000 03:03 50035
 /lib/i686/cmov/libcrypt-2.7.so
 b7037000-b705e000 rw-p b7037000 00:00 0
 b705e000-b7087000 r-xp 00000000 03:03 277751
 /usr/lib/libgssapi_krb5.so.2.2
 b7087000-b7088000 rw-p 00028000 03:03 277751
 /usr/lib/libgssapi_krb5.so.2.2
 b7088000-b7089000 rw-p b7088000 00:00 0
 b7089000-b708b000 r-xp 00000000 03:03 32652      /lib/libcom_err.so.2.1
 b708b000-b708c000 rw-p 00001000 03:03 32652      /lib/libcom_err.so.2.1
 b708c000-b711e000 r-xp 00000000 03:03 277766     /usr/lib/libkrb5.so.3.3
 b711e000-b7120000 rw-p 00092000 03:03 277766     /usr/lib/libkrb5.so.3.3
 b7120000-b725a000 r-xp 00000000 03:03 1354596
 /usr/lib/i686/cmov/libcrypto.so.0.9.8
 b725a000-b7270000 rw-p 0013a000 03:03 1354596
 /usr/lib/i686/cmov/libcrypto.so.0.9.8
 b7270000-b7273000 rw-p b7270000 00:00 0
 b7273000-b72b6000 r-xp 00000000 03:03 1354592
 /usr/lib/i686/cmov/libssl.so.0.9.8
 b72b6000-b72ba000 rw-p 00042000 03:03 1354592
 /usr/lib/i686/cmov/libssl.so.0.9.8
 b72ba000-b73fd000 r-xp 00000000 03:03 821737     /usr/lib/libgeos-3.1.0.so
 b73fd000-b7402000 rw-p 00143000 03:03 821737     /usr/lib/libgeos-3.1.0.so
 b7402000-b7403000 rw-p b7402000 00:00 0
 b7403000-b740f000 r-xp 00000000 03:03 32763      /lib/libgcc_s.so.1
 b740f000-b7410000 rw-p 0000b000 03:03 32763      /lib/libgcc_s.so.1
 b7410000-b74f3000 r-xp 00000000 03:03 821240
 /usr/lib/libstdc++.so.6.0.10
 b74f3000-b74f6000 r--p 000e2000 03:03 821240
 /usr/lib/libstdc++.so.6.0.10
 b74f6000-b74f8000 rw-p 000e5000 03:03 821240
 /usr/lib/libstdc++.so.6.0.10
 b74f8000-b74fe000 rw-p b74f8000 00:00 0
 b74fe000-b7505000 r-xp 00000000 03:03 51463
 /lib/i686/cmov/librt-2.7.so
 b7505000-b7507000 rw-p 00006000 03:03 51463
 /lib/i686/cmov/librt-2.7.so
 b7507000-b7525000 r-xp 00000000 03:03 817705     /usr/lib/libpq.so.5.1
 b7525000-b7526000 rw-p 0001e000 03:03 817705     /usr/lib/libpq.so.5.1
 b7526000-b7544000 r-xp 00000000 03:03 505926
 /usr/local/lib/libNCSUtil.so.0.0.0
 b7544000-b7546000 rw-p 0001d000 03:03 505926
 /usr/local/lib/libNCSUtil.so.0.0.0
 b7546000-b7548000 rw-p b7546000 00:00 0
 b7548000-b755b000 r-xp 00000000 03:03 505938
 /usr/local/lib/libNCSCnet.so.0.0.0
 b755b000-b755c000 rw-p 00013000 03:03 505938
 /usr/local/lib/libNCSCnet.so.0.0.0
 b755c000-b766f000 r-xp 00000000 03:03 505921
 /usr/local/lib/libNCSEcw.so.0.0.0
 b766f000-b7677000 rw-p 00112000 03:03 505921
 /usr/local/lib/libNCSEcw.so.0.0.0
 b7677000-b7684000 rw-p b7677000 00:00 0
 b7684000-b77be000 r-xp 00000000 03:03 277624     /usr/lib/libgeos-3.0.0.so
 b77be000-b77c3000 rw-p 00139000 03:03 277624     /usr/lib/libgeos-3.0.0.so
 b77c3000-b77d6000 r-xp 00000000 03:03 825564
 /usr/lib/libgeos_c.so.1.5.0
 b77d6000-b77d7000 rw-p 00012000 03:03 825564
 /usr/lib/libgeos_c.so.1.5.0
 b77d7000-b77d9000 r-xp 00000000 03:03 51457
 /lib/i686/cmov/libdl-2.7.so
 b77d9000-b77db000 rw-p 00001000 03:03 51457
 /lib/i686/cmov/libdl-2.7.so
 b77db000-b77dc000 rw-p b77db000 00:00 0
 b77dc000-b7931000 r-xp 00000000 03:03 51460
 /lib/i686/cmov/libc-2.7.so
 b7931000-b7932000 r--p 00155000 03:03 51460
 /lib/i686/cmov/libc-2.7.so
 b7932000-b7934000 rw-p 00156000 03:03 51460
 /lib/i686/cmov/libc-2.7.so
 b7934000-b7937000 rw-p b7934000 00:00 0
 b7937000-b795b000 r-xp 00000000 03:03 49893
 /lib/i686/cmov/libm-2.7.so
 b795b000-b795d000 rw-p 00023000 03:03 49893
 /lib/i686/cmov/libm-2.7.so
 b795d000-b7e21000 r-xp 00000000 03:03 832370
 /usr/local/lib/libgdal.so.1.12.2
 b7e21000-b7e76000 rw-p 004c4000 03:03 832370
 /usr/local/lib/libgdal.so.1.12.2
 b7e76000-b7e78000 rw-p b7e76000 00:00 0
 b7e78000-b7eab000 r-xp 00000000 03:03 825803     /usr/lib/libproj.so.0.6.6
 b7eab000-b7ead000 rw-p 00032000 03:03 825803     /usr/lib/libproj.so.0.6.6
 b7ead000-b7ec1000 r-xp 00000000 03:03 819787     /usr/lib/libz.so.1.2.3.3
 b7ec1000-b7ec2000 rw-p 00013000 03:03 819787     /usr/lib/libz.so.1.2.3.3
 b7edb000-b7edc000 rw-p b7edb000 00:00 0
 b7edc000-b7ee3000 r-xp 00000000 03:03 1390077
 /usr/local/grass-6.4.0RC6/lib/libgrass_datetime.6.4.0RC6.so
 b7ee3000-b7ee4000 rw-p 00006000 03:03 1390077
 /usr/local/grass-6.4.0RC6/lib/libgrass_datetime.6.4.0RC6.so
 b7ee4000-b7ee5000 rw-p b7ee4000 00:00 0
 b7ee5000-b7f2e000 r-xp 00000000 03:03 1390098
 /usr/local/grass-6.4.0RC6/lib/libgrass_gis.6.4.0RC6.so
 b7f2e000-b7f30000 rw-p 00048000 03:03 1390098
 /usr/local/grass-6.4.0RC6/lib/libgrass_gis.6.4.0RC6.so
 b7f30000-b7f31000 rw-p b7f30000 00:00 0
 b7f31000-b7f38000 r-xp 00000000 03:03 1390107
 /usr/local/grass-6.4.0RC6/lib/libgrass_gproj.6.4.0RC6.so
 b7f38000-b7f39000 rw-p 00007000 03:03 1390107
 /usr/local/grass-6.4.0RC6/lib/libgrass_gproj.6.4.0RC6.so
 b7f39000-b7f3b000 rw-p b7f39000 00:00 0
 b7f3b000-b7f3c000 r-xp b7f3b000 00:00 0          [vdso]
 b7f3c000-b7f56000 r-xp 00000000 03:03 34485      /lib/ld-2.7.so
 b7f56000-b7f58000 rw-p 0001a000 03:03 34485      /lib/ld-2.7.so
 bffeb000-c0000000 rw-p bffeb000 00:00 0          [stack]
 Traceback (most recent call last):
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1819, in
 <module>
     sys.exit(main())
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1812, in
 main
     app = GMApp(workspaceFile)
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1737, in
 __init__
     wx.App.__init__(self, False)
   File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
 line 7836, in __init__
     self._BootstrapApp()
   File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
 line 7433, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1755, in
 OnInit
     workspace = self.workspaceFile)
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 185, in
 __init__
     self.NewDisplay(show=False)
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1236, in
 NewDisplay
     auimgr=self._auimgr, showMapDisplay=show)
   File
 "/usr/local/grass-6.4.0RC6/etc/wxpython/gui_modules/wxgui_utils.py", line
 84, in __init__
     self.Map = render.Map()    # instance of render.Map to be associated
 with display
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/gui_modules/render.py",
 line 402, in __init__
     self.projinfo = self.ProjInfo()
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/gui_modules/render.py",
 line 765, in ProjInfo
     p = gcmd.Command(['g.proj', '-p'])
   File "/usr/local/grass-6.4.0RC6/etc/wxpython/gui_modules/gcmd.py", line
 369, in __init__
     _("Error: ") + self.GetError()))
 gui_modules.gcmd.CmdError

 }}}


 > Hamish

 I hope I have done everything correctly!

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1032#comment:5>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list