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

Open
mapserver-bot opened this issue Apr 3, 2012 · 2 comments

Comments

@mapserver-bot
Copy link

@mapserver-bot mapserver-bot commented Apr 3, 2012

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

@tbonfort tbonfort commented May 25, 2012

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

@tbonfort tbonfort closed this May 25, 2012
@szekerest szekerest reopened this Mar 9, 2019
@szekerest szekerest self-assigned this Mar 9, 2019
@szekerest
Copy link
Member

@szekerest szekerest commented Mar 9, 2019

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants