[ONE Android Development] zagzag99:
GPS issue on all CM12 builds I tried

GPS is not stable.

Getting a lock with-in normal time but after about ~4-5 minutes it loses signal (even when staying at exact location) and 50% of the time it won't catch a lock again without toggling the location in the QuickSettings panel.

During my tests 10% of the time toggling the location while the GPS app is running (searching for signal) caused a full soft reset.

II caught something in logcat, CM's JIRA policy not permits it to be posted as a JIRA, yet (because CM12 is not at nightly state yet).

So I thought I might leave it here for someone more experienced to pin-point what could be the root cause.

--------- beginning of crash
F/libc ( 1691): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x6e0071 in tid 2742 (Binder_E)
I/DEBUG ( 321): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 321): Build fingerprint: 'oneplus/bacon/A0001:4.4.2/KVT49L/XNPH25R:user/release-keys'
I/DEBUG ( 321): Revision: '0'
I/DEBUG ( 321): ABI: 'arm'
I/DEBUG ( 321): pid: 1691, tid: 2742, name: Binder_E >>> system_server <<<
I/DEBUG ( 321): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6e0071
I/DEBUG ( 321): r0 1389a0e0 r1 6f882220 r2 94532a10 r3 b4ffefc0
I/DEBUG ( 321): r4 006e0065 r5 1389a0e0 r6 94532a08 r7 fffffb54
I/DEBUG ( 321): r8 94532a10 r9 94532a30 sl b5069770 fp 0000036b
I/DEBUG ( 321): ip 94532a30 sp 945329d0 lr b4e33b37 pc b4e337fc cpsr 20010030
I/DEBUG ( 321):
I/DEBUG ( 321): backtrace:
I/DEBUG ( 321): #00 pc 001227fc /system/lib/libart.so (void art::mirror::eek:bject::VisitReferences<false, (art::VerifyObjectFlags)0, art::gc::collector::MarkObjectVisitor, art::gc::collector::DelayReferenceReferentVisitor>(art::gc::collector::MarkObjectVisitor const&, art::gc::collector::DelayReferenceReferentVisitor const&)+27)
I/DEBUG ( 321): #01 pc 00122b33 /system/lib/libart.so (art::gc::collector::MarkSweep::ProcessMarkStack(bool)+146)
I/DEBUG ( 321): #02 pc 00122bc9 /system/lib/libart.so (art::gc::collector::MarkSweep::MarkReachableObjects()+32)
I/DEBUG ( 321): #03 pc 00123a51 /system/lib/libart.so (art::gc::collector::MarkSweep::MarkingPhase()+112)
I/DEBUG ( 321): #04 pc 00123b7f /system/lib/libart.so (art::gc::collector::MarkSweep::RunPhases()+254)
I/DEBUG ( 321): #05 pc 0011b1af /system/lib/libart.so (art::gc::collector::GarbageCollector::Run(art::gc::GcCause, bool)+234)
I/DEBUG ( 321): #06 pc 00139779 /system/lib/libart.so (art::gc::Heap::CollectGarbageInternal(art::gc::collector::GcType, art::gc::GcCause, bool)+1380)
I/DEBUG ( 321): #07 pc 001f491d /system/lib/libart.so (art::Runtime_gc(_JNIEnv*, _jclass*)+24)
I/DEBUG ( 321): #08 pc 000003d3 /data/dalvik-cache/arm/system@framework@boot.oat
I/BootReceiver( 1691): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
E/ActivityThread( 3061): Failed to find provider info for com.google.settings
F/libc ( 2021): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x54 in tid 2778 (RenderThread)
E/AndroidRuntime(10872): FATAL EXCEPTION: main
E/AndroidRuntime(10872): Process: com.eclipsim.gpsstatus2, PID: 10872
E/AndroidRuntime(10872): java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
E/AndroidRuntime(10872):	at android.app.ApplicationPackageManager.getUserIfProfile(ApplicationPackageManager.java:1757)
E/AndroidRuntime(10872):	at android.app.ApplicationPackageManager.getUserBadgeForDensity(ApplicationPackageManager.java:896)
E/AndroidRuntime(10872):	at android.app.Notification$Builder.getProfileBadgeDrawable(Notification.java:2637)
E/AndroidRuntime(10872):	at android.app.Notification$Builder.hasThreeLines(Notification.java:2844)
E/AndroidRuntime(10872):	at android.app.Notification$Builder.build(Notification.java:3375)
E/AndroidRuntime(10872):	at android.app.Notification$Builder.getNotification(Notification.java:3366)
E/AndroidRuntime(10872):	at o.ᔈ.ˋ()
E/AndroidRuntime(10872):	at o.ᔈ.ʳ(:169)
E/AndroidRuntime(10872):	at o.ᔈ.onGpsStatusChanged()
E/AndroidRuntime(10872):	at android.location.LocationManager$GpsStatusListenerTransport$1.handleMessage(LocationManager.java:1479)
E/AndroidRuntime(10872):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(10872):	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(10872):	at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(10872):	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(10872):	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(10872):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime(10872):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime(10872): Error reporting crash
E/AndroidRuntime(10872): android.os.DeadObjectException
E/AndroidRuntime(10872):	at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime(10872):	at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime(10872):	at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4111)
E/AndroidRuntime(10872):	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime(10872):	at o.ᔊ.uncaughtException(Unknown Source)
E/AndroidRuntime(10872):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime(10872):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
I/DEBUG ( 321): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 321): Build fingerprint: 'oneplus/bacon/A0001:4.4.2/KVT49L/XNPH25R:user/release-keys'
I/DEBUG ( 321): Revision: '0'
I/DEBUG ( 321): ABI: 'arm'
I/DEBUG ( 321): pid: 2021, tid: 2778, name: RenderThread >>> com.android.systemui <<<
I/DEBUG ( 321): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x54
I/DEBUG ( 321): r0 00000000 r1 00000009 r2 a1a72c94 r3 00000000
I/DEBUG ( 321): r4 b3c36020 r5 a1a72cc0 r6 a1a72cc0 r7 00000000
I/DEBUG ( 321): r8 00000000 r9 a1a72d08 sl a1a72d00 fp a2c6d6e8
I/DEBUG ( 321): ip b6e8ef08 sp a1a72c90 lr b6725879 pc b672588e cpsr 00070030
I/DEBUG ( 321):
I/DEBUG ( 321): backtrace:
I/DEBUG ( 321): #00 pc 0003b88e /system/lib/libhwui.so
I/DEBUG ( 321): #01 pc 0003c43d /system/lib/libhwui.so
I/DEBUG ( 321): #02 pc 0003c4c9 /system/lib/libhwui.so
I/DEBUG ( 321): #03 pc 0003dfdf /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+66)
I/DEBUG ( 321): #04 pc 0000f761 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
I/DEBUG ( 321): #05 pc 0005ae55 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
I/DEBUG ( 321): #06 pc 0000f2d1 /system/lib/libutils.so
I/DEBUG ( 321): #07 pc 000139db /system/lib/libc.so (__pthread_start(void*)+30)
I/DEBUG ( 321): #08 pc 000119cf /system/lib/libc.so (__start_thread+6)
E/AndroidRuntime( 2724): FATAL EXCEPTION: main
E/AndroidRuntime( 2724): Process: com.google.android.gms, PID: 2724
E/AndroidRuntime( 2724): java.lang.SecurityException: attempting to read gservices without permission: Neither user 10019 nor current process has com.google.android.providers.gsf.permission.READ_GSERVICES.
E/AndroidRuntime( 2724):	at android.app.ContextImpl.enforce(ContextImpl.java:1900)
E/AndroidRuntime( 2724):	at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1929)
E/AndroidRuntime( 2724):	at android.content.ContextWrapper.enforceCallingOrSelfPermission(ContextWrapper.java:593)
E/AndroidRuntime( 2724):	at com.google.android.gsf.f.c(SourceFile:107)
E/AndroidRuntime( 2724):	at com.google.android.gsf.f.a(SourceFile:121)
E/AndroidRuntime( 2724):	at com.google.android.gsf.f.a(SourceFile:182)
E/AndroidRuntime( 2724):	at com.google.android.gms.common.a.k.a(SourceFile:244)
E/AndroidRuntime( 2724):	at com.google.android.gms.common.a.f.a(SourceFile:175)
E/AndroidRuntime( 2724):	at com.google.android.gms.common.a.c.b(SourceFile:135)
E/AndroidRuntime( 2724):	at com.google.android.gms.analytics.service.d.handleMessage(SourceFile:276)
E/AndroidRuntime( 2724):	at android.os.Handler.dispatchMessage(Handler.java:98)
E/AndroidRuntime( 2724):	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 2724):	at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 2724):	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 2724):	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 2724):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 2724):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 2724): Error reporting crash
E/AndroidRuntime( 2724): android.os.DeadObjectException
E/AndroidRuntime( 2724):	at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime( 2724):	at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime( 2724):	at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4111)
E/AndroidRuntime( 2724):	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime( 2724):	at com.google.android.gms.common.app.e.uncaughtException(SourceFile:54)
E/AndroidRuntime( 2724):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 2724):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
I/InstallerConnection(11774): disconnecting...
I/SystemServer(11774): Entered the Android system server!
I/SystemServiceManager(11774): Starting com.android.server.pm.Installer
I/Installer(11774): Waiting for installd to be ready.
I/InstallerConnection(11774): connecting...
I/SystemServiceManager(11774): Starting com.android.server.am.ActivityManagerService$Lifecycle
I/ActivityManager(11774): Memory class: 192