[mapguide-users] Crash in MapGuide Web Extensions upon web server shutdown

Yves Dierick ydie22 at gmail.com
Thu Aug 22 04:47:29 PDT 2013


Yes,probably that StopCheckServersThread() should indeed be called from
MgUninitializeWebTierInternal(), and that the latter should wait for the
thread being terminated before returning.

Yves


On Thu, Aug 22, 2013 at 1:25 PM, Jackie Ng <jumpinjackie at gmail.com> wrote:

> You might want to cross-post this to mapguide-internals as well given the
> somewhat technical subject matter.
>
> Not a true multi-threading expert here, but I do know that any
> variables/members in MapGuide that can be accessed from multiple threads
> are
> usually protected by mutexes. An ACE_MT(ACE_GUARD(...)) macro does the
> mutex
> locking and any code following that in the same block is a thread-safe
> critical section.
>
> I also see a MgSiteManager::StopCheckServersThread() that supposedly stops
> the background thread, but I can't see anything in the Web Tier that calls
> into this. Perhaps this is what MgUninitializeWebTierInternal() should also
> be calling?
>
> - Jackie
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Crash-in-MapGuide-Web-Extensions-upon-web-server-shutdown-tp5073749p5073779.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130822/c5fab934/attachment.html>


More information about the mapguide-users mailing list