[QGIS-trac] Re: [Quantum GIS] #3823: qgis_mapserv.fcgi segmentation fault

Quantum GIS qgis at qgis.org
Fri May 13 13:11:03 EDT 2011


#3823: qgis_mapserv.fcgi segmentation fault
------------------------------------------------+---------------------------
   Reporter:  niccolo                           |              Owner:  mhugent      
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  mapserver                         |            Version:               
   Keywords:                                    |   Platform_version:               
   Platform:  Debian                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
Description changed by pcav:

Old description:

> 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 sapefile:
> [http://argo.rigacci.org/toscana.tar.bz2]

New description:

 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]

--

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3823#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services


More information about the QGIS-trac mailing list