<P>I further narrowed down the cause of the problem. I commented out the line below:
<P>DATA bath_mapserver.tif
<P>and the applet loaded. There seems to be a problem with loading tif files.
<P>LAYER<BR>&nbsp; NAME bathymetry<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp; "DESCRIPTION" "Elevation/Bathymetry"<BR>&nbsp; END<BR>&nbsp; TYPE RASTER<BR>&nbsp; STATUS ON<BR>#&nbsp; DATA bath_mapserver.tif<BR>END<BR>
<P>&nbsp;<B><I>Caffeinate The World &lt;mochaexpress@yahoo.com&gt;</I></B> wrote:
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>I turned on --enable-debug on the mapsever compile only.. php cgi currently doesn't have it turned on: 
<P>...<BR>Reading symbols from /usr/local/lib/libproj.so...done.<BR>Reading symbols from /usr/pkg/lib/libtiff.so.3...done.<BR>#0&nbsp; 0x16220d06c in drawTIFF (map=0x0, layer=0x1a5, img=0x120456000,<BR>&nbsp;&nbsp;&nbsp; filename=0x0) at mapraster.c:828<BR>---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---<BR>828&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vv=buf[xi+boffset];<BR>(gdb) bt<BR>#0&nbsp; 0x16220d06c in drawTIFF (map=0x0, layer=0x1a5, img=0x120456000,<BR>&nbsp;&nbsp;&nbsp; filename=0x0) at mapraster.c:828<BR>warning: Hit heuristic-fence-post without finding<BR>warning: enclosing function for address 0x1202fd370<BR>This warning occurs if you are debugging a function without any symbols<BR>(for example, in a stripped executable).&nbsp; In that case, you may wish to<BR>increase the size of the search with the `set heuristic-fence-post' command.</P>
<P> 
<P>&nbsp;<B><I>Caffeinate The World &lt;mochaexpress@yahoo.com&gt;</I></B> wrote: 
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>I narrowed the segfault down to this section of gmap75.map: 
<P>LAYER<BR>&nbsp; NAME grid<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp; "DESCRIPTION" "Grid"<BR>&nbsp; END<BR>&nbsp; TYPE LINE<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA grid<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "Graticule"<BR>&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp; END<BR>END # Layer 
<P>I still don't know what's causing the segfault. The php.core I have doesn't have debug on to do a backtrace. 
<P>&nbsp;<B><I>Caffeinate The World &lt;mochaexpress@yahoo.com&gt;</I></B> wrote: 
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>mapserver-3.6.3<BR>php-4.2.2 (cgi and apache&nbsp; mod)<BR>NetBSD-Alpha-1.5.2<BR>Apache-1.3.22</P>
<P>I got mapserver going and the default demo working. Then I tried the gmap-3.6 demo and it segmentation fault at the line denoted by "HERE"&nbsp;below&nbsp;:</P>
<P>function GMapDrawMap()<BR>{<BR>&nbsp;&nbsp;&nbsp; GLOBAL $gpoMap, $gbShowQueryResults;<BR>&nbsp;&nbsp;&nbsp; GLOBAL $gbIsHtmlMode;<BR>&nbsp;&nbsp;&nbsp; GLOBAL $gszCommand, $gszZoomBoxExt;<BR>&nbsp;&nbsp;&nbsp; GLOBAL $gAppletImgFmt, $gImagesFmt;</P>
<P>&nbsp;&nbsp;&nbsp; if ($gbShowQueryResults)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $img = $gpoMap-&gt;drawQuery();<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $img = $gpoMap-&gt;draw(); //&lt;--------HERE</P>
<P><BR>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</A> - Powerful. Affordable. <A href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</A></BLOCKQUOTE>
<P><BR>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</A> - Powerful. Affordable. <A href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</A></BLOCKQUOTE>
<P><BR>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</A> - Powerful. Affordable. <A href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</A></BLOCKQUOTE><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>