<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial size=2>I am experiencing
some segmentation faults when using Chameleon, and I am unable to find out what
causes it.</FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial size=2>What happens is that
Chameleon (and underlying components) seem to work well, but suddenly for no
apparent reason stops to work (segfaults). I have found no pattern as to why
this happens, but it seem it occurs when the map is produced. I have
experimented with turning on/off layers, and sometime turning off a layer fixes
the problem, but when I perform a new zoom/pan it segfaults again. It seems to
be a combination of which layer that is drawn for a given extent that breaks it.
Other than that I have no clue. I expect there is some bad libriaries, either
mapscript or php that is the cause, but I do not know how to track down which
one.</FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial size=2>I have enabled
logging in drawmap.php and gives the following ouput:</FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2>[Wed.Dec.07.2005.9:16:19] MapSession_RW : setTempDir()
starting<BR>[Wed.Dec.07.2005.9:16:19] MapSession_RW : setTempDir()
done<BR>[Wed.Dec.07.2005.9:16:19] MapSession_RW : restoreState()
starting<BR>[Wed.Dec.07.2005.9:16:19] MapSession_RW : readMapFile()
starting<BR>[Wed.Dec.07.2005.9:16:19] MapSession_RW :
readMapFile - Open map file[/tmp/sess_439692565fe0b/1133943378-6988.map] was
successful<BR>[Wed.Dec.07.2005.9:16:19] MapSession_RW :
readMapFile() done<BR>[Wed.Dec.07.2005.9:16:19] MapSession_RW :
restoreState - successful for ID [1133943378-6988].<BR>[Wed.Dec.07.2005.9:16:19]
MapSession_RW : restoreState() done<BR></FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial size=2>Is there any other
way to find out where Chameleon (Mapscript) actually segfaults, as
this information does not say much?</FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2> </DIV></FONT></SPAN>
<DIV><SPAN class=590461409-07122005><FONT face=Arial size=2>I am using php 4.3.4
og MapServer/Mapscript 4.4.2, I am not sure which Chameleon version, but seem to
be dated 14.06.2005</FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial size=2>I hope someone can
help me to solve this problem.</FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590461409-07122005><FONT face=Arial
size=2>Per</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face="Comic Sans MS"><STRONG><FONT
size=2>--</FONT></STRONG><BR><FONT
size=2><STRONG>COWI AS</STRONG></FONT></FONT><FONT
face="Times New Roman"><BR></FONT><FONT face="Times New Roman"><STRONG><FONT
face="Comic Sans MS" size=2>Per Henrik Johansen</FONT></STRONG><BR></FONT><FONT
face="Comic Sans MS" size=2>Systems Developer</FONT><FONT
face="Times New Roman"><BR><I></I></FONT><I><FONT face=Arial size=2>Work: + 47
69 39 48 05 Mob: + 47 950 71 822</FONT></I><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>Web:<U></U></FONT><U></U><U><FONT face="Times New Roman"></FONT> <FONT
face="Comic Sans MS" color=#0000ff size=2><<A title=http://www.cowi.com/
href="blocked::http://www.cowi.com/"
target=_blank>http://www.cowi.com/</A>></FONT></U></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>