Opened 13 years ago

Last modified 13 years ago

#3823 new bug

qgis_mapserv.fcgi segmentation fault

Reported by: niccolo Owned by: mhugent
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: mapserver Version:
Keywords: Cc: pcav
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description (last modified by pcav)

I have QGIS compiled from GIT, version 9ffedb4 on an amd64 machine.

I'm trying qgis_mapserv with a simple project, but it crashes with segmentation fault or with this message:

qgis_mapserv.fcgi: checksum.c:150: crc32: Assertion `length >= 0' failed.
Aborted

The problem exists also if I call the cgi-bin from the command line, like this (the QUERY_STRING must be on a single line):

cd /usr/lib/cgi-bin/toscana
QUERY_STRING="SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap
&BBOX=9.66321,42.2097,12.4125,44.4741&SRS=EPSG:4326&WIDTH=320
&HEIGHT=200&LAYERS=province&FORMAT=image/png" ./qgis_mapserv.fcgi > pippo.png

The very same project gets rendered OK in QGIS 1.6.0.

Can someone confirm that there is a bug?

Here you can find the project with the shapefile: http://argo.rigacci.org/toscana.tar.bz2

Change History (2)

comment:1 by pcav, 13 years ago

Description: modified (diff)

comment:2 by mhugent, 13 years ago

The layer renders ok for me with latest git version of QGIS server. I however loaded / saved the project with 1.7 because of the file path. Could you test if a fresh project with the layer works? Also, make sure the server uses the right QGIS libraries (sometimes there are problems if there are several versions and it uses the wrong one).

Note: See TracTickets for help on using tickets.