Blank page No Error Messages shown

Ryan Ollerenshaw ryanollerenshaw at GMAIL.COM
Thu Oct 18 18:19:22 EDT 2007


On 10/18/07, Gregor Mosheh <gregor at hostgis.com> wrote:
> Ryan Ollerenshaw wrote:
> > whenever i have an error in my Mapfile a blank page is
> > displayed rather then the error message
>
> I have found shp2img to be invaluable for diagnosing these sorts of
> issues. Give it a try.
>
> And I do agree, I'd like to see Mapserver's error reporting improved.
> The debug stuff, as best I could get it working, just reported profiling
> statistics and never helped me with debugging. That was back in the 4.8
> days when I last tried it though; maybe it's improved since then.
>

Thanks that did uncover an error but i am not sure that it is related.
 The error that i get is a Heap overflow:

[ryan at xxxxx]$ shp2img -m stereo.map stereo.png
*** glibc detected *** shp2img: free(): invalid next size (fast): 0x09161008 ***
======= Backtrace: =========
/lib/i686/nosegneg/libc.so.6[0x3ba2c8d]
/lib/i686/nosegneg/libc.so.6(cfree+0x90)[0x3ba6340]
shp2img[0x80a985e]
shp2img[0x805ae2e]
shp2img[0x805e6b5]
shp2img(main+0xd1)[0x8050071]
/lib/i686/nosegneg/libc.so.6(__libc_start_main+0xdc)[0x3b51f2c]
shp2img[0x804ff11]
======= Memory map: ========
00101000-00113000 r-xp 00000000 08:01 6662305    /usr/lib/libodbcinst.so.1.0.0
00113000-00114000 rw-p 00011000 08:01 6662305    /usr/lib/libodbcinst.so.1.0.0
00114000-0011c000 r-xp 00000000 08:01 6655932
/usr/lib/libgrass_dbmiclient.so.6.2.2
......
......


But even when i correct my mapfile so that an image displays on the
web page, i still get the error above when using shp2img even though
my page display correctly.



More information about the mapserver-users mailing list