Skip to content

segmentation fault on DB project vector file #50

@bhbraswell

Description

@bhbraswell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions