Hi, I experienced random crash with about 10Hz setViewpointCenter call. I'm receiving GPS coordinate and move a symbol on the map. When user select auto-track function, I just call setViewpointCenter to center the symbol for each coordinate update. It works for a while, but it crash randomly. I thought 10Hz is too fast, so I check DrawStatus like this.if(_mapView->drawStatus()==DrawStatus::Completed){
_mapView->setViewpointCenter(pt);}
But I'm still getting random (time from start app, usually less than 1 minute) crash.
If I commented out setViewpointCenter, never crashed.
I got crash message when Debug build mode. Please see attached file.
Windows 10 pro, VS2015 64bit, QT 5.9.1, SDK is 100.1
Is there any solution?
Regards,
Solved! Go to Solution.
As we are not able to reproduce the issue on several machines, could you please log a support ticket with Esri Support Services so that they can further test and triage the issue?
What version of the SDK are you using? We have a suspicion that this issue is fixed with 100.2, but are not certain.
Lucas, I would like to try 100.2. Where can I get it?
Regards,
Hideki
Sorry for the lack of clarity from my earlier statement. Update 2 is not yet available, but we have been working on fixing a problem that sounds similar to this. If you can send me an example project that reproduces the issue, I can test it out to see if it is indeed fixed or not.
Hi Lucas,
I just made minimum project. Please see attached crash_test1.zip
In this code, crash happens less frequent than my actual project.
(I just use setViewpointCenter for this crash_test1 code, my actual project has more function like display polyline, icons etc.)
But I could see same crash using crash_test1 project.
This is critical crash, user can not continue their job and loose everything.
Could you release SDK like version 100.1.1 for those critical crash? Or could you give me workaround method?
Regards,
Hideki
Thanks Hideki. I've had it running on Windows 5.9.1 64 bit msvc2015 and Mac 5.9.1 for about 3 hours and it has not crashed yet. How long does it typically take? Also, do you need to do anything other than just start it up?
Hi Lucas,
Thank you for testing.
In my side, I tried a few different computers, I see this crash problem on all computers.
All computer has different configulation.
1) Core i3-6100U, 16GB ram, SSD has enough space, intel graphics. Windows 10 pro 64bit. network via WiFi (cable internet)
2) Core i5-3330, 16GB ram, SSD, GeForce GTX 980, Windows 10 pro 64bit. network via Wired ethernet, (cable internet)
3) Core i7-4790, 32GB ram, SSD, GeForce GTX 970, Windows 7 pro 64bit. network via WiFi (4G LTE mobile router)
I feel network access is related to crash. sometime it crash very quick, sometime it crash after 10 minutes.
Which version of OpenSSL you are using?
I am using 2 dlls in this archive, I just copy them beside exe file.
https://indy.fulgan.com/SSL/openssl-1.0.2l-x64_86-win64.zip
I believe those tiles are cached in local storage area for temporary use, do you know where those tiles are stored?
I would like to ask you to clear those cache and test again.
Regards,
Hideki
As we are not able to reproduce the issue on several machines, could you please log a support ticket with Esri Support Services so that they can further test and triage the issue?
Hi Lucas,
Thank you for investigating my issue.
I will ask Esri support service.
Before that, I would like to ask you which version did you test,Windows, QT and OpenSSL.
I would like to run test code on same environment.
Regards,
Hideki
Tested on the following:
1)
Windows 10 64 bit
Intel i7 2.7.0 GHz
16 GB RAM
Qt 5.6.2 and Qt 5.9.1
OpenSSL 1.0.2 (the dlls are in our sample viewers we ship with the SDK)
2)
macOS Sierra
Intel i7 2.6 GHz
16 GB RAM
Qt 5.9.1