RE: [ZMapServer-Developers] mapserver/zmapserver - zope segfaults
Status: Alpha
Brought to you by:
sgillies
|
From: <Jea...@CC...> - 2003-09-05 13:25:56
|
Michael,
The MapServer core is known not to be officially thread safe ... That =
is,
nobody has gone through the hole code base to make sure everything IS =
...
This issue also afflicts PHP/MapScript, which is why one needs to run =
PHP as
a cgi with mapserver right now ...
I've run into segfaults using python/mapscript even outside of zope =
myself,
running regular python scripts form the command line. They are not =
easily
reproduced consistently however ... This was compiled on RH7.3 mind =
you,
don't know about windows.
I'm no good at debugging core dumps though ... Any one out there up to =
the
task ? Does windows produce an equivalent ?
My .02$ :)
J.F.
-----Original Message-----
From: Michael Schulz [mailto:ms...@we...]
Sent: Friday, September 05, 2003 3:44 AM
To: zmap-dev
Subject: [ZMapServer-Developers] mapserver/zmapserver - zope segfaults
Hi Sean,
when you are using zmapserver on your apple, do you experience =
segfaults=20
of your zope server at all?
I am working on a windows based zmapserver application that with the=20
recent versions of mapscript/zmapserver (well, 4.0/0.7.4) keeps=20
segfaulting, but when i start the zope server with the option to only=20
use one thread (-t 1) then it is more stable.
Could it be that mapscript/zmapserver has problems with the threading=20
mechanisms of zope?
Another hint i am looking into, is that your demo application is =
working=20
without problems, so it also has to do with the application=20
implementation. And one difference could be different ways of calling=20
zmapserver instance calls, e.g. i used <dtml-with> tags rather =
frequent,=20
these seemed to cause problems, after removing them the application was =
more stable. Also, i am using full url's rather than relative one's.
I think this all has to do with the way new threads are being created,=20
and if that happens (perhaps in combination with the use of the=20
sessions) mapscript segfaults.
Cheers, Michael
--=20
-----------------------------------------------------------
Michael Schulz in medias res
Dipl.-Geologe Gesellschaft f=FCr
Informationstechnologie mbH
In den Weihermatten 66
79108 Freiburg
0761 55695-95 (Fax 96)
ms...@we... www.webgis.de/www.zopecms.de
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ZMapServer-Developers mailing list
ZMa...@li...
https://lists.sourceforge.net/lists/listinfo/zmapserver-developers
|