Trying to start a new destination after ending a travel route
SArrueLorca opened this issue · 0 comments
SArrueLorca commented
Hi Mapbox team and Github users. I am building an app for buses that requires traveling between bus stops whose coordinates are put by the final user. So, i require to change the coordinates in Mapbox everytime that i visit a bus stop to the next one. When i reset the coordinates provided by a view to the next bus stop, Mapbox crashes.
This is the log showing the crash:
04-15 10:49:09.066 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.066 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.066 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `getMetersPerPixelAtLatitude` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.067 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.115 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.115 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.115 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.115 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.115 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.115 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.116 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.134 2968 2968 E Mbgl-NativeMapView: You're calling `cancelTransitions` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.134 2968 2968 E Mbgl-NativeMapView: You're calling `jumpTo` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:09.134 2968 2968 E Mbgl-NativeMapView: You're calling `getCameraValues` after the `MapView` was destroyed, were you invoking it after `onDestroy()`?
04-15 10:49:10.184 19550 19550 E libc : Access denied finding property "ro.vendor.at_library"
04-15 10:49:10.613 2968 12009 E libc : failed to connect to tombstoned: Permission denied
--------- beginning of crash
04-15 10:49:10.659 2968 12009 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-15 10:49:10.659 2968 12009 F DEBUG : Build fingerprint: 'qti/apollo/msm8953_64:9/V1.5.0/zyh06252303:user/release-keys'
04-15 10:49:10.659 2968 12009 F DEBUG : Revision: '0'
04-15 10:49:10.659 2968 12009 F DEBUG : ABI: 'arm'
04-15 10:49:10.659 2968 12009 F DEBUG : pid: 2968, tid: 12009, name: com.buses3 >>> com.buses3 <<<
04-15 10:49:10.659 2968 12009 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
04-15 10:49:10.659 2968 12009 F DEBUG : Cause: null pointer dereference
04-15 10:49:10.659 2968 12009 F DEBUG : r0 00000000 r1 00000000 r2 00000001 r3 80000000
04-15 10:49:10.659 2968 12009 F DEBUG : r4 ba1d4e34 r5 00000001 r6 00000000 r7 ba1d4e00
04-15 10:49:10.659 2968 12009 F DEBUG : r8 c5d67680 r9 cc5af000 r10 ba1d4e80 r11 cc5af000
04-15 10:49:10.659 2968 12009 F DEBUG : ip c3f9ee6c sp ba1d4df8 lr c3ce3d73 pc c3ce3e32
04-15 10:49:10.969 2968 12009 F DEBUG :
04-15 10:49:10.969 2968 12009 F DEBUG : backtrace:
04-15 10:49:10.969 2968 12009 F DEBUG : #00 pc 000c8e32 /data/app/com.buses3-g7hW_29IlWGAlaUM9lBJQg==/lib/arm/libmapbox-gl.so
04-15 10:49:10.969 2968 12009 F DEBUG : #01 pc 000c8d6f /data/app/com.buses3-g7hW_29IlWGAlaUM9lBJQg==/lib/arm/libmapbox-gl.so
04-15 10:49:10.969 2968 12009 F DEBUG : #02 pc 0006a765 /data/app/com.buses3-g7hW_29IlWGAlaUM9lBJQg==/lib/arm/libmapbox-gl.so
04-15 10:49:10.969 2968 12009 F DEBUG : #03 pc 00411c79 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
04-15 10:49:10.969 2968 12009 F DEBUG : #04 pc 000dc95f <anonymous:d02c2000> (com.mapbox.mapboxsdk.maps.renderer.MapRenderer.onDrawFrame+86)
04-15 10:49:10.969 2968 12009 F DEBUG : #05 pc 000624a1 <anonymous:d02c2000> (com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.GLSurfaceViewMapRenderer.onDrawFrame+40)
04-15 10:49:10.969 2968 12009 F DEBUG : #06 pc 0009ee0d <anonymous:d02c2000> (com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.MapboxGLSurfaceView$GLThread.guardedRun+2564)
04-15 10:49:10.969 2968 12009 F DEBUG : #07 pc 0040d775 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
04-15 10:49:10.969 2968 12009 F DEBUG : #08 pc 003e72d1 /system/lib/libart.so (art_quick_invoke_stub+224)
04-15 10:49:10.969 2968 12009 F DEBUG : #09 pc 000a103d /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
04-15 10:49:10.969 2968 12009 F DEBUG : #10 pc 001e5b09 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+236)
04-15 10:49:10.969 2968 12009 F DEBUG : #11 pc 001c4c97 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3921439005+158)
04-15 10:49:10.969 2968 12009 F DEBUG : #12 pc 001c9459 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
04-15 10:49:10.969 2968 12009 F DEBUG : #13 pc 001e05df /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
04-15 10:49:10.969 2968 12009 F DEBUG : #14 pc 003e2db9 /system/lib/libart.so (MterpInvokeDirect+196)
04-15 10:49:10.969 2968 12009 F DEBUG : #15 pc 00400614 /system/lib/libart.so (ExecuteMterpImpl+14484)
04-15 10:49:10.969 2968 12009 F DEBUG : #16 pc 0010080c <anonymous:cbc3a000> (com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.MapboxGLSurfaceView$GLThread.run+48)
04-15 10:49:10.969 2968 12009 F DEBUG : #17 pc 001c4d73 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3921439005+378)
04-15 10:49:10.969 2968 12009 F DEBUG : #18 pc 001c939f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
04-15 10:49:10.969 2968 12009 F DEBUG : #19 pc 003d5a11 /system/lib/libart.so (artQuickToInterpreterBridge+880)
04-15 10:49:10.969 2968 12009 F DEBUG : #20 pc 00411cff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
04-15 10:49:10.969 2968 12009 F DEBUG : #21 pc 0040d775 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
04-15 10:49:10.969 2968 12009 F DEBUG : #22 pc 003e72d1 /system/lib/libart.so (art_quick_invoke_stub+224)
04-15 10:49:10.969 2968 12009 F DEBUG : #23 pc 000a103d /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
04-15 10:49:10.969 2968 12009 F DEBUG : #24 pc 00348205 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
04-15 10:49:10.969 2968 12009 F DEBUG : #25 pc 00348f5d /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+320)
04-15 10:49:10.969 2968 12009 F DEBUG : #26 pc 00369eef /system/lib/libart.so (art::Thread::CreateCallback(void*)+866)
04-15 10:49:10.969 2968 12009 F DEBUG : #27 pc 00071dfd /system/lib/libc.so (__pthread_start(void*)+22)
04-15 10:49:10.969 2968 12009 F DEBUG : #28 pc 0001de85 /system/lib/libc.so (__start_thread+24)
04-15 10:49:11.429 1506 1731 E InputDispatcher: channel '66ed2ac com.buses3/com.buses3.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
Considering this log, i have the following questions: It is there a solution if i want to keep this multiple travel method between bus stops?. If not, am i obliged to do a single route while i put the bus stops in it?. And: Is there a form to add icons to the map?