Opened 18 years ago

Last modified 18 years ago

#1134 closed defect (duplicate)

gdalnumeric.SaveArray possible python referencing problem

Reported by: gillian.walter@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

gdalnumeric.SaveArray seems to do something strange to the referencing of the
array being saved in the current CVS version of GDAL (using Fedora core 3
linux).  To reproduce, launch a python shell and enter:

import gdalnumeric
import Numeric
arr=Numeric.array([[5.3,2,1],[3,2,1]])
gdalnumeric.SaveArray(arr,'/home/test.tif')
arr # to try to print the array

This causes a segmentation fault.  I was also able to reproduce the problem with
the python/gdal in FWTools 1.0.0a7 for linux.

Change History (1)

comment:1 by gillian.walter@…, 18 years ago


*** This bug has been marked as a duplicate of 1135 ***
Note: See TracTickets for help on using tickets.