[GRASS5] [bug #4349] (grass) Segfault in several display modules on x86_64

Glynn Clements glynn at gclements.plus.com
Thu Apr 27 12:24:19 EDT 2006


Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=4349
> -------------------------------------------------------------------------
> 
> Subject: Segfault in several display modules on x86_64 
> 
> Platform: GNU/Linux/x86_64
> grass binary for platform: Compiled from Sources
> GRASS Version: GRASS 6.1.cvs (2006) checkout 4/22/06
> 
> Segfault in several display modules (d.vect, d.zoom) on x86_64, Suse 9.2.  
> 
> uname -a:
> 
> Linux node0 2.6.5-7.244_lustre.1.4.6smp #1 SMP Sat Feb 18 17:33:39 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
> 
> For both d.vect and d.zoom SIGSEGV can be traced to G_whoami () at whoami.c:64.  Here is GDB stack trace:

> #2  0x0000002a95deb05b in db_version (driver=0x50c4b8,
>     client_version=0x50c4bc, driver_version=0x50c4c0) at c_version.c:20
> #3  0x0000002a97be6a01 in __db_e_attach () from /usr/lib64/tls/libdb-4.2.so

libdb is calling db_version, expecting to call its own function of
that name, but it's actually calling the one in libgrass_dbmiclient.

I'm not sure that there's any solution other than to rename the DBMI
functions to use a different prefix (one which isn't already used by a
common system library).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list