Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation fault on DB project vector file #50

Open
bhbraswell opened this issue Sep 22, 2015 · 2 comments
Open

segmentation fault on DB project vector file #50

bhbraswell opened this issue Sep 22, 2015 · 2 comments
Labels

Comments

@bhbraswell
Copy link
Member

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
Copy link
Member

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

@ircwaves ircwaves assigned ircwaves and unassigned ircwaves Nov 9, 2015
@ircwaves
Copy link
Member

ircwaves commented Nov 9, 2015

clarity

@ircwaves ircwaves added the bug label Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants