google play services constantly crashing


Question

My sister's got cyangonmod 11 to have android kitkat on here sony Xperia P.



At first it was smooth but now she's facing constant crashing of google play services app.



I've seen these links before :

Google Play Services crashing constantly



Cyanogenmod: Google Play Services keeps crashing after update



Google Play Services and Play Store crashing



The error message I get in the logs is different from the first question, I tried to install google play services from apkmirror as suggested by the second answer, I tried to install versions 10.2.98 and 10.5.53, the version needs to be 030 as suggested by apkmirror and I'm sure about this.



Reinstalling google play services from apkmirror and clearing data does solve the problem at first but the next day or so it comes back.



The output of adb logcat *:F is this :




F/libc (25812): Fatal signal 7 (SIGBUS) at 0x00000000 (code=128), thread 26060 (pool-48-thread-)
F/ActivityManager( 2121): Service ServiceRecord{ 431644d8 u0 com.google.android.gms/com.google.android.location.reporting.service.ReportingAndroidService } in process ProcessRecord{ 42556cf025812:com.google.android.gms.persistent/u0a23 } not same as in map: null
F/libc (26063): Fatal signal 7 (SIGBUS) at 0x00000000 (code=128), thread 26135 (pool-45-thread-)
F/ActivityManager( 2121): Service ServiceRecord{ 43304570 u0 com.google.android.gms/.phenotype.service.PhenotypeService } in process ProcessRecord{ 4295d810 26063:com.google.android.gms.persistent/u0a23 } not same as in map: null
F/ActivityManager( 2121): Service ServiceRecord{ 431afc48 u0 com.google.android.gms/com.google.android.location.reporting.service.ReportingAndroidService } in process ProcessRecord{ 4295d81026063:com.google.android.gms.persistent/u0a23 } not same as in map: null


I'm sure those are the crashes because that's where I say the crash message.



I don't understand that not same as in map : null thing , could you tell what does it means ? and how do we solve this issue ?



My sister also tried the suggestion in this site : https://forums.oneplus.net/threads/found-a-fix-for-google-play-services-crashing-constantly.312830/ which didn't work.



If you need the full output of adb logcat or maybe adb logcat *:E I'll be happy to add them, the phone is also rooted and TWRP recovery is installed just so you know.


Answer

The problem solved, previously we had used System app remover to remove some system apps we thought we don't need, we removed google maps, as Izzy guessed google play services was looking for it without finding it ending in a constant crash.



When we restored back google maps app , cleared data no more crashes since then and the phone became faster and more responsive too :) .


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes