[Mapserver-users] mapscript module crashes if ms_newshapefileobj is used

Yewondwossen Assefa assefa at dmsolutions.ca
Wed Jun 18 14:46:34 EDT 2003


I manged to reproduce the crash only when the filename given is not 
found. I have entered this as a Mapserver bug 344.
Until this get fixed, make sure that the file given in argument exists, 
since It seems to work properly in that case.

Later,

Michael Härtel wrote:

> Dear List,
>
> as soon as i use ms_newshapefileobj("path\filename",-1), the module 
> php_mapscript_37.dll crashes. Apache and php themselves are still 
> operable.
>
> It doesn't depend on the type of shapefile, the number of entries or 
> the size of the file. It happens every time.
>
> I use Apache 2.43, PHP 4.3.2, Windows XP Pro and MapServer 3.7 (from 
> mapserver-3.7-win32-php4.3.0-gd2.zip) with php_mapscript_37.dll 
> ($Revision: 1.143 $ $Date: 2003/02/04 15:39:43 $).
>
> mapscript is parsed by the cgi-version of php and the mapscript module 
> is defined as "extension=php_mapscript_37.dll" in php.ini.
> The extension is then loaded from the phtml-skript with 
> dl(php_mapscript_37.dll).
>
> Can i fix this error somehow?
>
> thx,
>
> M. Härtel


-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: assefa at dmsolutions.ca    
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------








More information about the mapserver-users mailing list