[GRASS-user] Error launching GUI in latest verison of trunk

Hi,

I forget if these kind of errors should go to the dev list or the user’s list, it’s been so long since I’ve been on dev.

Anyway, I get the following error launching the GUI after updating my git repo to Feb. 7th:

Details: <free(): invalid pointer

Traceback (most recent call last):

File “/home/epatton/.grass7/addons/scripts/r.mblend”, line 281, in

gscript.use_temp_region()

File “/usr/local/grass79/etc/python/grass/script/core.py”, line 1285, in use_temp_region

run_command(“g.region”, flags=“u”, save=name, overwrite=True)

File “/usr/local/grass79/etc/python/grass/script/core.py”, line 501, in run_command

return handle_errors(returncode, result=None, args=args, kwargs=kwargs)

File “/usr/local/grass79/etc/python/grass/script/core.py”, line 393, in handle_errors

raise CalledModuleError(module=module, code=code,

grass.exceptions.CalledModuleError: Module run g.region g.region --o -u save=tmp.r.mblend.265507 ended with error

Process ended with non-zero return code -6. See errors in the (error) output.

This is Grass 7.9 on Linux Mint 20.1.

···

Eric Patton

Before looking more into this, have you tried make distclean?

Anna

On Sun, Feb 7, 2021 at 5:20 PM Eric Patton via grass-user <grass-user@lists.osgeo.org> wrote:

Hi,

I forget if these kind of errors should go to the dev list or the user’s list, it’s been so long since I’ve been on dev.

Anyway, I get the following error launching the GUI after updating my git repo to Feb. 7th:

Details: <free(): invalid pointer

Traceback (most recent call last):

File “/home/epatton/.grass7/addons/scripts/r.mblend”, line 281, in

gscript.use_temp_region()

File “/usr/local/grass79/etc/python/grass/script/core.py”, line 1285, in use_temp_region

run_command(“g.region”, flags=“u”, save=name, overwrite=True)

File “/usr/local/grass79/etc/python/grass/script/core.py”, line 501, in run_command

return handle_errors(returncode, result=None, args=args, kwargs=kwargs)

File “/usr/local/grass79/etc/python/grass/script/core.py”, line 393, in handle_errors

raise CalledModuleError(module=module, code=code,

grass.exceptions.CalledModuleError: Module run g.region g.region --o -u save=tmp.r.mblend.265507 ended with error

Process ended with non-zero return code -6. See errors in the (error) output.

This is Grass 7.9 on Linux Mint 20.1.

Eric Patton


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On 21/02/07 10:32PM, Anna Petrášová wrote:

Before looking more into this, have you tried make distclean?

Anna

Yes. It also persists with a fresh checkout of grass/master.

I forgot to mention that just before the GUI crashes, a dialog box pops up that
says "Enable to get the geographic extent. Force quitting wxGUI. Please run
g.region manually to fix the problem."

Runing g.region -p prints the following:

g.region -p
projection: 99 (unnamed)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: -383300
south: -918400
west: -951200
east: 764600
nsres: 100
ewres: 100
rows: 5351
cols: 17158
cells: 91812458
free(): invalid pointer
Aborted (core dumped)

$ g.version -er
GRASS 7.9.dev (2021)
libgis revision: 2021-02-08T04:01:23+00:00
libgis date: 2021-02-07T12:00:00-04:00
PROJ: 7.0.1
GDAL/OGR: 3.2.1
GEOS: 3.9.0
SQLite: 3.31.1

$ wx-config --version
3.04

--
Eric

Could you create an issue for that? Does this happen with other locations as well?

On Sun, Feb 7, 2021 at 11:29 PM Eric Patton <eric.r.patton@protonmail.com> wrote:

On 21/02/07 10:32PM, Anna Petrášová wrote:

Before looking more into this, have you tried make distclean?

Anna

Yes. It also persists with a fresh checkout of grass/master.

I forgot to mention that just before the GUI crashes, a dialog box pops up that
says “Enable to get the geographic extent. Force quitting wxGUI. Please run
g.region manually to fix the problem.”

Runing g.region -p prints the following:

g.region -p
projection: 99 (unnamed)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: -383300
south: -918400
west: -951200
east: 764600
nsres: 100
ewres: 100
rows: 5351
cols: 17158
cells: 91812458
free(): invalid pointer
Aborted (core dumped)

$ g.version -er
GRASS 7.9.dev (2021)
libgis revision: 2021-02-08T04:01:23+00:00
libgis date: 2021-02-07T12:00:00-04:00
PROJ: 7.0.1
GDAL/OGR: 3.2.1
GEOS: 3.9.0
SQLite: 3.31.1

$ wx-config --version
3.04


Eric

On 21/02/08 10:34AM, Anna Petrášová wrote:

Could you create an issue for that? Does this happen with other locations as
well?

Yes, it happens on all locations. Ticket created here:

https://github.com/OSGeo/grass/issues/1315

--
Eric