CartoDB / mobile-sdk

CARTO Mobile SDK core project
https://carto.com/docs/carto-engine/mobile-sdk/
BSD 3-Clause "New" or "Revised" License
179 stars 65 forks source link

AccessViolationException when having more than one MapView() in UWP Xamarin.Forms #513

Closed l4nk4b3l closed 1 year ago

l4nk4b3l commented 1 year ago

Issue: The App will crash with the following Exception when having more than one MapView().

System.AccessViolationException: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

I provided a SampleApp.zip for easy reproduction of the issue.

Steps to reproduce:

Steps to reproduce:

Plattform: UWP CartoMobileSDK.UWP: 4.4.6

mtehver commented 1 year ago

Hi. Indeed, thanks a lot for the sample app. I have reproduced the issue and it is related to interaction between Angle GLES UWP wrapper and threading. We will likely have a fix for this in 4.4.7 release.

l4nk4b3l commented 1 year ago

Can you tell me when release 4.4.7 is planned.

mtehver commented 1 year ago

@l4nk4b3l We plan to release RC next week and final 4.4.7 by the end of September.

mtehver commented 1 year ago

@l4nk4b3l 4.4.7RC1 is now available and should fix the issue.

mtehver commented 1 year ago

Closing this, 4.4.7 is now released.