You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t try to to construct a map from the scratch and build all object by hand.
Sadly mapscript crashes outside the VM when i set the web Object.
When i do the same thing using a map-file everything is fine.
I attached to files (wms_client.map and wms_client_part.java) which
shows my problem using a WMS layer.
The text was updated successfully, but these errors were encountered:
The problem is that the webObj has only the default constructor created by swig
which does not call initWeb.
Added web.i with constructor and destructor.
I think this is not the only problem. setWeb will copy the webObj structure
itself to the mapObj member but the subsequent objects are not duplicated. Both
mapObj and webObj will own same memory segments and both of them will call free
on it.
As a resolution the entire object tree should be cloned, or the original webObj
should be "disowned".
For more details visit:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1803
Tamas
Reporter: mapserver@geochem.de
Date: 2006/06/07 - 06:33
Trac URL: http://trac.osgeo.org/mapserver/ticket/1798
The text was updated successfully, but these errors were encountered: