[GRASS-dev] Crash in g.proj on Ubuntu

Asim asimrp at lavabit.com
Wed Apr 24 09:54:06 PDT 2024


Hi

I'm running grass 8.3.1 on Ubuntu 22.04.3 in text mode ("grass --text 
...").  g.proj is crashing on my system.  Even a simple"g.proj --help" 
crashes after printing the command line options on console.

Core was generated by `g.proj -g'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f1eeb6a53fe in __GI___libc_free (mem=0x55c6c77e5bdd) at 
./malloc/malloc.c:3368
3368    ./malloc/malloc.c: No such file or directory.
(gdb) bt
#0  0x00007f1eeb6a53fe in __GI___libc_free (mem=0x55c6c77e5bdd) at 
./malloc/malloc.c:3368
#1  0x00007f1ee76a7cb3 in 
osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() () from 
/lib/x86_64-linux-gnu/libproj.so.22
#2  0x00007f1eeb645a56 in __cxa_finalize (d=0x7f1ee7964000) at 
./stdlib/cxa_finalize.c:83
#3  0x00007f1ee76a7737 in ?? () from /lib/x86_64-linux-gnu/libproj.so.22
#4  0x00007ffd20ceda90 in ?? ()
#5  0x00007f1eed52524e in _dl_fini () at ./elf/dl-fini.c:142
Backtrace stopped: frame did not save the PC
(gdb)

It is likely that this is a local environment problem and not a bug in 
g.proj.  I've installed grass using standard Ubuntu package manager. The 
steps to reproduce are:

$ sudo apt install grass
$ grass -c EPSG:32643 --text $PWD/grassdata/PERMANENT
$ g.proj -g # crashes after printing the output

Can someone help me get back on my feet please?

Asim




More information about the grass-dev mailing list