-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Executing the method animatePositionGeo(point.getX(), point.getY(), 0.0175) per second,ANRs one hour later #1590
Comments
I guess the question is all in the title, huh. Well, I'm not sure what to tell you. Could be losing track of memory somewhere. |
Thanks for your reply. I have upgraded WhirlyGlobe to 3.4 this week,but the problem still exists. I Draw one segment of track per second by WideVectors,and animatePositionGeo rotate to the new point,4 hours later,WhirlyGlobe cant work. this is logs: SIGSEGV(SEGV_MAPERR) #00 pc 0000000035022078 /data/app/com.xxx.xxx-sJDiKuH12nPA1KHzw07ZIQ==/base.apk #1 pc 0000000035022010 /data/app/com.xxx.xxx-sJDiKuH12nPA1KHzw07ZIQ==/base.apk #2 pc 000000003521ad30 /data/app/com.xxx.xxx-sJDiKuH12nPA1KHzw07ZIQ==/base.apk #3 pc 00000000355da9e8 /data/app/com.xxx.xxx-sJDiKuH12nPA1KHzw07ZIQ==/base.apk #4 pc 00000000355da8bc /data/app/com.xxx.xxx-sJDiKuH12nPA1KHzw07ZIQ==/base.apk #5 pc 00000000355d9464 /data/app/com.xxx.xxx-sJDiKuH12nPA1KHzw07ZIQ==/base.apk (_ZNSt6__ndk16vectorIyNS_9allocatorIyEEEC2INS_21__tree_const_iteratorIyPNS_11__tree_nodeIyPvEElEEEET_NS_9enable_ifIXaasr21__is_forward_iteratorISB_EE5valuesr16is_constructibleIyNS_15iterator_traitsISB_E9referenceEEE5valueESB_E4typeE+120) |
I presume you're deleting the old section of track? |
Yes,there is an operation to delete old tracks in the code:removeObject(gpsComponent, GlobeController.ThreadMode.ThreadCurrent). |
By running my project using source code, I obtained some logs: and 2023-07-04 08:40:11.807 2949-3630/com.xxx.xxx E/Maply: GL Error: 0x502 - OpenGLMemManager::getBufferID() glGenBuffers (ctx: 461cf180) and SIGABRT libsystem_kernel.dylib libsystem_pthread.dylib libsystem_c.dylib libGFXShared.dylib GLEngine OpenGLES WhirlyGlobeMaplyComponent WhirlyGlobeMaplyComponent WhirlyGlobeMaplyComponent WhirlyGlobeMaplyComponent WhirlyGlobeMaplyComponent WhirlyGlobeMaplyComponent WhirlyGlobeMaplyComponent QuartzCore QuartzCore CoreFoundation CoreFoundation CoreFoundation CoreFoundation CoreFoundation GraphicsServices |
Oh, does it create a texture each time? |
No description provided.
The text was updated successfully, but these errors were encountered: