[mapguide-internals] MapGuide 2.2 beta crashes
Jason Birch
jason at jasonbirch.com
Sat Oct 16 23:20:23 EDT 2010
File what? The corruption issue? I think I asked about it at the time
(not entirely sure) and it was caused by a third-party lib, so the
only workaround was to test properly rather than relying on try/catch.
On 2010-10-16, Zac Spitzer <zac.spitzer at gmail.com> wrote:
> I can't see it here, shall i file this?
>
> http://trac.osgeo.org/mapguide/query?status=new&status=assigned&status=reopened&group=component&order=priority
>
> the call is resourceExists()
>
> On Sun, Oct 17, 2010 at 10:21 AM, Jason Birch <jason at jasonbirch.com> wrote:
>> It can be avoided by testing if the resource exists first using a call
>> that was introduced in (I think) 2.1. Can't remember its name off
>> hand. Fusion was updated to use it at the time; I only remember this
>> because I back-ported the changes to my local 1.1 code.
>>
>> On 2010-10-15, Zac Spitzer <zac.spitzer at gmail.com> wrote:
>>> Is there task for that corruption problem?
>>>
>>> On Sat, Oct 16, 2010 at 4:21 AM, Gabriele Monfardini
>>> <gabrimonfa at gmail.com> wrote:
>>>> Dear Jason,
>>>>
>>>> for layers I usually use
>>>> $layerCollection = $map->GetLayers();
>>>> and tests
>>>> $layerCollection->Contains($layerName)
>>>>
>>>>> There's a nasty memory
>>>>> corruption problem if you just try to catch a failed
>>>>> getresourcecontent call
>>>> Good (and scary) to know
>>>>
>>>> Regards,
>>>>
>>>> Gabriele Monfardini
>>>> _______________________________________________
>>>> mapguide-internals mailing list
>>>> mapguide-internals at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>>>
>>>
>>>
>>>
>>> --
>>> Zac Spitzer
>>> Solution Architect / Director
>>> Ennoble Consultancy Australia
>>> http://www.ennoble.com.au
>>> http://zacster.blogspot.com
>>> +61 405 847 168
>>> _______________________________________________
>>> mapguide-internals mailing list
>>> mapguide-internals at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>>
>> _______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
More information about the mapguide-internals
mailing list