[GRASS5] current d.vect/symbol code and gcc 2.96
Benjamin Ducke
benducke at compuserve.de
Mon Dec 13 14:09:15 EST 2004
Markus,
don't waste your time on it. GCC 2.96 is a RedHat special.
It's a severly broken version of GCC with some last-minute
patches that was probably never meant for
productive used -- which did not stop RedHat from including
it in their distro.
Use versions 2.95.1 to 2.95.3 if you want to test an older
generation of GCC.
Cheers,
Benjamin
On Mon, 13 Dec 2004 13:48:56 +0100
Markus Neteler <neteler at itc.it> wrote:
> Hi,
>
> while the new d.vect with list support for symbols
> works fine in MacOSX and Redhat Enterprise 3, it
> still fails on RH7/gcc 2.96.
>
> It seems to crash in one of the G_realloc() lines.
>
> Is there anyone using gcc 2.96
>
> Here some debugging details:
>
> Breakpoint 3, icon_files () at main.c:73
> (gdb) cont
> D0/0: list basic/circle,basic/box,basic/cross1,basic/diamond,basic/x,basic/point,basic/airport,basic/arrow1,basic/arrow2,basic/compass,basic/cross2,basic/marker,basic/octagon,basic/star,
> D0/0: di->d_name: muchomurka
> D0/0: buf basic/target
> D0/0: ni: 10
>
> Breakpoint 3, icon_files () at main.c:73
> (gdb) cont
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x4052b1e6 in chunk_free (ar_ptr=0x405dccc0, p=0x8054638) at malloc.c:3242
> in malloc.c
> (gdb)
>
> It crashes when d->d_name is set to 'demo':
> buf = G_realloc(buf, strlen(d->d_name) + ni );
>
> No idea how to get this working.
>
> Markus
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
More information about the grass-dev
mailing list