[GRASS-dev] d.mon segfaulting on debian/ubuntu custom/docker

Hi,

running

d.mon start=cairo
d.mon stop=cairo

will lead to Segmentation fault.

same for

d.mon start=wx0
or

d.mon start=png

I'm using GRASS 7.8.2, official packages from Ubuntu 20.04, nothing fancy.

When tried docker image

docker run --rm -ti -v $(pwd):/data/ -v $(pwd)/grassdata:/grassdata
mundialis/grass-py3-pdal:stable-ubuntu

it was segfaulting too! so was debian

when trying -alpine , no problem (or did not seem to be)

Any hint, what could be the reason?

Jachym

--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp

Il mar 4 mag 2021, 20:30 Jachym Cepicky <jachym.cepicky@gmail.com> ha scritto:

Hi,

Hi Jackym

running

d.mon start=cairo
d.mon stop=cairo

will lead to Segmentation fault.

same for

d.mon start=wx0
or

d.mon start=png

I’m using GRASS 7.8.2, official packages from Ubuntu 20.04, nothing fancy.

When tried docker image

docker run --rm -ti -v $(pwd):/data/ -v $(pwd)/grassdata:/grassdata
mundialis/grass-py3-pdal:stable-ubuntu

it was segfaulting too! so was debian

when trying -alpine , no problem (or did not seem to be)

Any hint, what could be the reason?

No idea, just a silly question…
Did you try rendering any maps?
With cairo I usually set the output variable…

I’m using “d.mon start=cairo out=/path/to/file” daily and I have no problem.

Jachym

Ciao
Luca

Hi,

On Tue, May 4, 2021 at 8:30 PM Jachym Cepicky <jachym.cepicky@gmail.com> wrote:

Hi,

running

d.mon start=cairo
d.mon stop=cairo

will lead to Segmentation fault.

I have tried that

docker run -it --rm docker.io/library/ubuntu
apt-get update
apt-get install grass

grass -c epsg:25832 grassdata/gb

Welcome to GRASS GIS 7.8.2

GRASS 7.8.2 (gb):\w > d.mon start=cairo
Output file: /root/map.png
GRASS 7.8.2 (gb):\w > d.mon start=cairo
ERROR: option <output>: <map.png> exists. To overwrite, use the --overwrite
       flag
GRASS 7.8.2 (gb):\w > d.mon start=cairo --o
WARNING: File <map.png> already exists and will be overwritten
Output file: /root/map.png
GRASS 7.8.2 (gb):\w > d.mon stop=cairo
GRASS 7.8.2 (gb):\w >

Works all fine...

Markus