[DebianGIS-dev] Bug#546207: python-gdal: python crashes when trying to import gdal_array

Oz N nahumoz at gmail.com
Wed Sep 9 19:34:27 UTC 2009


Package: python-gdal
Version: 1.6.1-3
Severity: grave
Justification: causes non-serious data loss

Hi, 
I just notice my codes crash. I figured out after a short testing this
only happens with the newest debian package. Not with the older one, or
from source code. 
Here's a log of actions. Uppon importing gdal_array, python crasshes
with a segmentation fault. 
Notice, I removed the latest version and installed the previous one and
it doesn't happen.

ozdeb at karo:/var/cache/apt/archives$ sudo dpkg -i
python-gdal_1.6.1-3_i386.deb 
Selecting previously deselected package python-gdal.
(Reading database ... 321216 files and directories currently installed.)
Unpacking python-gdal (from python-gdal_1.6.1-3_i386.deb) ...
Setting up python-gdal (1.6.1-3) ...
Processing triggers for man-db ...
ozdeb at karo:/var/cache/apt/archives$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from osgeo import gdal_array
Segmentation fault

ozdeb at karo:/var/cache/apt/archives$ sudo dpkg -r python-gdal
(Reading database ... 321268 files and directories currently installed.)
Removing python-gdal ...
Processing triggers for man-db ...
ozdeb at karo:/var/cache/apt/archives$ sudo dpkg -i
python-gdal_1.6.1-2_i386.deb 
Selecting previously deselected package python-gdal.
(Reading database ... 321216 files and directories currently installed.)
Unpacking python-gdal (from python-gdal_1.6.1-2_i386.deb) ...
Setting up python-gdal (1.6.1-2) ...
Processing triggers for man-db ...
ozdeb at karo:/var/cache/apt/archives$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from osgeo import gdal_array
>>> 


Thanks, Oz. 

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gdal depends on:
ii  libc6                        2.9-25      GNU C Library: Shared libraries
ii  libgcc1                      1:4.4.1-1   GCC support library
ii  libgdal1-1.6.0               1.6.1-3     Geospatial Data Abstraction Librar
ii  libstdc++6                   4.4.1-1     The GNU Standard C++ Library v3
ii  python                       2.5.4-2     An interactive high-level object-o
ii  python-central               0.6.11      register and build utility for Pyt
ii  python-numpy                 1:1.2.1-1.1 Numerical Python adds a fast array

python-gdal recommends no packages.

python-gdal suggests no packages.

-- no debconf information





More information about the Pkg-grass-devel mailing list