[GRASS-user] "double free or corruption" when calling e.g. g.version, g.list, g.region

Markus Neteler neteler at osgeo.org
Sat Jan 22 03:37:51 PST 2022


Hi Maximilian,

On Fri, Jan 21, 2022 at 12:03 PM Maximilian Stahlberg
<maximilian.stahlberg at tu-berlin.de> wrote:
>
> Hello,
>
> I'm using GRASS 7.8.6 on openSUSE Leap 15.2 and experience the
> following crashes:
>
> > Welcome to GRASS GIS 7.8.6
> > GRASS GIS homepage:                      https://grass.osgeo.org
> > This version running through:            Z Shell (/bin/zsh)
> >   [...]
> > GRASS 7.8.6 : ~ > g.version
> > GRASS 7.8.6 (2021)
> > *** Error in `g.version': double free or corruption (out): 0x000055866fc655b0 ***
> > [1]    9995 abort (core dumped)  g.version
> > GRASS 7.8.6 : ~ > g.list
> > Lists available GRASS data base files of the user-specified data type optionally using the search pattern.
> >   [...]
> > *** Error in `g.list': double free or corruption (out): 0x000055a24a9f75b0 ***
> > [1]    10000 abort (core dumped)  g.list
>
> Some other tools like g.gisenv work and GRASS used to work fully in the
> past (using, potentially, older versions of GRASS and SUSE).

The (only?) way is to use a debugger. This isn't too difficult, see

https://grasswiki.osgeo.org/wiki/GRASS_Debugging#Using_GDB

In any case, the error is quite unusual and may be caused by some
library conflict on your system.

...
> > *** Error in `g.version': double free or corruption (out): 0x00005588157c15b0 ***

You may start with `g.version -rge` and the debugger. I suppose that
all errors you see originate from the same problem.

Best,
Markus


More information about the grass-user mailing list