<?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 Re: V100.1: m_sceneView-&amp;gt;screenToLocation causes crash in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242827#M1241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Norbert!&lt;/P&gt;&lt;P&gt;We are very very close to code freeze, but we will take a close look at this one. Thank you for the thorough test cases.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2017 01:13:51 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2017-11-22T01:13:51Z</dc:date>
    <item>
      <title>V100.1: m_sceneView-&gt;screenToLocation causes crash</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242826#M1240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is Update 2 already "code freezed"?&lt;/P&gt;&lt;P&gt;It would be very nice if ESRI could take this problem into account:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to reproduce a segmentation fault if a SceneGraphicsView is destroyed&lt;/P&gt;&lt;P&gt;(and screenToLocation where performed before).&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;Behaviour:&lt;BR /&gt; The basemap (crash should be reproducable using the topographic.tpk) is loaded and then:&lt;BR /&gt; - i resize the window and therefore the size of the scene widget ( i increase/decrease the width)&lt;BR /&gt; - move the scene using the mouse and release the button while moving&lt;BR /&gt; - destroy the scene (press 'create/destroy') while the scene is still moving&lt;BR /&gt; -&amp;gt; crash -&amp;gt; you got it -&amp;gt; verify call stack&lt;BR /&gt; -&amp;gt; create the scene again (press 'create/destroy')&lt;BR /&gt; &amp;nbsp; start at the beginning&lt;BR /&gt; &lt;BR /&gt; Based on my experience i need not more than 10 attempts to reproduce the crash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;EDIT:&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;Or you can simply use the second example "BasicSceneView_crashOnResizeDestroy_2017-11-21_automatic.tgz"&lt;BR /&gt;(Run and after several seconds....segFault)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already opened an official case "Esri Case #02020238 - [BOS] segmentation fault on destruction",&lt;/P&gt;&lt;P&gt;and i will add the BUG number if available (hopefully only in a few days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I add the same example to reproduce the issue as attached to the case.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Norbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 14:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242826#M1240</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2017-11-21T14:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: V100.1: m_sceneView-&gt;screenToLocation causes crash</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242827#M1241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Norbert!&lt;/P&gt;&lt;P&gt;We are very very close to code freeze, but we will take a close look at this one. Thank you for the thorough test cases.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 01:13:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242827#M1241</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2017-11-22T01:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: V100.1: m_sceneView-&gt;screenToLocation causes crash</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242828#M1242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to know, that the code freeze isn`t reached yet. So there is a chance that the bug can be solved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t like to put more pressure than necessary but the truth is:&lt;/P&gt;&lt;P&gt;We need this bug to be solved or a 100%workaround until mid of February!&lt;/P&gt;&lt;P&gt;Almost certainly we have to escalate this bug otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Norbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 07:47:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242828#M1242</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2017-11-22T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: V100.1: m_sceneView-&gt;screenToLocation causes crash</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242829#M1243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Norbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using your test apps, I am trying the best I can to segfault....but no luck. This is Suse linux 64, yes? Which version of Qt? 5.9?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 00:01:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242829#M1243</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2017-11-23T00:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: V100.1: m_sceneView-&gt;screenToLocation causes crash</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242830#M1244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS: V100.1&lt;/LI&gt;&lt;LI&gt;OpenSuse 42.3 x86_64&lt;/LI&gt;&lt;LI&gt;Qt: 5.9.1&lt;/LI&gt;&lt;LI&gt;gcc: gcc version 4.8.5&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second example reproduces the problem in ~2 seconds&lt;/P&gt;&lt;P&gt;The first example requires manual interaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the&amp;nbsp; description:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the ESRI example 'BasicSceneView' to show a simple 3D scene.&lt;/P&gt;&lt;P&gt;I modified the user interface (ui) to create/destroy the sceneView clicking on a button.&lt;BR /&gt;(Use case: create an application and the use can switch between 2D and 3D.)&lt;/P&gt;&lt;P&gt;I add a timer calling m_sceneView-&amp;gt;screenToLocation every 50ms.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Behaviour:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;The basemap (crash should be reproducable using the topographic.tpk) is loaded and then:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- i resize the window and therefore the size of the scene widget ( i increase/decrease the width)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- move the scene using the mouse and release the button while moving&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- destroy the scene (press 'create/destroy') while the scene is still moving&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;-&amp;gt; crash -&amp;gt; you got it -&amp;gt; verify call stack&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;-&amp;gt; create the scene again (press 'create/destroy')&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; start at the beginning&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Based on my experience i need not more than 10 attempts to reproduce the crash.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assumption:&lt;BR /&gt;The asynchron operation 'screenToLocation' is performed in a seperate thread (maybe more than one at the same time)&lt;BR /&gt;and there a not synchronized correctly while shutting down the scene/sceneView.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[Maybe the situation causing the problem is focused here!?&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F44160753%2Fstrange-shared-ptr-behaviour" rel="nofollow" target="_blank"&gt;https://stackoverflow.com/questions/44160753/strange-shared-ptr-behaviour&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fyoutu.be%2FJfmTagWcqoE%3Ft%3D13m" rel="nofollow" target="_blank"&gt;https://youtu.be/JfmTagWcqoE?t=13m&lt;/A&gt;&lt;SPAN&gt;)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(gdb) bt&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#0 0x00007fffec25aeea in ?? () from /usr/lib64/libnvidia-glcore.so.384.69&lt;BR /&gt;#1 0x00007fffec2b9687 in ?? () from /usr/lib64/libnvidia-glcore.so.384.69&lt;BR /&gt;#2 0x00007fffec2b97ee in ?? () from /usr/lib64/libnvidia-glcore.so.384.69&lt;BR /&gt;#3 0x00007fffec2b24e6 in ?? () from /usr/lib64/libnvidia-glcore.so.384.69&lt;BR /&gt;#4 0x00007fffebef297b in ?? () from /usr/lib64/libnvidia-glcore.so.384.69&lt;BR /&gt;#5 0x00007fffebef37f6 in ?? () from /usr/lib64/libnvidia-glcore.so.384.69&lt;BR /&gt;#6 0x00007ffff144487e in ?? () from /usr/lib64/libruntimecore.so&lt;BR /&gt;#7 0x00007ffff145257b in ?? () from /usr/lib64/libruntimecore.so&lt;BR /&gt;#8 0x00007ffff0afcadf in ?? () from /usr/lib64/libruntimecore.so&lt;BR /&gt;#9 0x00007ffff0507404 in ?? () from /usr/lib64/libruntimecore.so&lt;BR /&gt;#10 0x00007fffefe77212 in RT_GeoView_pause () from /usr/lib64/libruntimecore.so&lt;BR /&gt;#11 0x00007ffff755ae36 in ESRI::RuntimeCore::QRTGeoView::pause(ESRI::RuntimeCore::QRTDevice*, ESRI::RuntimeCore::QRTGraphicsHardwareResources) () from /usr/lib64/libEsriCommonQt.so&lt;BR /&gt;#12 0x00007ffff784a065 in QRTImpl::GeoViewImpl::pause(std::shared_ptr&amp;lt;QRTImpl::DeviceImpl&amp;gt; const&amp;amp;, QRTImpl::GraphicsHardwareResources) () from /usr/lib64/libEsriCommonQt.so&lt;BR /&gt;#13 0x00000000004c4b5a in Esri::ArcGISRuntime::GeoView::pauseAndRecycleResources() ()&lt;BR /&gt;#14 0x00000000004d5c37 in Esri::ArcGISRuntime::SceneGraphicsScene::~SceneGraphicsScene() ()&lt;BR /&gt;#15 0x00000000004d5c49 in Esri::ArcGISRuntime::SceneGraphicsScene::~SceneGraphicsScene() ()&lt;BR /&gt;#16 0x000000000048e419 in Esri::ArcGISRuntime::SceneGraphicsView::~SceneGraphicsView() ()&lt;BR /&gt;#17 0x000000000048e469 in Esri::ArcGISRuntime::SceneGraphicsView::~SceneGraphicsView() ()&lt;BR /&gt;#18 0x00000000004734e2 in MyWidget::~MyWidget() ()&lt;BR /&gt;#19 0x00000000004735c9 in MyWidget::~MyWidget() ()&lt;BR /&gt;#20 0x0000000000474132 in BasicSceneView::onCreateDestroy() ()&lt;BR /&gt;#21 0x00007ffff4cbb493 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5&lt;BR /&gt;#22 0x00007ffff65d3e72 in QAbstractButton::clicked(bool) () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#23 0x00007ffff65d407a in ?? () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#24 0x00007ffff65d5573 in ?? () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#25 0x00007ffff65d56e4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#26 0x00007ffff6463507 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#27 0x00007ffff6425b6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#28 0x00007ffff642cf5c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#29 0x00007ffff4c91935 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5&lt;BR /&gt;#30 0x00007ffff642bdd9 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&amp;lt;QWidget&amp;gt;&amp;amp;, bool) () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#31 0x00007ffff647bc11 in ?? () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#32 0x00007ffff647e173 in ?? () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#33 0x00007ffff6425b6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#34 0x00007ffff642c8c0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5&lt;BR /&gt;#35 0x00007ffff4c91935 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5&lt;BR /&gt;#36 0x00007ffff5cb34ed in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5&lt;BR /&gt;#37 0x00007ffff5cb50a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5&lt;BR /&gt;#38 0x00007ffff5c938ab in QWindowSystemInterface::sendWindowSystemEvents(QFlags&amp;lt;QEventLoop::ProcessEventsFlag&amp;gt;) () from /usr/lib64/libQt5Gui.so.5&lt;BR /&gt;#39 0x00007fffe79a0ec0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5&lt;BR /&gt;#40 0x00007fffed21e134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 08:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/v100-1-m-sceneview-gt-screentolocation-causes/m-p/242830#M1244</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2017-11-23T08:15:20Z</dc:date>
    </item>
  </channel>
</rss>

