cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkrizek <...@git.apache.org>
Subject [GitHub] cordova-plugin-geolocation issue #57: Fix crash on deny permission request o...
Date Fri, 21 Oct 2016 03:41:55 GMT
Github user gkrizek commented on the issue:

    https://github.com/apache/cordova-plugin-geolocation/pull/57
  
    If this is needed, I have the `logcat` output  from when it dies. I don't have a physical
device to test this on, only an emulator. @xiaoerge or @iursevla, do you guys have a physical
device?
    
    While it's asking me to accept the location, this is output many times a second:
    ```
    10-20 23:34:27.732  1708  1708 W art     : Attempt to remove non-JNI local reference,
dumping thread
    10-20 23:34:27.782  1708  1708 W art     : Attempt to remove non-JNI local reference,
dumping thread
    10-20 23:34:27.832  1708  1708 W art     : Attempt to remove non-JNI local reference,
dumping thread
    10-20 23:34:27.884  1708  1708 W art     : Attempt to remove non-JNI local reference,
dumping thread
    ```
    
    Then the actual failure:
    ```
    10-20 23:34:27.919  1763  1776 E Surface : getSlotFromBufferLocked: unknown buffer: 0xeb0ed380
    10-20 23:34:27.924  1763  1776 D OpenGLRenderer: endAllStagingAnimators on 0xf2c2b480
(RippleDrawable) with handle 0xeea529d0
    10-20 23:34:27.944  1708  1708 W art     : Attempt to remove non-JNI local reference,
dumping thread
    10-20 23:34:27.989   758  1462 I ActivityManager: Killing 896:com.android.externalstorage/u0a7
(adj 15): empty #17
    10-20 23:34:27.993   758   758 D AndroidRuntime: Shutting down VM
    10-20 23:34:27.993   758   758 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS:
main
    10-20 23:34:27.993   758   758 E AndroidRuntime: java.lang.IllegalArgumentException: provider
doesn't exist: network
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.server.LocationManagerService.requestLocationUpdatesLocked(LocationManagerService.java:1637)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.server.LocationManagerService.requestLocationUpdates(LocationManagerService.java:1616)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at android.location.LocationManager.requestLocationUpdates(LocationManager.java:880)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at android.location.LocationManager.requestLocationUpdates(LocationManager.java:496)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.location.fused.FusionEngine.enableProvider(FusionEngine.java:142)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.location.fused.FusionEngine.updateRequirements(FusionEngine.java:195)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.location.fused.FusionEngine.setRequest(FusionEngine.java:118)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.location.fused.FusedLocationProvider$1.handleMessage(FusedLocationProvider.java:98)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.server.SystemServer.run(SystemServer.java:285)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.server.SystemServer.main(SystemServer.java:170)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native
Method)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    10-20 23:34:27.993   758   758 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    10-20 23:34:28.005  1708  1708 W art     : Attempt to remove non-JNI local reference,
dumping thread
    10-20 23:34:28.006   758   758 I Process : Sending signal. PID: 758 SIG: 9
    10-20 23:34:28.025  1763  1763 E JavaBinder: !!! FAILED BINDER TRANSACTION !!!  (parcel
size = 88)
    10-20 23:34:28.030   315   315 I lowmemorykiller: ActivityManager disconnected
    10-20 23:34:28.030   315   315 I lowmemorykiller: Closing Activity Manager data connection
    10-20 23:34:28.031  1357  1370 W Sensors : sensorservice died [0xe83ce980]
    10-20 23:34:28.031   318   318 I ServiceManager: service 'telecom' died
    10-20 23:34:28.031   318   318 I ServiceManager: service 'usb' died
    10-20 23:34:28.031   318   318 I ServiceManager: service 'serial' died
    10-20 23:34:28.031   318   318 I ServiceManager: service 'jobscheduler' died
    ...
    10-20 23:34:28.031   318   318 I ServiceManager: service 'network_score' died
    10-20 23:34:28.031   106   106 E installd: eof
    10-20 23:34:28.031   106   106 E installd: failed to read size
    10-20 23:34:28.031   106   106 I installd: closing connection
    10-20 23:34:28.031  1126  1349 E WifiManager: Channel connection lost
    10-20 23:34:28.032  1357  1655 E WifiManager: Channel connection lost
    10-20 23:34:28.032   875  1061 E WifiManager: Channel connection lost
    10-20 23:34:28.061  1708  1708 W art     : Attempt to remove non-JNI local reference,
dumping thread
    10-20 23:34:28.063   771   771 D SurfaceFlinger: Set power mode=2, type=0 flinger=0xf70e2000
    10-20 23:34:28.064   771   771 D SurfaceFlinger: Screen type=0 is already mode=2
    10-20 23:34:28.064   771   771 D SurfaceFlinger: setOrientation, mFbdev=0xf70f13c0, mFbDev->setOrientation=0xf6b8ed10,
orientation=0
    10-20 23:34:28.064   771   771 I gralloc_vbox86: setOrientation: orientation=0
    10-20 23:34:28.064   771   771 W SurfaceFlinger: couldn't log to binary event log: overflow.
    10-20 23:34:28.111  1784  1787 D libEGL  : loaded /system/lib/egl/libEGL_emulation.so
    10-20 23:34:28.112  1784  1787 D libEGL  : loaded /system/lib/egl/libGLESv1_CM_emulation.so
    10-20 23:34:28.115  1784  1787 D libEGL  : loaded /system/lib/egl/libGLESv2_emulation.so
    10-20 23:34:28.116  1708  1708 W art     : Attempt to remove non-JNI local reference,
dumping thread
    10-20 23:34:28.117   771   772 E BufferQueueProducer: [com.id1aj6apmsksssjbkmf22/com.id1aj6apmsksssjbkmf22.MainActivity]
queueBuffer: BufferQueue has been abandoned
    10-20 23:34:28.117  1708  1747 E Surface : queueBuffer: error queuing buffer to SurfaceTexture,
-19
    10-20 23:34:28.118   771   774 E BufferQueueProducer: [com.id1aj6apmsksssjbkmf22/com.id1aj6apmsksssjbkmf22.MainActivity]
dequeueBuffer: BufferQueue has been abandoned
    10-20 23:34:28.118  1708  1747 E EGL_emulation: tid 1747: swapBuffers(288): error 0x3003
(EGL_BAD_ALLOC)
    10-20 23:34:28.118  1708  1747 F OpenGLRenderer: Encountered EGL error 12291 EGL_BAD_ALLOC
during rendering
    10-20 23:34:28.118  1708  1747 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 1747
(RenderThread)
    10-20 23:34:28.118  1784  1787 D         : HostConnection::get() New Host Connection established
0xf62ca0f0, tid 1787
    10-20 23:34:28.207   452   831 W AudioFlinger: Thread AudioOut_2 cannot connect to the
power manager service
    10-20 23:34:28.207   452   831 E AudioFlinger: no wake lock to update!
    10-20 23:34:28.220   102   102 F DEBUG   : *** *** *** *** *** *** *** *** *** *** ***
*** *** *** *** ***
    10-20 23:34:28.220   102   102 F DEBUG   : Build fingerprint: 'Android/vbox86p/vbox86p:6.0/MRA58K/genymotion08241314:userdebug/test-keys'
    10-20 23:34:28.220   102   102 F DEBUG   : Revision: '0'
    10-20 23:34:28.220   102   102 F DEBUG   : ABI: 'x86'
    10-20 23:34:28.221   102   102 F DEBUG   : pid: 1708, tid: 1747, name: RenderThread  >>>
com.id1aj6apmsksssjbkmf22 <<<
    10-20 23:34:28.221   102   102 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault
addr --------
    10-20 23:34:28.226   102   102 F DEBUG   : Abort message: 'Encountered EGL error 12291
EGL_BAD_ALLOC during rendering'
    10-20 23:34:28.226   102   102 F DEBUG   :     eax 00000000  ebx 000006ac  ecx 000006d3
 edx 00000006
    10-20 23:34:28.226   102   102 F DEBUG   :     esi deb3f980  edi 00000000
    10-20 23:34:28.226   102   102 F DEBUG   :     xcs 00000023  xds 0000002b  xes 0000002b
 xfs 000000af  xss 0000002b
    10-20 23:34:28.226   102   102 F DEBUG   :     eip f733ee66  ebp 000006d3  esp deb3f150
 flags 00200206
    10-20 23:34:28.230   102   102 F DEBUG   :
    10-20 23:34:28.230   102   102 F DEBUG   : backtrace:
    10-20 23:34:28.230   102   102 F DEBUG   :     #00 pc 00083e66  /system/lib/libc.so (tgkill+22)
    10-20 23:34:28.230   102   102 F DEBUG   :     #01 pc 00081348  /system/lib/libc.so (pthread_kill+70)
    10-20 23:34:28.230   102   102 F DEBUG   :     #02 pc 00027205  /system/lib/libc.so (raise+36)
    10-20 23:34:28.230   102   102 F DEBUG   :     #03 pc 000209e4  /system/lib/libc.so (abort+80)
    10-20 23:34:28.230   102   102 F DEBUG   :     #04 pc 0000cbd3  /system/lib/libcutils.so
(__android_log_assert+128)
    10-20 23:34:28.230   102   102 F DEBUG   :     #05 pc 00023759  /system/lib/libhwui.so
    10-20 23:34:28.230   102   102 F DEBUG   :     #06 pc 0001e866  /system/lib/libhwui.so
    10-20 23:34:28.230   102   102 F DEBUG   :     #07 pc 000216ef  /system/lib/libhwui.so
    10-20 23:34:28.230   102   102 F DEBUG   :     #08 pc 00027137  /system/lib/libhwui.so
(android::uirenderer::renderthread::RenderThread::threadLoop()+151)
    10-20 23:34:28.230   102   102 F DEBUG   :     #09 pc 00014aac  /system/lib/libutils.so
(android::Thread::_threadLoop(void*)+418)
    10-20 23:34:28.230   102   102 F DEBUG   :     #10 pc 0006bfee  /system/lib/libandroid_runtime.so
(android::AndroidRuntime::javaThreadShell(void*)+98)
    10-20 23:34:28.230   102   102 F DEBUG   :     #11 pc 000141cf  /system/lib/libutils.so
(thread_data_t::trampoline(thread_data_t const*)+122)
    10-20 23:34:28.230   102   102 F DEBUG   :     #12 pc 000807f3  /system/lib/libc.so (__pthread_start(void*)+56)
    10-20 23:34:28.230   102   102 F DEBUG   :     #13 pc 00021952  /system/lib/libc.so (__start_thread+25)
    10-20 23:34:28.230   102   102 F DEBUG   :     #14 pc 000170b6  /system/lib/libc.so (__bionic_clone+70)
    10-20 23:34:28.485   102   102 F DEBUG   :
    10-20 23:34:28.485   102   102 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_05
    10-20 23:34:28.485   102   102 E DEBUG   : AM write failed: Broken pipe
    10-20 23:34:28.504   453   453 E Zygote  : Exit zygote because system server (758) has
terminated
    10-20 23:34:28.528   325   325 E local_camera: We have a problem with the hw connection
111 (Connection refused)
    10-20 23:34:28.529   324   324 E local_camera: We have a problem with the hw connection
111 (Connection refused)
    10-20 23:34:28.532   318   318 I ServiceManager: service 'media.audio_policy' died
    10-20 23:34:28.532   318   318 I ServiceManager: service 'media.radio' died
    10-20 23:34:28.532   318   318 I ServiceManager: service 'media.sound_trigger_hw' died
    10-20 23:34:28.532   318   318 I ServiceManager: service 'media.audio_flinger' died
    10-20 23:34:28.532   318   318 I ServiceManager: service 'media.player' died
    10-20 23:34:28.532   318   318 I ServiceManager: service 'media.resource_manager' died
    10-20 23:34:28.532   318   318 I ServiceManager: service 'media.camera' died
    10-20 23:34:28.536  1794  1794 I Netd    : Netd 1.0 starting
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message