AnsweredAssumed Answered

periodic setViewpointCenter call

Question asked by shibatahd on Aug 18, 2017
Latest reply on Sep 25, 2017 by LDanzinger-esristaff
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,

Attachments

Outcomes