[maplab-users] The problem exploration
Djamel Toudert
toudert at uabc.mx
Mon Jan 31 21:19:49 EST 2005
The sigfault generated by url:
http://ceagi.mxl.uabc.mx/maplab/projects/gmf_apps/MEXICO/MEXICO.phtml
is strange!! I still looking for the coredump but I don't find anything
in the system.
I try to gdb the same url, the program exited normally creating in the
tmp_ms all the images (legend, scalebar, keymap) but no the map image. I
am attaching the result below.
After i enable-debug in one new mapserver/Php_mapscript compilation, i
get in the action_mapedit.log :
[Mon.Jan.31.2005.9:50:54] gszMapName is
/var/www/html///maplab/ejercicio//mexico.map
[Mon.Jan.31.2005.9:50:54] gszIndex is 003
[Mon.Jan.31.2005.9:50:54] goObjectToCopy is
[Mon.Jan.31.2005.9:50:54] gnCurrentLayerIndex is 5
[Mon.Jan.31.2005.9:50:54] gszFontFile is
/var/www/html/maplab/ejercicio/etc/fonts.txt
[Mon.Jan.31.2005.9:50:54] gszSymbolFile is
/var/www/html/maplab/ejercicio/etc/symbols.sym
[Mon.Jan.31.2005.9:50:54] gszCurrentState is
[Mon.Jan.31.2005.9:50:54] gszWarehouseMapFiles is
[Mon.Jan.31.2005.9:50:54] gszPHPMapScriptModName is php_mapscript.so
[Mon.Jan.31.2005.9:50:54] gszImageType is PNG
[Mon.Jan.31.2005.9:50:54] gszTmpImgPath is
/var/www/html/maplab/tmp/ms_tmp/
[Mon.Jan.31.2005.9:50:54] gszTmpWebImgPath is
http://148.231.55.91/maplab/tmp/ms_tmp/
[Mon.Jan.31.2005.9:50:54] gszTmpMapPath is /var/www/html/maplab/tmp_map/
[Mon.Jan.31.2005.9:50:54] gszNavigationMode is ROSA
[Mon.Jan.31.2005.9:50:54] initializing MapEditApp
[Mon.Jan.31.2005.9:50:54] ../../config/mapserv_40.xml
[Mon.Jan.31.2005.9:50:54] restoring gApp from
/tmp/sess_41fe6fc6469f9/133393409841fe6ff9d674a3.40864490
[Mon.Jan.31.2005.9:50:54]
O:10:"mapeditapp":7:{s:8:"oLogFile";O:7:"logfile":4:{s:16:"szLogDestinat
ion";s:43:"/var/www/html/maplab/log/action_mapedit.log";s:8:"nLogType";i
:3;s:12:"nMaxLogLevel";i:3;s:12:"nIndentLevel";i:1;}s:13:"oErrorManager"
;O:12:"errormanager":4:{s:11:"nErrorCount";i:0;s:12:"aszErrorList";a:0:{
}s:18:"mszOldErrorHandler";s:0:"";s:12:"mnErrorLevel";N;}s:11:"szScopeNa
me";s:10:"MapEditApp";s:11:"aValidators";a:20:{s:3:"DOC";O:6:"docobj":13
:{s:8:"oLogFile";N;s:13:"oErrorManager";N;s:11:"szScopeName";N;s:8:"maoT
ypes";a:0:{}s:7:"maoObjs";a:0:{}s:13:"maszValidObjs";a:0:{}s:7:"mszName"
;N;s:8:"mszTitle";N;s:8:"mszIndex";s:0:"";s:15:"mnOriginalIndex";i:-1;s:
15:"mszMultiplicity";i:1;s:11:" ...
Like you can see here,i get lots of error, any idea about what happen?
Thanks in advance
D. Toudert
Ceagi2004 at uabc.mx
GDB Results:
---------------
[root at ceagi root]# gdb php
GNU gdb 5.3-25mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i586-mandrake-linux-gnu"...
(gdb) run /var/www/html/maplab/projects/gmf_apps/MEXICO/MEXICO.phtml
Starting program: /usr/local/bin/php
/var/www/html/maplab/projects/gmf_apps/MEXICO/MEXICO.phtml
Content-type: text/html
X-Powered-By: PHP/4.3.4
<html>
<head>
<TITLE>MAPA DE MEXICO</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
/**
* This function runs after the form is done loading
**/
function doneLoading()
{
// show the query results page if query
if ( document.main.QueryString.value != "" )
{
// complete the string
document.main.QueryString.value = "?PrevStateKey=" +
document.main.PrevStateKey.value + "&INPUT_COORD=" +
document.main.INPUT_COORD.value;
// calculate the center
if (document.all)
var xMax = screen.width, yMax = screen.height;
else if (document.layers)
var xMax = window.outerWidth, yMax = window.outerHeight;
else
var xMax = 640, yMax=480;
var xOffset = (xMax - 510)/2, yOffset = (yMax - 390)/2;
// load the processing page
mapquery = window.open('query.phtml' +
document.main.QueryString.value,'mapquery','scrollbars=yes,resizable=yes
,width=510,height=390,screenX='+xOffset+',screenY='+yOffset+',top='+yOff
set+',left='+xOffset+'');
// give it focus
mapquery.focus();
}
// exit
return;
}
</script>
</head>
<body onload="javascript:doneLoading()" bgcolor="ffffff">
<form name="main">
<!-------------------------------------->
<!-- !!!DO NOT MODIFY THIS SECTION!!! -->
<!-------------------------------------->
<!---------------------->
<!-- BEGIN MAIN TABLE -->
<!---------------------->
<table border="0" cellspacing="1" cellpadding="2">
<tr valign="top">
<td>
<!------------------------------------->
<!-- BEGIN FIRST OF THREE SUB-TABLES -->
<!------------------------------------->
<table border="0" cellspacing="0" cellpadding="1">
<!----------------------->
<!-- BEGIN DRAW LEGEND -->
<!----------------------->
<tr>
<td align=center>
<table border=0 cellspacing=2 cellpadding=0>
<tr>
<td colspan=3><font face="Arial, Helvetica, sans-serif"
size="2"><b>Legend</b></font></td>
</tr>
<tr>
<td colspan=3><font face="Arial, Helvetica, sans-serif"
size="2"> <img src="images/icon_eye.gif" width="17"
height="11"><b> Layer</b>
</font></td>
</tr>
<tr>
<td bgcolor="#999999" colspan=3><img src="images/a_pixel.gif" width="1"
height="1"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">
<input type="checkbox" name="layer_status[]" value="Grandes
ciudades" CHECKED>
</td>
<td><img
src="http://148.231.55.91/maplab/tmp/ms_tmp/1107197436_4_0_20_10.png"
height=10 width=20></td>
<td><font face="Arial, Helvetica, sans-serif" size="2">Grandes
ciudades</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">
<input type="checkbox" name="layer_status[]" value="Carreteras"
CHECKED>
</td>
<td><img
src="http://148.231.55.91/maplab/tmp/ms_tmp/1107197436_3_0_20_10.png"
height=10 width=20></td>
<td><font face="Arial, Helvetica, sans-serif"
size="2">Carreteras</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">
<input type="checkbox" name="layer_status[]" value="Rios" CHECKED>
</td>
<td><img
src="http://148.231.55.91/maplab/tmp/ms_tmp/1107197436_2_0_20_10.png"
height=10 width=20></td>
<td><font face="Arial, Helvetica, sans-serif"
size="2">Rios</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">
<input type="checkbox" name="layer_status[]" value="Grandes lagos"
CHECKED>
</td>
<td><img
src="http://148.231.55.91/maplab/tmp/ms_tmp/1107197436_1_0_20_10.png"
height=10 width=20></td>
<td><font face="Arial, Helvetica, sans-serif" size="2">Grandes
lagos</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center">
<input type="checkbox" name="layer_status[]" value="Estados"
CHECKED>
</td>
<td><img
src="http://148.231.55.91/maplab/tmp/ms_tmp/1107197436_0_0_20_10.png"
height=10 width=20></td>
<td><font face="Arial, Helvetica, sans-serif"
size="2">Estados</font></td>
</tr>
<tr>
<td bgcolor="#999999" colspan=3><img src="images/a_pixel.gif" width="1"
height="1"></TD>
</tr>
<tr>
<td colspan=3><input type=image src="images/icon_redraw.gif" width="19"
height="19" name=redraw border=0><font face="Arial, Helvetica,
sans-serif" size="2"> Redraw Map</font></td>
</tr>
</table>
</td>
</tr>
<!--------------------->
<!-- END DRAW LEGEND -->
<!--------------------->
</table>
<!----------------------------------->
<!-- END FIRST OF THREE SUB-TABLES -->
<!----------------------------------->
</td>
<td align="center">
<!-------------------------------------->
<!-- BEGIN SECOND OF THREE SUB-TABLES -->
<!-------------------------------------->
<table border="0" cellspacing="0" cellpadding="1">
<!--------------------->
<!-- BEGIN MAP TITLE -->
<!--------------------->
<tr>
<td align="center"><font face="Arial, Helvetica, sans-serif"
color="00007f" size="3"><b>MAPA DE MEXICO</b></font></td>
</tr>
<!------------------->
<!-- END MAP TITLE -->
<!------------------->
<tr>
<td><hr noshade size=1></td>
</tr>
<!---------------------------->
<!-- BEGIN MAP & PAN ARROWS -->
<!---------------------------->
<tr>
<td align="center">
<table border="0" cellspacing="1" cellpadding="0">
<tr align="center" valign="middle">
<td> </td>
<td><input type=image name=Pan_North src="images/icon_pan_north.gif"
border=0 width=25 height=17></td>
<td> </td>
</tr>
<tr align="center" valign="middle">
<td><input type=image name=Pan_West src="images/icon_pan_west.gif"
border=0 width=17 height=25></td>
<td>
<table bgcolor="00007f" border="0" cellspacing="0" cellpadding="2">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- MAIN MAP -->
<td bgcolor="#ffffff" width="400" height="300"><input type=image
src="http:///wrapper/drawmap.php?gszMapName=/var/www/html///maplab/ejerc
icio//mexico.map&gszCurrentState=BBOX=-117.59306666667,11.7502,-85.64693
3333333,35.7098|SRS=|MAPSIZE=400,300|LAYERS=0,1,2,3,4&map_session_mode=0
&run_query=0&gszPHPMapScriptModName=php_mapscript.so&gszQueryCoords="
border=0 width="400" height="300" name="mainmap"></td></tr>
</table>
</td>
</tr>
</table>
</td>
<td><input type=image name=Pan_East src="images/icon_pan_east.gif"
border=0 width=17 height=25></td>
</tr>
<tr align="center" valign="middle">
<td> </td>
<td><input type=image name=Pan_South src="images/icon_pan_south.gif"
border=0 width=25 height=17></td>
<td> </td>
</tr>
</table>
</td>
</tr>
<!-------------------------->
<!-- END MAP & PAN ARROWS -->
<!-------------------------->
<tr>
<td><hr noshade size=1></td>
</tr>
<!-------------------->
<!-- BEGIN SCALEBAR -->
<!-------------------->
<tr>
<td align="center"><img
src=http://148.231.55.91/maplab/tmp/ms_tmp/110719743614702.png
border=0></td>
</tr>
<!------------------>
<!-- END SCALEBAR -->
<!------------------>
</table>
<!------------------------------------>
<!-- END SECOND OF THREE SUB-TABLES -->
<!------------------------------------>
</td>
<td>
<!------------------------------------->
<!-- BEGIN THIRD OF THREE SUB-TABLES -->
<!------------------------------------->
<table border="0" cellspacing="0" cellpadding="1">
<!------------------>
<!-- BEGIN KEYMAP -->
<!------------------>
<tr>
<td align=center>
<table border=0 cellspacing=0 cellpadding=1>
<tr>
<td bgcolor="#333333"><input type=image name="keymap"
src="http://148.231.55.91/maplab/tmp/ms_tmp/110719743614701.png"
width=100 height=75 border=0></td></tr>
</table>
</td>
</tr>
<!---------------->
<!-- END KEYMAP -->
<!---------------->
<tr>
<td><hr noshade size=1></td>
</tr>
<!------------------------->
<!-- BEGIN MAPPING TOOLS -->
<!------------------------->
<tr>
<td align=center>
<table border=0 cellspacing=2 cellpadding=0>
<tr>
<td><font face="Arial, Helvetica, sans-serif" size="2"><b>Map
Tools</b></font></td>
</tr>
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td colspan=2 align=right><input type="textbox" name="txtZoomFactor"
value="2" size="3"></td><td><font face="Arial, Helvetica, sans-serif"
size="1"> Zoom Factor </font></td>
</tr>
<tr>
<td><input type="radio" name="ROSA_CMD" value="ZOOM_IN" CHECKED></td><td
bgcolor="#DFF5F5"><INPUT TYPE=IMAGE name=Zoom_In
SRC="images/icon_zoomin.gif" width="22" height="22"
border="0"></td><td><font face="Arial, Helvetica, sans-serif"
size="1"> Zoom In </font></td></tr>
<tr>
<td><input type="radio" name="ROSA_CMD" value="ZOOM_OUT" ></td><td
bgcolor="#DFF5F5"><INPUT TYPE=IMAGE name=Zoom_Out
SRC="images/icon_zoomout.gif" width="22" height="22"
border="0"></td><td><font face="Arial, Helvetica, sans-serif"
size="1"> Zoom Out </font></td></tr>
<tr>
<td><input type="radio" name="ROSA_CMD" value="ZOOM_FULL" ></td><td
bgcolor="#DFF5F5"><INPUT TYPE=IMAGE name=Zoom_Full
SRC="images/icon_fullextent.gif" width="22" height="22"
border="0"></td><td><font face="Arial, Helvetica, sans-serif"
size="1"> Full Extents </font></td></tr>
<tr>
<td><input type="radio" name="ROSA_CMD" value="RECENTRE" ></td><td
bgcolor="#DFF5F5"><img name=Recentre SRC="images/icon_recentre.gif"
width="22" height="22" border="0"></td><td><font face="Arial, Helvetica,
sans-serif" size="1"> Recentre </font></td></tr>
<tr>
<td><input type="radio" name="ROSA_CMD" value="QUERY" ></td><td
bgcolor="#DFF5F5"><img name=Query SRC="images/icon_query.gif" width="22"
height="22" border="0"></td><td><font face="Arial, Helvetica,
sans-serif" size="1"> Query </font></td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!----------------------->
<!-- END MAPPING TOOLS -->
<!----------------------->
</table>
<!----------------------------------->
<!-- END THIRD OF THREE SUB-TABLES -->
<!----------------------------------->
</td>
</tr>
<!------------------->
<!-- BEGIN CREDITS -->
<!------------------->
<tr><td colspan=3> </td></tr>
<tr><td colspan=3> </td></tr>
<tr><td colspan=3> </td></tr>
<tr>
<td colspan=3>
<table width="100%" cellspacing=0 cellpadding=0>
<tr>
<td bgcolor="#999999"><img src="./images/a_pixel.gif" width="1"
height="1"></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan=3 align=right>
<font face="Arial, Helvetica, sans-serif" size="1" color="#999999">this
application was built using <a
href="http://www2.dmsolutions.ca/webtools/">GMapFactory</a></font></td>
</tr>
<!------------------->
<!-- END CREDITS -->
<!------------------->
</table>
<!-------------------->
<!-- END MAIN TABLE -->
<!-------------------->
<!----------------------->
<!-- BEGIN HIDDEN VARS -->
<!----------------------->
<input type="hidden" name="PrevStateKey"
value="BBOX=-117.59306666667,11.7502,-85.646933333333,35.7098|SRS=|MAPSI
ZE=400,300|LAYERS=0,1,2,3,4">
<input type="hidden" name="NotFirstLoad" value="1">
<input type="hidden" name="RosaMode" value="0">
<input type="hidden" name="INPUT_TYPE" value="">
<input type="hidden" name="INPUT_COORD" value="">
<input type="hidden" name="QueryString" value="">
<!--------------------->
<!-- END HIDDEN VARS -->
<!--------------------->
<!-------------------------------------->
<!-------------------------------------->
</form>
</body>
</html>
Program exited normally.
(gdb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20050131/8156d999/attachment-0001.html
More information about the Maplab-users
mailing list