Hi
I'm getting a strange crash in the arcgis qt sdk runtimecore.dll when running an application using a scene view.
It always exits with the following exception:
Exception thrown at 0x00007FFC781DA08D (runtimecore.dll) in test.exe: 0xC0000005: Access violation reading location 0x0000000000000008. (Not in the Main thread)
I can't be completely sure, but by trial and error I think I've narrowed it down to calling GraphicListModel::removeOne while at the same time doing zooming/panning.
I'm calling GraphicListModel::removeOne quite often(Main thread) because I'm trying to remove Graphics objects when they go outside of the sceneview extent.
Could I be doing something illegal when I try to remove graphics from the overlay? Is there a certain way it needs to be done?
Just for testing I've tried to avoid deleting the graphics(only call removeOne) but it still seems to crash. However if I just make the graphics invisible and don't remove them from the model it doesn't seem to crash(But leads to a "small" memory leak
)
Anyone seen the same problem?
Based on the exception I guess it could be a missing nullptr check somewhere in the runtimecore? Or I might be doing something horribly wrong somewhere else.
I'm using: windows 10, arcgis qt sdk 100.4 and qt 5.12.0