<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Crash in runtimecore.dll in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/crash-in-runtimecore-dll/m-p/286429#M1432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm getting a strange crash in the arcgis qt sdk runtimecore.dll when running an application using a scene view.&lt;/P&gt;&lt;P&gt;It always exits with the following exception:&lt;/P&gt;&lt;P&gt;Exception thrown at 0x00007FFC781DA08D (runtimecore.dll) in test.exe: 0xC0000005: Access violation reading location 0x0000000000000008. (Not in the Main thread)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I'm calling&amp;nbsp;&lt;SPAN&gt;GraphicListModel::removeOne quite often(Main thread) because I'm trying to remove Graphics objects when they go outside of the sceneview extent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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 &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyone seen the same problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using: windows 10, arcgis qt sdk 100.4 and qt 5.12.0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2019 11:28:40 GMT</pubDate>
    <dc:creator>HenrikVatnar</dc:creator>
    <dc:date>2019-03-20T11:28:40Z</dc:date>
    <item>
      <title>Crash in runtimecore.dll</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/crash-in-runtimecore-dll/m-p/286429#M1432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm getting a strange crash in the arcgis qt sdk runtimecore.dll when running an application using a scene view.&lt;/P&gt;&lt;P&gt;It always exits with the following exception:&lt;/P&gt;&lt;P&gt;Exception thrown at 0x00007FFC781DA08D (runtimecore.dll) in test.exe: 0xC0000005: Access violation reading location 0x0000000000000008. (Not in the Main thread)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I'm calling&amp;nbsp;&lt;SPAN&gt;GraphicListModel::removeOne quite often(Main thread) because I'm trying to remove Graphics objects when they go outside of the sceneview extent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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 &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyone seen the same problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using: windows 10, arcgis qt sdk 100.4 and qt 5.12.0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 11:28:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/crash-in-runtimecore-dll/m-p/286429#M1432</guid>
      <dc:creator>HenrikVatnar</dc:creator>
      <dc:date>2019-03-20T11:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Crash in runtimecore.dll</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/crash-in-runtimecore-dll/m-p/286430#M1433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you deleting the Graphics? RemoveOne will remove it from the list but will not delete the object. If you are deleting the graphic after/while you remove it from the list model, I think you are likely hitting this bug, which is fixed in 100.5 -&amp;nbsp;&lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNzQ2NA==" title="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNzQ2NA=="&gt;BUG-000117464: Modifying the graphics list and deleting the graphic..&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 18:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/crash-in-runtimecore-dll/m-p/286430#M1433</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-03-20T18:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Crash in runtimecore.dll</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/crash-in-runtimecore-dll/m-p/286431#M1434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply! Yeah it sounds like the same problem, but from&lt;/P&gt;&lt;P&gt;what I could see it seems to happen even if I avoid deleting the graphic.&lt;/P&gt;&lt;P&gt;I'm not in any rush so I'll wait for the 100.5 and see what happens. Thanks&lt;/P&gt;&lt;P&gt;again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 19:21:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/crash-in-runtimecore-dll/m-p/286431#M1434</guid>
      <dc:creator>HenrikVatnar</dc:creator>
      <dc:date>2019-03-20T19:21:34Z</dc:date>
    </item>
  </channel>
</rss>

