[mapserver-users] gmap demo segfault

Caffeinate The World mochaexpress@yahoo.com
Sun, 24 Nov 2002 00:58:19 -0800 (PST)


--0-38371798-1038128299=:32995
Content-Type: text/plain; charset=us-ascii


mapserver-3.6.3
php-4.2.2 (cgi and apache  mod)
NetBSD-Alpha-1.5.2
Apache-1.3.22

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" below :

function GMapDrawMap()
{
    GLOBAL $gpoMap, $gbShowQueryResults;
    GLOBAL $gbIsHtmlMode;
    GLOBAL $gszCommand, $gszZoomBoxExt;
    GLOBAL $gAppletImgFmt, $gImagesFmt;

    if ($gbShowQueryResults)
        $img = $gpoMap->drawQuery();
    else
        $img = $gpoMap->draw(); //<--------HERE



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--0-38371798-1038128299=:32995
Content-Type: text/html; charset=us-ascii

<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>
--0-38371798-1038128299=:32995--