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

MapServer dies when spatial Index is out of date (has less entries than shapefile) #2362

Closed
mapserver-bot opened this issue Apr 3, 2012 · 4 comments

Comments

@mapserver-bot
Copy link

Reporter: sholl
Date: 2007/10/24 - 17:13
Trac URL: http://trac.osgeo.org/mapserver/ticket/2362
Dear MapServer-Devs,

while working with MS 4.10.3 I encountered a problem while accessing a shapefile which has a .qix-indexfile, which was out-of-date.
The index had less entries than the shapefile so MS (php4/MapScript and shp2img) died with
*** glibc detected *** malloc(): memory corruption: or
*** glibc detected *** double free or corruption (!prev):

Thanks

@ghost ghost assigned sdlime Apr 5, 2012
@tbonfort
Copy link
Member

not sure this is a scenario we want to explicitely support.

@szekerest szekerest reopened this Mar 9, 2019
@szekerest szekerest self-assigned this Mar 9, 2019
@szekerest
Copy link
Member

I think we should not let mapserver to crash in this case. It should provide a meaningful error message instead.

szekerest added a commit to szekerest/mapserver that referenced this issue Mar 9, 2019
szekerest added a commit that referenced this issue Mar 11, 2019
* Fix crash on corrupt qix files (#2362)
@jratike80
Copy link

Does Mapserver crash with corrupt qix or not? If not then the issue can be closed.

@jratike80
Copy link

No feedback, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants