#985364 Aborted (core dumped) drawing a simple GRIB file

Package:
python3-magics++
Source:
magics-python
Description:
Python3 support for Magics++
Submitter:
Enrico Zini
Date:
2021-04-01 16:03:02 UTC
Severity:
important
#985364#5
Date:
2021-03-16 17:15:22 UTC
From:
To:
Hello,

thank you for maintaining Magics in Debian!

I'm attaching a test case which causes Magics to abort on current
bullseye:

$ python3 magics-crash.py
ecCodes assertion failed: `h' in ./src/grib_query.c:572
Aborted (core dumped)

grib_dump seems to open the GRIB file just fine.


Enrico

#985364#10
Date:
2021-04-01 16:01:25 UTC
From:
To:
Hello Enrico,
I am not involved in packaging python3-magics++,
just tried to reproduce this fault.

Unfortunately it did not show up in my minimal test VM.
It produced a png with a frame and a text and a symbol
at the bottom. Is there something more expected to
be in the rendered png?
Do I have missed to install some kind of map data or similar?

You write grib_dump shows no fault, should
XyGrib work on that file too - it shows me (translated):

file cannot be opened.
It's not a GRIB file
or it contains no valid data
or ...

Might that give a hint on what is the issue?

Maybe you could add a backtrace of the assert?

Kind regards,
Bernhard