if gdb is installed on the system, you do: gdb /path/to/mapserv $ run QUERY_STRING='map=...&....' (...program runs and spits out the beginning of the pdf..., then segfaults) $ bt
-- thomas On Wed, Aug 17, 2011 at 21:36, Rahkonen Jukka <[email protected]> wrote: > Hi, > > Command with big BBOX does lead into segmantation fault. Unfortunately I am > just an amateur and I have no idea about what is a backtrace and how I could > provide it to you. The server is a virtual Linux box (Ubuntu). > > -Jukka Rahkonen- > > thomas bonfort wrote: > >> the second one is incomplete, the request seems to be failing. > >> can you run the request locally to see if it segfaults, and if so > provide a backtrace: > >> /path/to/mapserver-cgi > QUERY_STRING='map=/path/to/map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=864&HEIGHT=662&LAYERS=default&TRANSPARENT=TRUE&FORMAT=application/x-pdf&BBOX=3409763.750050978,6956187.032331026,3411904.266676571,6957827.104097395&SRS=EPSG:2393&STYLES=' > > -- > thomas > > On Wed, Aug 17, 2011 at 15:40, Rahkonen Jukka <[email protected]> > wrote: >> Hi, >> >>> This request from Mapserver 6.0 gives me a nice pdf file: >>> http://188.64.1.61/cgi-bin/osm-mapserver_i?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=864&HEIGHT=662&LAYERS=default&TRANSPARENT=TRUE&FORMAT=application/x-pdf&BBOX=3409763.750050978,6956187.032331026,3411904.266676571,6957827.104097395&SRS=EPSG:2393&STYLES= >> >> However, if I double the bounding box the resulting pdf cannot be opened by >> Acrobat reader. >> http://188.64.1.61/cgi-bin/osm-mapserver_i?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1728&HEIGHT=1324&LAYERS=default&TRANSPARENT=TRUE&FORMAT=application/x-pdf&BBOX=3409763.750050978,6956187.032331026,3411904.266676571,6957827.104097395&SRS=EPSG:2393&STYLES= >> >> The latter gives fine image with format=image/png. Any idea about what is >> going wrong? >> >> -Jukka Rahkonen-_______________________________________________ >> mapserver-users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
