[GRASS-dev] Re: [GRASS GIS] #1032: ErrorCommandExecution g.proj
GRASS GIS
trac at osgeo.org
Sat Apr 10 11:05:35 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:8 hamish]:
> ... and then type "bt full" at the (gdb) prompt after it breaks.
>
{{{
(gdb) bt full
#0 0xb7f8e424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb785a640 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb785c018 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3 0xb789734d in ?? () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#4 0x00000005 in ?? ()
No symbol table info available.
#5 0xbfffc6ac in ?? ()
No symbol table info available.
#6 0x00000400 in ?? ()
No symbol table info available.
#7 0xbfffc9a8 in ?? ()
No symbol table info available.
#8 0xb7f72780 in G__read_Cell_head (fd=0x2, cellhd=0xb796d648,
is_cellhd=-1073747515) at rd_cellhd.c:74
count = <value optimized out>
result = 0x400 <Address 0x400 out of bounds>
array = (char **) 0x77722030
buf = "-p b72c3000 00:00 0 \nb72c6000-b7309000 r-xp 00000000 03:03
1354592 /usr/lib/i686/cmov/libssl.so.0.9.8\nb7309000-b730d000 rw-p
00042000 03:03
}}}
> did you install from pre-packaged binaries or self-compile? which linux
distro/version? (smells like a recent ubuntu) If it's a binary install,
where did you get the binaries from?
>
I installed grass by self-compile!
My distro is Debian/lenny!
> AFAICT the only thing it could be is this in g.proj/main.c,
> {{{
> if (projinfo != NULL)
> G_free_key_value(projinfo);
> if (projunits != NULL)
> G_free_key_value(projunits);
> }}}
>
>
> but I'm not sure how that could happen as your debug message shows
region proj:0. If you built from source could you try to rebuild, running
"make distclean" before ./configure?
>
I rebuilt it but without success!
>
> Hamish
thanks
Salvatore
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1032#comment:9>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list