Advertisement
mateorod

opd_rundown

Jul 2nd, 2013
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.08 KB | None | 0 0
  1. Okay, the problem is cell-tower location and it crashes things like foursquare (immediate crashing) and tasker. cell-tower location used to be completely broken, but we were able to fix it for some apps and situations with this: https://github.com/OpenPDroid/platform_frameworks_base/commit/ffed07e75cc44d7b1785714a7b9e7fd5ffc96b43
  2.  
  3. You can see the discussion of what this does (and CollegeDevs take) here:(look for the post by phillipberndt):https://github.com/wsot/openpdroid_support/issues/1
  4.  
  5. That patch has allowed many things to somewhat work, but it only revives the service.
  6.  
  7. here are some logs since that fix was pushed to the autopatcher.
  8.  
  9. Google MyTracks and Llama: http://forum.xda-developers.com/showpost.php?p=41941341&postcount=348
  10.  
  11. AndroSensor, Tweetdeck and AlpineQuest: http://forum.xda-developers.com/showpost.php?p=41923753&postcount=347
  12.  
  13. Foursquare and Tasker: http://forum.xda-developers.com/showpost.php?p=41907048&postcount=344
  14.  
  15. An even more fine-grained report from a user "If I set my GPS or network location to deny or allow, then the app works fine and it recieves no data or the right data. But if I set it to Random or User-defined fake data, apps force close everytime.
  16.  
  17. I've attached a logcat for when I give fake data to the Androsensor app."
  18. - http://forum.xda-developers.com/showpost.php?p=42150318&postcount=359
  19.  
  20.  
  21. I see some trouble in PrivacySettingsManagerService.notification (in the tasker log above and other places): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2
  22.  
  23. Also I see this in foursquare as it crashes: 22:28:09.606 Warning ApplicationContext 12696 PDroid:ContextImpl: ContextImpl being created but already has sOuterContext
  24. 22:28:09.946 Debug dalvikvm 12696 GC_CONCURRENT freed 196K, 17% free 3471K/4136K, paused 9ms+3ms, total 55ms
  25. 22:28:09.946 Debug ApplicationContext 12696 PDroid:ContextImpl: returning PrivacyLocationManager
  26. 22:28:09.946 Error ActivityThread 12696 Failed to inflate
  27. 22:28:09.946 Error ActivityThread 12696 android.view.InflateException: Binary XML file line #16: Error inflating class fragment
  28.  
  29. Here is another death of GoogleMyTracks: FATAL EXCEPTION: TrackDataHubHandlerThread
  30. 05-28 19:36:56.166 E/AndroidRuntime( 4261): java.lang.SecurityException: invalid package name: com.google.android.gms
  31. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.os.Parcel.readException(Parcel.java)
  32. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.os.Parcel.readException(Parcel.java)
  33. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java)
  34. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.location.LocationManager.requestLocationUpdates(LocationManager.java)
  35. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.location.LocationManager.requestLocationUpdates(LocationManager.java)
  36. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.privacy.surrogate.PrivacyLocationManager.requestLocationUpdates(PrivacyLocationManager.java)
  37. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at com.google.android.apps.mytracks.services.MyTracksLocationManager.requestLocationUpdates(MT:131)
  38. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at com.google.android.apps.mytracks.content.DataSource.registerLocationListener(MT:110)
  39. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at com.google.android.apps.mytracks.content.DataSourceManager.registerListener(MT:266)
  40. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at com.google.android.apps.mytracks.content.DataSourceManager.updateListeners(MT:234)
  41. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at com.google.android.apps.mytracks.content.TrackDataHub$3.run(MT:197)
  42. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.os.Handler.handleCallback(Handler.java)
  43. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.os.Handler.dispatchMessage(Handler.java)
  44. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.os.Looper.loop(Looper.java)
  45. 05-28 19:36:56.166 E/AndroidRuntime( 4261): at android.os.HandlerThread.run(HandlerThread.java)
  46. 05-28 19:36:56.174 I/TrackRecordingServiceConnection( 4261): Connected to the service.
  47. 05-28 19:36:56.174 W/ActivityManager( 426): Force finishing activity com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackDetailActivity
  48. 05-28 19:36:56.174 W/ActivityManager( 426): Force finishing activity com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackListActivity
  49. 05-28 19:36:56.205 W/ContextImpl( 776): PDroid:ContextImpl: ContextImpl being created but already has sOuterContext
  50. 05-28 19:36:56.549 W/BufferQueue( 129): [com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackDetailActivity] cancelBuffer: BufferQueue has been abandoned!
  51. 05-28 19:36:56.604 W/ContextImpl( 3303): PDroid:ContextImpl: ContextImpl being created but already has sOuterContext
  52. 05-28 19:36:56.604 W/ContextImpl( 3303): PDroid:ContextImpl: ContextImpl being created but already has sOuterContext
  53. 05-28 19:36:56.690 V/PDroidAlternative( 2630): NotificationHandler: Notification for: com.google.android.maps.mytracks:networkInfoCurrent:0
  54. 05-28 19:36:56.690 W/ContextImpl( 426): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2
  55. 05-28 19:36:56.705 D/dalvikvm( 4261): GC_CONCURRENT freed 3749K, 38% free 6737K/10708K, paused 4ms+5ms, total 69ms
  56. 05-28 19:36:56.737 D/AndroidRuntime( 4261): Shutting down VM
  57. 05-28 19:36:56.737 W/dalvikvm( 4261): threadid=1: thread exiting with uncaught exception (group=0x40e15930)
  58. 05-28 19:36:56.737 I/Process ( 4261): Sending signal. PID: 4261 SIG: 9
  59. 05-28 19:36:56.752 I/ActivityManager( 426): Process com.google.android.maps.mytracks (pid 4261) has died.
  60. 05-28 19:36:56.752 W/ActivityManager( 426): Service crashed 2 times, stopping: ServiceRecord{419b7d88 u0 com.google.android.maps.mytracks/com.google.android.apps.mytracks.services.TrackRecordingService}
  61. 05-28 19:36:56.791 W/InputDispatcher( 426): channel '412587e0 com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackDetailActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
  62. 05-28 19:36:56.791 E/InputDispatcher( 426): channel '412587e0 com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackDetailActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
  63. 05-28 19:36:56.791 W/InputDispatcher( 426): Attempted to unregister already unregistered input channel '412587e0 com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackDetailActivity (server)'
  64. 05-28 19:36:56.791 I/WindowState( 426): WIN DEATH: Window{412587e0 u0 com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackDetailActivity}
  65. 05-28 19:36:56.791 W/WindowManager( 426): Force-removing child win Window{412b35d8 u0 SurfaceView} from container Window{412587e0 u0 com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackDetailActivity}
  66. 05-28 19:36:56.799 W/WindowManager( 426): Failed looking up window
  67. 05-28 19:36:56.799 W/WindowManager( 426): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@414ec4c8 does not exist
  68. 05-28 19:36:56.799 W/WindowManager( 426): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java)
  69. 05-28 19:36:56.799 W/WindowManager( 426): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java)
  70. 05-28 19:36:56.799 W/WindowManager( 426): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java)
  71. 05-28 19:36:56.799 W/WindowManager( 426): at android.os.BinderProxy.sendDeathNotice(Binder.java)
  72. 05-28 19:36:56.799 W/WindowManager( 426): at dalvik.system.NativeStart.run(Native Method)
  73. 05-28 19:36:56.799 I/WindowState( 426): WIN DEATH: null
  74. 05-28 19:36:56.799 I/WindowState( 426): WIN DEATH: Window{411a4158 u0 com.google.android.maps.mytracks/com.google.android.apps.mytracks.TrackListActivity EXITING}
  75. 05-28 19:36:56.822 W/DnsProxyListener( 126): Error writing DNS result to client
  76. 05-28 19:36:56.822 W/SocketClient( 126): write error (Broken pipe)
  77.  
  78.  
  79. Lastly in at least one of the logs, it reports an error in PrivacyLocationManager.PrivacyLocationUpdater.run.
  80.  
  81. If you need more or want me to try some things, let me know. I have also merged a feature into the Autopatcher that allows us to tack on incremental bugfixes to our smali patches...so any build you make with a test fix can just be diffed against the current OpenPDroidPatches (that plus the location fix from PhillipBerndt is what is going out to users). Basically what that means is that we only need one build of the current OPD patches and one build with whatever fix you might want users to test...I will diff them and add an incremental patch.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement