python-grib doesn't work on 64 bit system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygrib (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Installed "python-grib" package. Downloaded GRIB2 files from the NOAA. Ran a simple program that should read the header information in the grib file:
rom ncepgrib2 import Grib2Decode
import sys
args = sys.argv[1:]
for arg in args:
print arg
print Grib2Decode(arg, False)
And the program kills the python interpreter:
python foo.py gfs.t06z.
gfs.t06z.
*** Error in `python': free(): corrupted unsorted chunks: 0x00000000023c0c60 ***
Aborted (core dumped)
Tried this with several GRIB2 files and got the same results. Copied the python program and the GRIB2 files to a system that runs 32 bit Debian on a 64 bit kernel, and the program worked fine.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-grib 1.9.8-1build2
ProcVersionSign
Uname: Linux 3.13.0-46-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Mar 16 08:51:29 2015
InstallationDate: Installed on 2012-09-15 (911 days ago)
InstallationMedia: Kubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120822.2)
SourcePackage: pygrib
UpgradeStatus: Upgraded to trusty on 2014-04-27 (322 days ago)