Mapserver returns blank pages

Zhonghai Wang zhonghaiw at GMAIL.COM
Fri Jul 14 04:32:42 EDT 2006


check if the projection in the layer is correctly set, set both the
projection object for the output map image and the input layers, and make
sure they are correct.

hope this helps.

zhonghai


On 7/14/06, antti siukola <siukola.antti at gmail.com> wrote:
>
> Hi!
>
> It would be great if any of the developers could comment on this
> problem or maybe someone who has found a solution to the problem. I
> want to point out again that this problem prevents us to move to
> production if no solution is found.
>
> Regards,
>
> Antti S
>
> On 7/13/06, antti siukola <siukola.antti at gmail.com> wrote:
> > I've noticed that these Segmantation faults are logged even if there's
> > no blank page returned so I don't think that these two have a
> > relation. At least I get segmatation faults quite randomly.
> >
> > Cheers
> >
> > Antti S
> >
> > On 7/13/06, Stuart Eve <stuarteve at lparchaeology.com> wrote:
> > >
> > >  After checking the apache error log we also get:
> > >
> > >  [Thu Jul 13 10:22:02 2006] [notice] child pid 9429 exit signal
> Segmentation
> > > fault (11)
> > >
> > >  We are using mapserver 4.8.3, php 4.3.10 and apache 2.0.53 running on
> a
> > > Suse 10 box.
> > >
> > >  The mapscript functions that seem to be in use when the crash is
> caused
> > > are: queryByAttributes(), getResult() and getShape()
> > >
> > >  should we list this as a bug on Bugzilla?
> > >
> > >  Thanks
> > >
> > >  Stuart
> > >
> > >
> > >
> > >  Stuart Eve wrote:
> > >  We are having (and have had for while_ this problem - and it does
> seem
> > > reasonably random.
> > >
> > >  The main trouble is that I don't know how to get php to spew out the
> error
> > > - and instead it just returns this blank screen, instead of returning
> the
> > > error as it does normally. I had first thought that it was because I
> was
> > > using php mapscript and had nested functions - but it seems like lots
> of
> > > people are coming up with the same thing.
> > >
> > >  Anyone got any ideas?
> > >
> > >  Matthew Kane wrote:
> > > I wasn't actually using php mapscript in the mapfile that gave me
> > > segmentation faults. Strangely, I got the map to display on a Sun
> machine if
> > > I removed all references to true-type fonts and relied only on bitmap
> fonts
> > > for my labels. Even more strange is that when I moved the same file to
> a red
> > > hat server, mapserver simply hangs. No error message in either the
> browser
> > > or the apache error logs, just hanging. The same thing happened when I
> tried
> > > running the mapfile with shp2img. Has anyone else experienced this
> problem?
> > > Could this be a bug in one of the third party libraries that mapserver
> > > relies on? Or more likely a problem in how we code our mapfiles?
> > >
> > >  Thanks,
> > >  Matt
> > >
> > >
> > > On 7/12/06, antti siukola <siukola.antti at gmail.com> wrote:
> > > > Hi!
> > > >
> > > > As we can see a lot of people are suffering from this but no one
> seems
> > > > to have any solutions. Does this only appear with php mapscript? Is
> > > > this a bug? A known bug? Is there a solutions? This is a fatal error
> > > > since this kind of behavior avoids us to use php mapscript in
> > > > production, in case this is a php mapscript issue as it seems to be.
> > > >
> > > > Regards,
> > > >
> > > > Antti S
> > > >
> > > > On 6/13/06, Matthew Kane < markane at indiana.edu> wrote:
> > > > > I second that question, as I am receiving Segmentation Faults as
> well...
> > > > >
> > > > > Matt
> > > > >
> > > > > On 6/13/06, antti siukola < siukola.antti at gmail.com> wrote:
> > > > > > Hi!
> > > > > >
> > > > > > Every time MapServer returns a blank page I find "[notice] child
> pid
> > > > > > xxxx exit signal Segmentation fault (11)" from apache's
> error_log. Any
> > > > > > thoughts? Blank pages are returned randomly.
> > > > > >
> > > > > > AnttiS
> > > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > >  --
> > > Stuart Eve
> > > L - P : Archaeology
> > > stuarteve at lparchaeology.com
> > >
> > >
> > >  --
> > > Stuart Eve
> > > L - P : Archaeology
> > > stuarteve at lparchaeology.com
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060714/f36d7220/attachment.html


More information about the mapserver-users mailing list