PDA

View Full Version : Map is crashed in Android Demo 2.4



jeffhtli
05.03.2015, 10:24
It's great that SKmaps SDK 2.4 released.

There is a bug in Android Demo 2.4, May be it is a bug of SDK 2.4 because my app has same problem after I upgrade to 2.4
details as following:

Reproduce step:
1. Install demo 2.4 and open
2. Open menu and select "Interaction between maps"
3. Click the detail pop-up on map, then go to detail screen.
4. Press back to previous screen and check, the map is broken, please refer to snapshot
1961
5. Pan the map, Demo is crashed, log from logcat:


03-05 15:38:21.299 28469-28519/com.skobbler.sdkdemo E/AndroidRuntime﹕ FATAL EXCEPTION: Thread-4806
Process: com.skobbler.sdkdemo, PID: 28469
java.lang.NullPointerException
at com.skobbler.ngx.map.MapRenderer.animationsFinishe dCallback(SourceFile:1322)
at dalvik.system.NativeStart.run(Native Method)


My device: The new HTC One (HTC 802w), Android 4.4.3

Adela_Silvia
05.03.2015, 17:43
Thank you jeffhtli for your post.
We'll investigate this immediately.

alex21975
23.03.2015, 15:12
I have the same problem in demo application and in my own app. Here is the full stacktrace from demo app:
03-23 16:01:22.364 17578-17578/com.skobbler.sdkdemo E/InputEventReceiver﹕ Exception dispatching input event.
03-23 16:01:22.366 17578-17578/com.skobbler.sdkdemo E/MessageQueue-JNI﹕ Exception in MessageQueue callback: handleReceiveCallback
03-23 16:01:22.438 17578-17578/com.skobbler.sdkdemo E/MessageQueue-JNI﹕ java.lang.NullPointerException
at com.skobbler.ngx.map.MapRenderer.animationsFinishe dCallback(SourceFile:1322)
at com.skobbler.ngx.map.MapRenderer.notifytargettouch (Native Method)
at com.skobbler.ngx.map.MapRenderer.a(SourceFile:929)
at com.skobbler.ngx.map.SKMapSurfaceView.onTouchEvent (SourceFile:717)
at android.view.View.dispatchTouchEvent(View.java:729 8)
at android.view.ViewGroup.dispatchTransformedTouchEve nt(ViewGroup.java:2248)
at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:1953)
at android.view.ViewGroup.dispatchTransformedTouchEve nt(ViewGroup.java:2248)
at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:1953)
at android.view.ViewGroup.dispatchTransformedTouchEve nt(ViewGroup.java:2248)
at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:1953)
at android.view.ViewGroup.dispatchTransformedTouchEve nt(ViewGroup.java:2248)
at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:1953)
at android.view.ViewGroup.dispatchTransformedTouchEve nt(ViewGroup.java:2248)
at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:1953)
at android.view.ViewGroup.dispatchTransformedTouchEve nt(ViewGroup.java:2248)
at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:1953)
at com.android.internal.policy.impl.PhoneWindow$Decor View.superDispatchTouchEvent(PhoneWindow.java:2057 )
at com.android.internal.policy.impl.PhoneWindow.super DispatchTouchEvent(PhoneWindow.java:1509)
at android.app.Activity.dispatchTouchEvent(Activity.j ava:2436)
at com.android.internal.policy.impl.PhoneWindow$Decor View.dispatchTouchEvent(PhoneWindow.java:2005)
at android.view.View.dispatchPointerEvent(View.java:7 478)
at android.view.ViewRootImpl.deliverPointerEvent(View RootImpl.java:3717)
at android.view.ViewRootImpl.deliverInputEvent(ViewRo otImpl.java:3645)
at android.view.ViewRootImpl.doProcessInputEvents(Vie wRootImpl.java:4897)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRo otImpl.java:4857)
at android.view.ViewRootImpl$WindowInputEventReceiver .onInputEvent(ViewRootImpl.java:5009)
at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:179)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:128 )
at android.os.Looper.loop(Looper.java:140)
at android.app.ActivityThread.main(ActivityThread.jav a:5330)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:841)
at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:608)
at dalvik.system.NativeStart.main(Native Method)

My device: Lenovo P780.

Adela_Silvia
24.03.2015, 17:15
Thank you for the observation- this is a known issue that will be fixed in the next release.

oximer
27.03.2015, 17:57
I just install the demo, I can't execute it.
I simply break on the first screen. It is very weird.
I just download it and install it on my genymotion.
The error reamins in my real smartphone.


03-27 15:33:43.296 340-616/system_process I/ActivityManager﹕ START {cmp=com.skobbler.sdkdemo/.activity.MapActivity u=0} from pid 1597
03-27 15:33:43.324 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKMapInitSettings---- Map style SKMapViewStyle{resourceFolderPath='/data/data/com.skobbler.sdkdemo/files/SKMaps/daystyle/', styleFileName='daystyle.json', styleDetail=null, displayPixelDensity=null}
03-27 15:33:43.328 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKMapSurfaceView----SKMapSurfaceView constructor
03-27 15:33:43.328 1597-1597/com.skobbler.sdkdemo D/dalvikvm﹕ Trying to load lib /data/data/com.skobbler.sdkdemo/lib/libngnative.so 0xa6d77768
03-27 15:33:43.332 1597-1597/com.skobbler.sdkdemo D/dalvikvm﹕ Shared lib '/data/data/com.skobbler.sdkdemo/lib/libngnative.so' already loaded in same CL 0xa6d77768
03-27 15:33:43.332 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ MapRenderer----Set map density 2.0
03-27 15:33:43.332 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKMapSurfaceView----SKMapSurfaceView constructor preserved GL Context is true
03-27 15:33:43.332 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKMapSurfaceView----@onPause
03-27 15:33:43.332 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKMapSurfaceView----@onPause preserver GlContext is TRUE
03-27 15:33:43.332 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKCalloutView----Image path = /data/data/com.skobbler.sdkdemo/files/SKMaps//res/xhdpi/icon_map_popup_navigate.png
03-27 15:33:43.336 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKCalloutView----Image path = /data/data/com.skobbler.sdkdemo/files/SKMaps//res/xhdpi/icon_map_popup_arrow.png
03-27 15:33:43.388 340-605/system_process W/GpsLocationProvider﹕ Duplicate add listener for uid 10048
03-27 15:33:43.388 340-693/system_process I/LocationManagerService﹕ request gps (pid 1597) 0 0
03-27 15:33:43.388 532-532/com.android.systemui D/PhoneStatusBar﹕ addNotification score=10
03-27 15:33:43.396 340-340/system_process I/LocationManagerService﹕ request passive (pid 1597) 0 0
03-27 15:33:43.404 1597-1597/com.skobbler.sdkdemo D/dalvikvm﹕ Trying to load lib /data/data/com.skobbler.sdkdemo/lib/libngnative.so 0xa6d77768
03-27 15:33:43.404 1597-1597/com.skobbler.sdkdemo D/dalvikvm﹕ Shared lib '/data/data/com.skobbler.sdkdemo/lib/libngnative.so' already loaded in same CL 0xa6d77768
03-27 15:33:43.404 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKVersionManager----setMapUpdateListener - com.skobbler.sdkdemo.activity.MapActivity@53b737d4
03-27 15:33:43.404 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKMapSurfaceView----@onResume
03-27 15:33:43.404 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKMapSurfaceView----@onResume preserve GL context is TRUE
03-27 15:33:43.412 1597-1597/com.skobbler.sdkdemo D/﹕ HostConnection::get() New Host Connection established 0xb8bf4ac8, tid 1597
03-27 15:33:43.464 532-532/com.android.systemui V/PhoneStatusBar﹕ setLightsOn(true)
03-27 15:33:43.468 1597-1628/com.skobbler.sdkdemo D/libEGL﹕ loaded /system/lib/egl/libEGL_genymotion.so
03-27 15:33:43.472 1597-1628/com.skobbler.sdkdemo D/﹕ HostConnection::get() New Host Connection established 0xb8b85a50, tid 1628
03-27 15:33:43.520 1597-1628/com.skobbler.sdkdemo D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_genymotion.so
03-27 15:33:43.520 1597-1628/com.skobbler.sdkdemo D/libEGL﹕ loaded /system/lib/egl/libGLESv2_genymotion.so
03-27 15:33:43.556 340-343/system_process D/dalvikvm﹕ GC_CONCURRENT freed 803K, 17% free 14415K/17351K, paused 1ms+3ms, total 80ms
03-27 15:33:43.660 1597-1628/com.skobbler.sdkdemo D/SKMaps﹕ MapRenderer----@onSurfaceCreated
03-27 15:33:43.660 1597-1628/com.skobbler.sdkdemo D/SKMaps﹕ MapRenderer----@onSurfaceCreated LinInitialized = true
03-27 15:33:43.660 1597-1628/com.skobbler.sdkdemo D/SKMaps﹕ MapRenderer---- @initGLView
03-27 15:33:43.664 1597-1628/com.skobbler.sdkdemo D/SkobblerNG﹕ set density JNI - before NG_SetScreenScale
03-27 15:33:43.664 1597-1628/com.skobbler.sdkdemo D/SkobblerNG﹕ set density JNI - after NG_SetScreenScale
03-27 15:33:43.688 1597-1624/com.skobbler.sdkdemo D/SKMaps﹕ SKVersionManager---- newversioncallback updatemapversionstatus=-1
03-27 15:33:43.688 1597-1624/com.skobbler.sdkdemo D/SKMaps﹕ SKVersionManager----Version file update status = -1 nothing to update
03-27 15:33:43.688 1597-1624/com.skobbler.sdkdemo D/SKMaps﹕ SKVersionManager----Request done at startup
03-27 15:33:43.688 1597-1624/com.skobbler.sdkdemo D/SKMaps﹕ SKVersionManager----Current version is 20141230
03-27 15:33:43.688 1597-1624/com.skobbler.sdkdemo D/SKMaps﹕ SKVersionManager---- Map has a version = 20141230 mapVersionSet =true
03-27 15:33:43.688 1597-1624/com.skobbler.sdkdemo D/SKMaps﹕ SKVersionManager----mapVersionSet = true, mapUpdateListener = com.skobbler.sdkdemo.activity.MapActivity@53b737d4
03-27 15:33:44.128 340-387/system_process I/ActivityManager﹕ Displayed com.skobbler.sdkdemo/.activity.MapActivity: +829ms (total +1s677ms)
03-27 15:33:44.296 1597-1597/com.skobbler.sdkdemo W/SKMaps﹕ MapRenderer----@onGLInitializationError called main
03-27 15:33:44.296 1597-1628/com.skobbler.sdkdemo D/SkobblerNG﹕ NG_SetCCPIcon(12)
03-27 15:33:44.296 1597-1597/com.skobbler.sdkdemo W/SKMaps﹕ MapRenderer----@onSurfaceCreated called main
03-27 15:33:44.296 1597-1597/com.skobbler.sdkdemo D/SKMaps﹕ SKMapSurfaceView----Set map follower mode NONE
03-27 15:33:44.300 1597-1628/com.skobbler.sdkdemo D/SKMaps﹕ MapRenderer----onSurfaceChanged width = 1920 height= 1004
03-27 15:33:44.304 1597-1628/com.skobbler.sdkdemo A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1628 (Thread-118)
03-27 15:33:44.420 121-121/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-27 15:33:44.420 121-121/? I/DEBUG﹕ Build fingerprint: 'generic/vbox86tp/vbox86tp:4.1.1/JRO03S/eng.buildbot.20150217.103511:userdebug/test-keys'
03-27 15:33:44.420 121-121/? I/DEBUG﹕ pid: 1597, tid: 1628, name: Thread-118 >>> com.skobbler.sdkdemo <<<
03-27 15:33:44.420 121-121/? I/DEBUG﹕ signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
03-27 15:33:44.472 340-473/system_process I/qtaguid﹕ Failed write_ctrl(s 0 10021) res=-1 errno=1
03-27 15:33:44.472 340-473/system_process W/NetworkManagementSocketTagger﹕ setKernelCountSet(10021, 0) failed with errno -1
03-27 15:33:44.588 121-121/? I/DEBUG﹕ eax 00000000 ebx 997e9b20 ecx b8d8f860 edx 9983217c
03-27 15:33:44.588 121-121/? I/DEBUG﹕ esi 00000003 edi 9983217c
03-27 15:33:44.588 121-121/? I/DEBUG﹕ xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
03-27 15:33:44.588 121-121/? I/DEBUG﹕ eip 9912c990 ebp 999388c8 esp 99938800 flags 00010297
03-27 15:33:44.588 121-121/? I/DEBUG﹕ backtrace:
03-27 15:33:44.588 121-121/? I/DEBUG﹕ #00 pc 00168990 /data/data/com.skobbler.sdkdemo/lib/libngnative.so (MapRenderer::setupDraw()+3824)
03-27 15:33:44.588 121-121/? I/DEBUG﹕ #01 pc 00167600 /data/data/com.skobbler.sdkdemo/lib/libngnative.so (MapRenderer::Draw(bool)+400)
03-27 15:33:44.588 121-121/? I/DEBUG﹕ #02 pc 00166dbe /data/data/com.skobbler.sdkdemo/lib/libngnative.so (MapRenderer::DrawWrapper(bool)+142)
03-27 15:33:44.588 121-121/? I/DEBUG﹕ #03 pc 001220bd /data/data/com.skobbler.sdkdemo/lib/libngnative.so (NG_Render+237)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #04 pc 000f7365 /data/data/com.skobbler.sdkdemo/lib/libngnative.so (Java_com_skobbler_ngx_map_MapRenderer_render+37)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #05 pc 0001aea0 /system/lib/libdvm.so (dvmPlatformInvoke+80)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #06 pc 000608f9 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+489)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #07 pc 0006bb0d /system/lib/libdvm.so (dvmResolveNativeMethod(unsigned int const*, JValue*, Method const*, Thread*)+317)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #08 pc 000c6008 /system/lib/libdvm.so
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #09 pc 00029406 /system/lib/libdvm.so (dvmMterpStd(Thread*)+70)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #10 pc 000265d0 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+160)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #11 pc 00091779 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, char*)+601)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #12 pc 00091886 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+54)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #13 pc 00077c33 /system/lib/libdvm.so (interpThreadStart(void*)+755)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #14 pc 00010870 /system/lib/libc.so (__thread_entry+240)
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #15 pc 00019755 /system/lib/libc.so
03-27 15:33:44.592 121-121/? I/DEBUG﹕ stack:
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387c0 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387c4 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387c8 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387cc 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387d0 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387d4 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387d8 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387dc 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387e0 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387e4 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387e8 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387ec 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387f0 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387f4 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387f8 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999387fc 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #00 99938800 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938804 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938808 447b0000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 9993880c 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938810 b8d8d468 [heap]
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938814 4b898586
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938818 96369a48
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 9993881c 44876a90
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938820 96369bd4
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938824 3ef6b01d
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938828 4b27ebbe
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 9993882c 4164fd77
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938830 4b898496
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938834 41713092
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 99938838 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 9993883c 402a39d7
03-27 15:33:44.592 121-121/? I/DEBUG﹕ ........ ........
03-27 15:33:44.592 121-121/? I/DEBUG﹕ #01 999388d0 96369008
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388d4 000003e8
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388d8 000003e8
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388dc 00000000
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388e0 124e44f0
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388e4 000003e8
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388e8 000003e8
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388ec 9646b428
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388f0 55157858
03-27 15:33:44.592 121-121/? I/DEBUG﹕ 999388f4 997ebeb0
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 999388f8 99938948 [stack:1628]
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 999388fc 9929983c /data/data/com.skobbler.sdkdemo/lib/libngnative.so (ReRenderTimer::refreshForMapRequest()+108)
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938900 124e44f0
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938904 00000000
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938908 000003e8
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 9993890c 00000000
03-27 15:33:44.596 121-121/? I/DEBUG﹕ ........ ........
03-27 15:33:44.596 121-121/? I/DEBUG﹕ #02 99938950 96369008
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938954 00000001
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938958 b75c043b /system/lib/libc.so (pthread_mutex_lock+11)
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 9993895c 997e9b20 /data/data/com.skobbler.sdkdemo/lib/libngnative.so
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938960 9982dcf8
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938964 9982dd00
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938968 00000000
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 9993896c 00000001
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938970 9982dd00
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938974 b8bccb20 [heap]
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938978 00000000
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 9993897c 00000015
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938980 b8c0c588 [heap]
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938984 a77b0710 /dev/ashmem/dalvik-heap (deleted)
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 99938988 b75c043b /system/lib/libc.so (pthread_mutex_lock+11)
03-27 15:33:44.596 121-121/? I/DEBUG﹕ 9993898c 997e9b20 /data/data/com.skobbler.sdkdemo/lib/libngnative.so
03-27 15:33:44.596 121-121/? I/DEBUG﹕ ........ ........
03-27 15:33:44.736 340-691/system_process I/WindowState﹕ WIN DEATH: Window{538f8b2c SurfaceView paused=false}
03-27 15:33:44.736 340-693/system_process I/ActivityManager﹕ Process com.skobbler.sdkdemo (pid 1597) has died.
03-27 15:33:44.736 340-693/system_process W/ActivityManager﹕ Force removing ActivityRecord{53778c6c com.skobbler.sdkdemo/.activity.MapActivity}: app died, no saved state
03-27 15:33:44.736 340-351/system_process I/LocationManagerService﹕ remove passive (pid 340), next minTime = 0
03-27 15:33:44.736 340-605/system_process W/GpsLocationProvider﹕ Unneeded remove listener for uid 1000
03-27 15:33:44.736 340-473/system_process I/qtaguid﹕ Failed write_ctrl(s 0 10048) res=-1 errno=1
03-27 15:33:44.736 340-473/system_process W/NetworkManagementSocketTagger﹕ setKernelCountSet(10048, 0) failed with errno -1
03-27 15:33:44.736 340-392/system_process I/InputDispatcher﹕ Dropping event because there is no focused window or focused application.
03-27 15:33:44.736 340-392/system_process I/InputDispatcher﹕ Dropping event because there is no focused window or focused application.
03-27 15:33:44.736 340-351/system_process I/LocationManagerService﹕ remove gps (pid 340), disabled
03-27 15:33:44.740 340-351/system_process I/WindowState﹕ WIN DEATH: Window{5373c504 Toast paused=false}
03-27 15:33:44.744 340-674/system_process I/WindowState﹕ WIN DEATH: Window{53821ab4 com.skobbler.sdkdemo/com.skobbler.sdkdemo.activity.MapActivity paused=false}
03-27 15:33:44.748 340-473/system_process I/qtaguid﹕ Failed write_ctrl(s 1 10021) res=-1 errno=1
03-27 15:33:44.748 340-473/system_process W/NetworkManagementSocketTagger﹕ setKernelCountSet(10021, 1) failed with errno -1
03-27 15:33:44.752 177-177/? D/Zygote﹕ Process 1597 terminated by signal (11)
03-27 15:33:44.808 725-725/com.android.launcher W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
03-27 15:33:44.808 340-691/system_process W/InputMethodManagerService﹕ Got RemoteException sending setActive(false) notification to pid 1597 uid 10048
03-27 15:33:44.856 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8bd7208): name, size, mSize = 508, 1600, 853568
03-27 15:33:44.864 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8b83540): name, size, mSize = 509, 128, 853696
03-27 15:33:44.864 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8b84298): name, size, mSize = 510, 256, 853952
03-27 15:33:44.876 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8cfc968): name, size, mSize = 512, 65536, 919488
03-27 15:33:44.888 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8d59870): name, size, mSize = 513, 65536, 985024
03-27 15:33:44.892 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8d71000): name, size, mSize = 514, 65536, 1050560
03-27 15:33:44.900 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8d70f30): name, size, mSize = 515, 65536, 1116096
03-27 15:33:44.908 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8d712b0): name, size, mSize = 516, 65536, 1181632
03-27 15:33:44.916 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8cdbc80): name, size, mSize = 517, 65536, 1247168
03-27 15:33:44.920 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8cfbae8): name, size, mSize = 518, 65536, 1312704
03-27 15:33:44.936 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8bbb390): name, size, mSize = 519, 65536, 1378240
03-27 15:33:44.936 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8d57fb0): name, size, mSize = 520, 65536, 1443776
03-27 15:33:44.936 340-353/system_process W/NotificationService﹕ Object died trying to hide notification android.app.ITransientNotification$Stub$Proxy@537e c588 in package com.skobbler.sdkdemo
03-27 15:33:44.944 725-725/com.android.launcher D/OpenGLRenderer﹕ TextureCache::get: create texture(0xb8cedc38): name, size, mSize = 521, 65536, 1509312
03-27 15:35:11.888 57-57/? D/Genyd﹕ Received Set Clipboard
03-27 15:35:11.888 57-57/? D/Genymotion﹕ Received Set Clipboard
03-27 15:35:11.888 340-491/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:35:11.888 340-491/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:35:11.888 340-353/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:35:11.888 340-353/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:35:11.888 340-353/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:35:16.208 579-582/com.android.inputmethod.latin D/dalvikvm﹕ GC_CONCURRENT freed 402K, 5% free 11052K/11591K, paused 1ms+0ms, total 4ms
03-27 15:35:57.092 340-588/system_process W/ThrottleService﹕ unable to find stats for iface rmnet0
03-27 15:36:54.084 57-57/? D/Genyd﹕ Received Set Clipboard
03-27 15:36:54.084 57-57/? D/Genymotion﹕ Received Set Clipboard
03-27 15:36:54.084 340-491/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:36:54.084 340-491/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:36:54.084 340-353/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:36:54.084 340-353/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:36:54.084 340-353/system_process I/ClipboardService﹕ Got clipboard for user=0
03-27 15:36:54.284 57-57/? D/Genyd﹕ Received Set Clipboard

dandronic
30.03.2015, 08:53
It seems that there is an error when initializing OpenGL - could catch the error inside onGLInitializationError and log it so that we can see what exactly the problem is?

oximer
30.03.2015, 15:03
It seems that there is an error when initializing OpenGL - could catch the error inside onGLInitializationError and log it so that we can see what exactly the problem is?

Here is the file with the entire log error.

oximer
30.03.2015, 15:12
It seems that there is an error when initializing OpenGL - could catch the error inside onGLInitializationError and log it so that we can see what exactly the problem is?1995

I'm also updating a error the a get on a real device. A motorola Xoom tablet.

dandronic
30.03.2015, 15:24
Can you insert a breakpoint or log in the onGLInitializationError callback and see what error is returned?
Have you modified in any way the content of the SKMaps.zip archive or are you using the "vanila" SDK demo?

oximer
30.03.2015, 15:41
Can you insert a breakpoint or log in the onGLInitializationError callback and see what error is returned?
Have you modified in any way the content of the SKMaps.zip archive or are you using the "vanila" SDK demo?


I'm using the vanila SDK Demo. I just a error on the onGLInitializationError callback:
" The device is not supported due to internal GPU limitations "

Actually I got this error message on my application that was not more running after I update it to version 2.4
I believe that the demo is having the same error, since both breaks when drawing the map.

Adela_Silvia
08.05.2015, 15:48
With 2.4 SDK we switched rendering engine to OpenGL ES2. See the release notes: http://developer.skobbler.de/release-notes#v2_4_0

This error occurs when the device does not support OpenGL 2. We will investigate it further, but if you have the possibility to test it on another device until then, let us know if you encounter the same issue.

Adela_Silvia
18.06.2015, 13:34
Hi oximer,

Tracking down this issue we've created a new set of map resources that should fix the error. You can download the modified SKMaps.zip from here (https://www.dropbox.com/sh/l2080gk4o82u5hy/AADZTS7EfBZYMFywAZqjNC7Ta?dl=0) (the following files were modified within the archive: /shaders/line.vert and /shaders/lineCap.vert).

If you are redeploying the SKMaps resources on an existing app see the SDK Update Procedure (2.X to 2.Y) (http://developer.skobbler.com/getting-started/android#sec028) chapter that provides details on how to force a map resources rewrite.

Let us know if after that everything is working as expected.

alex21975
09.07.2015, 16:42
And what about the original problem of this post? I just tried to switch to version 2.5 and I see that my application still crashes when come back to the map.

dandronic
10.07.2015, 09:30
Yes this has been handled in 2.5, you do have to set certain flags to make this work - see the dedicated documentation chapter (http://developer.skobbler.com/getting-started/android#sec033)

alex21975
10.07.2015, 13:41
Thank you! I confirm, that problem is solved in version 2.5 if you call "SKMapSurfaceView.preserveGLContext = false;" before initializing the first map.