gipit / gips

Geospatial Image Processing System
GNU General Public License v2.0
21 stars 13 forks source link

segmentation fault on DB project vector file #50

Open bhbraswell opened 9 years ago

bhbraswell commented 9 years ago

I get the following error:

(venv)rbraswell@nile:~/repo/gips$ gips_inventory modis -p indices -d 2010-100 -s "geokit:gadm2vtnh" -v4
GIPS Data Inventory (v0.8.1)
Segmentation fault (core dumped)

The database is configured in settings.py:

DATABASES = {
    'geokit': {
        'NAME': 'geokit',
        'USER': 'geokit',
        'PASSWORD': 'geokitp4ss',
        'HOST': 'indus',
        'PORT': '5432',
    }
}

Trying to find the problem, in gips/gips/core.py, SpatialExtent factory() I see this:

(Pdb) features.Path()
<Swig Object of type 'boost::filesystem::path *' at 0x7efdd68702a0>
swig/python detected a memory leak of type 'boost::filesystem::path *', no destructor found.
(Pdb) features.Projection()
Segmentation fault (core dumped)

But actually pretty much anything I look at will cause the core dump.

I don't think it's particular to this shapefile, I've checked it with two others and get the same behavior.

matthewhanson commented 9 years ago

Not sure, might be something with the version of your Boost library.

ircwaves commented 8 years ago

clarity