android.os.DeadObjectException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Questions in topic: "log"
    via by Unknown author,
  • Game Crashing on Android (logs) - Unity Answers
    via by Unknown author,
  • Log File contents
    via by Unknown author,
  • I've actually encountered this issue on pure AOSP. I'm reuploading it to CM JIRA to maybe help CM guys to fix this. - https://code.google.com/p/android/issues/detail?id=140061 - I've been recently playing around with different bootanimation.zip to customize boot animations on my Galaxy S4 with Lollipop, and noticed that /system/bin/bootanimation causes a serious memory leaks. I thought this issue was due to poor bootanimation.zip, or the custom ROM I've installed, but after testing this with pure AOSP installed Nexus 5 and Nexus 7, the issue was reproducible. When the bootanimation binary runs for too long, it massively eats up memory, blocking other core system services to execute, resulting in a boot-loop. Since bootanimation binary has 0 oom priority, bootanimation keeps spinning, eventually causing the entire device to die. When the bootanimation passes(such as dexopt upgrades or system initialization finished relatively quickly), the memory instantly get released and the system is back up normal. It seems like the previous frame is not being cleared from the memory. This is a very serious issue, please look into it and fix this before the next Android release ships. Logs - 1. A custom built bootanimation that just goes through loop even though the system initialization is finished root@ks01lte:/ # bootanimation Killed 137|root@ks01lte:/ # bootanimation Killed 137|root@ks01lte:/ # bootanimation Killed 137|root@ks01lte:/ # You can see that the bootanimation binary is getting killed by oom. 2. While bootanimation is running, oom is printed through logcat Notice the abnormal memory allocation of bootanimation binary? I/ActivityManager( 662): Process com.google.android.gms.wearable (pid 4649) has died W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.wearable.service.WearableService in 115044ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.wearable.node.bluetooth.BluetoothClientService in 145044ms E/lowmemorykiller( 249): Error opening /proc/4747/oom_score_adj; errno=2 I/ActivityManager( 662): Process com.kakao.talk (pid 4747) has died W/ActivityManager( 662): Scheduling restart of crashed service com.kakao.talk/.vox.VoxService in 155023ms I/ActivityManager( 662): Process com.filekukiss3kukis (pid 4780) has died W/ActivityManager( 662): Scheduling restart of crashed service com.filekukiss3kukis/.NotifyService in 164844ms V/BackupManagerService( 662): Disconnected from transport ComponentInfo{com.google.android.gms/com.google.android.gms.backup.BackupTransportService} V/BackupManagerService( 662): Registering transport com.google.android.gms/.backup.BackupTransportService::null = null D/GpsStatusListenerHelper( 662): Remote Listener died: android.location.IGpsStatusListener$Stub$Proxy@447742d D/WifiService( 662): Client connection lost with reason: 4 I/ActivityManager( 662): Low on memory: I/ActivityManager( 662): ntv N 232270 kB: bootanimation (4801) native I/ActivityManager( 662): ntv N 8560 kB: mediaserver (260) native I/ActivityManager( 662): ntv N 5180 kB: surfaceflinger (252) native I/ActivityManager( 662): ntv N 3896 kB: zygote (266) native I/ActivityManager( 662): ntv N 3396 kB: mm-qcamera-daemon (265) native I/ActivityManager( 662): ntv N 2489 kB: rild (258) native I/ActivityManager( 662): ntv N 2254 kB: logd (247) native I/ActivityManager( 662): ntv N 1027 kB: netd (256) native I/ActivityManager( 662): ntv N 947 kB: drmserver (259) native I/ActivityManager( 662): ntv N 920 kB: /init (1) native I/ActivityManager( 662): ntv N 857 kB: qmuxd (264) native I/ActivityManager( 662): ntv N 851 kB: audiod (273) native I/ActivityManager( 662): ntv N 773 kB: wpa_supplicant (900) native I/ActivityManager( 662): ntv N 764 kB: vold (251) native I/ActivityManager( 662): ntv N 672 kB: adbd (275) native I/ActivityManager( 662): ntv N 644 kB: ueventd (214) native I/ActivityManager( 662): ntv N 598 kB: keystore (262) native I/ActivityManager( 662): ntv N 554 kB: time_daemon (272) native I/ActivityManager( 662): ntv N 441 kB: rmt_storage (254) native I/ActivityManager( 662): ntv N 411 kB: sh (4248) native I/ActivityManager( 662): ntv N 404 kB: healthd (248) native I/ActivityManager( 662): ntv N 403 kB: sh (4336) native I/ActivityManager( 662): ntv N 389 kB: rfs_access (253) native I/ActivityManager( 662): ntv N 332 kB: lmkd (249) native I/ActivityManager( 662): ntv N 327 kB: qseecomd (292) native I/ActivityManager( 662): ntv N 327 kB: logcat (4778) native I/ActivityManager( 662): ntv N 311 kB: servicemanager (250) native I/ActivityManager( 662): ntv N 306 kB: dhcpcd (1980) native I/ActivityManager( 662): ntv N 280 kB: debuggerd (257) native I/ActivityManager( 662): ntv N 250 kB: installd (261) native I/ActivityManager( 662): ntv N 217 kB: auditd (255) native I/ActivityManager( 662): ntv N 209 kB: qseecomd (271) native I/ActivityManager( 662): sys P 63550 kB: system (662) fixed I/ActivityManager( 662): pers P 33951 kB: com.android.systemui (818) fixed I/ActivityManager( 662): pers P 14791 kB: com.android.phone (1193) fixed I/ActivityManager( 662): pers P 8402 kB: com.android.nfc (1187) fixed I/ActivityManager( 662): pers P 6143 kB: com.android.server.telecom (1157) fixed I/ActivityManager( 662): pers P 4855 kB: com.android.incallui (1221) fixed I/ActivityManager( 662): fore T 38731 kB: com.anddoes.launcher (3678) top-activity I/ActivityManager( 662): vis IF 23159 kB: com.google.process.gapps (4573) service I/ActivityManager( 662): com.google.android.gms/.gcm.http.GoogleHttpService<=Proc{4630:com.google.process.location/u0a18} I/ActivityManager( 662): vis IF 17013 kB: com.google.android.gms (4600) service I/ActivityManager( 662): com.google.android.gms/.analytics.service.AnalyticsService<=Proc{3678:com.anddoes.launcher/u0a63} I/ActivityManager( 662): vis IF 0 kB: com.google.process.location (4630) service I/ActivityManager( 662): com.google.android.gms/com.google.android.location.network.NetworkLocationService<=Proc{662:system/1000} I/ActivityManager( 662): svc S 0 kB: com.filekukiss3kukis (4780) started-services I/ActivityManager( 662): svcb S 0 kB: com.kakao.talk (4747) started-services I/ActivityManager( 662): 492719 kB: TOTAL I/ActivityManager( 662): MemInfo: 34108 kB slab, 1640 kB shmem, 316 kB buffers, 86012 kB cached, 306500 kB free I/ActivityManager( 662): Process com.google.process.location (pid 4630) has died E/lowmemorykiller( 249): Error writing /proc/4600/oom_score_adj; errno=22 W/ActivityManager( 662): Exception when unbinding service com.google.android.gms/.ads.identifier.service.AdvertisingIdService W/ActivityManager( 662): android.os.DeadObjectException W/ActivityManager( 662): at android.os.BinderProxy.transactNative(Native Method) W/ActivityManager( 662): at android.os.BinderProxy.transact(Binder.java:496) W/ActivityManager( 662): at android.app.ApplicationThreadProxy.scheduleUnbindService(ApplicationThreadNative.java:917) W/ActivityManager( 662): at com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:1773) W/ActivityManager( 662): at com.android.server.am.ActiveServices.killServicesLocked(ActiveServices.java:2157) W/ActivityManager( 662): at com.android.server.am.ActivityManagerService.cleanUpApplicationRecordLocked(ActivityManagerService.java:14681) W/ActivityManager( 662): at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:4823) W/ActivityManager( 662): at com.android.server.am.ActivityManagerService.appDiedLocked(ActivityManagerService.java:4988) W/ActivityManager( 662): at com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied(ActivityManagerService.java:1165) W/ActivityManager( 662): at android.os.BinderProxy.sendDeathNotice(Binder.java:551) E/lowmemorykiller( 249): Error opening /proc/4600/oom_score_adj; errno=2 W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.reporting.service.DispatchingService in 174301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.geofencer.service.GeofenceProviderService in 184301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.fused.FusedLocationService in 194301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.backup.BackupTransportService in 204301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.fused.service.FusedProviderService in 214301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService in 224301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.geocode.GeocodeService in 234301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.network.NetworkLocationService in 244301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.deviceconnection.service.DeviceConnectionServiceBroker in 254301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService in 264301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.fused.NlpLocationReceiverService in 274301ms E/lowmemorykiller( 249): Error opening /proc/4573/oom_score_adj; errno=2 I/ActivityManager( 662): Process com.google.process.gapps (pid 4573) has died W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.gcm.GcmService in 284204ms I/ActivityManager( 662): Process com.google.android.gms (pid 4600) has died W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.analytics.service.AnalyticsService in 294184ms
    via by OldNightlyBug,
  • I've actually encountered this issue on pure AOSP. I'm reuploading it to CM JIRA to maybe help CM guys to fix this. - https://code.google.com/p/android/issues/detail?id=140061 - I've been recently playing around with different bootanimation.zip to customize boot animations on my Galaxy S4 with Lollipop, and noticed that /system/bin/bootanimation causes a serious memory leaks. I thought this issue was due to poor bootanimation.zip, or the custom ROM I've installed, but after testing this with pure AOSP installed Nexus 5 and Nexus 7, the issue was reproducible. When the bootanimation binary runs for too long, it massively eats up memory, blocking other core system services to execute, resulting in a boot-loop. Since bootanimation binary has 0 oom priority, bootanimation keeps spinning, eventually causing the entire device to die. When the bootanimation passes(such as dexopt upgrades or system initialization finished relatively quickly), the memory instantly get released and the system is back up normal. It seems like the previous frame is not being cleared from the memory. This is a very serious issue, please look into it and fix this before the next Android release ships. Logs - 1. A custom built bootanimation that just goes through loop even though the system initialization is finished root@ks01lte:/ # bootanimation Killed 137|root@ks01lte:/ # bootanimation Killed 137|root@ks01lte:/ # bootanimation Killed 137|root@ks01lte:/ # You can see that the bootanimation binary is getting killed by oom. 2. While bootanimation is running, oom is printed through logcat Notice the abnormal memory allocation of bootanimation binary? I/ActivityManager( 662): Process com.google.android.gms.wearable (pid 4649) has died W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.wearable.service.WearableService in 115044ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.wearable.node.bluetooth.BluetoothClientService in 145044ms E/lowmemorykiller( 249): Error opening /proc/4747/oom_score_adj; errno=2 I/ActivityManager( 662): Process com.kakao.talk (pid 4747) has died W/ActivityManager( 662): Scheduling restart of crashed service com.kakao.talk/.vox.VoxService in 155023ms I/ActivityManager( 662): Process com.filekukiss3kukis (pid 4780) has died W/ActivityManager( 662): Scheduling restart of crashed service com.filekukiss3kukis/.NotifyService in 164844ms V/BackupManagerService( 662): Disconnected from transport ComponentInfo{com.google.android.gms/com.google.android.gms.backup.BackupTransportService} V/BackupManagerService( 662): Registering transport com.google.android.gms/.backup.BackupTransportService::null = null D/GpsStatusListenerHelper( 662): Remote Listener died: android.location.IGpsStatusListener$Stub$Proxy@447742d D/WifiService( 662): Client connection lost with reason: 4 I/ActivityManager( 662): Low on memory: I/ActivityManager( 662): ntv N 232270 kB: bootanimation (4801) native I/ActivityManager( 662): ntv N 8560 kB: mediaserver (260) native I/ActivityManager( 662): ntv N 5180 kB: surfaceflinger (252) native I/ActivityManager( 662): ntv N 3896 kB: zygote (266) native I/ActivityManager( 662): ntv N 3396 kB: mm-qcamera-daemon (265) native I/ActivityManager( 662): ntv N 2489 kB: rild (258) native I/ActivityManager( 662): ntv N 2254 kB: logd (247) native I/ActivityManager( 662): ntv N 1027 kB: netd (256) native I/ActivityManager( 662): ntv N 947 kB: drmserver (259) native I/ActivityManager( 662): ntv N 920 kB: /init (1) native I/ActivityManager( 662): ntv N 857 kB: qmuxd (264) native I/ActivityManager( 662): ntv N 851 kB: audiod (273) native I/ActivityManager( 662): ntv N 773 kB: wpa_supplicant (900) native I/ActivityManager( 662): ntv N 764 kB: vold (251) native I/ActivityManager( 662): ntv N 672 kB: adbd (275) native I/ActivityManager( 662): ntv N 644 kB: ueventd (214) native I/ActivityManager( 662): ntv N 598 kB: keystore (262) native I/ActivityManager( 662): ntv N 554 kB: time_daemon (272) native I/ActivityManager( 662): ntv N 441 kB: rmt_storage (254) native I/ActivityManager( 662): ntv N 411 kB: sh (4248) native I/ActivityManager( 662): ntv N 404 kB: healthd (248) native I/ActivityManager( 662): ntv N 403 kB: sh (4336) native I/ActivityManager( 662): ntv N 389 kB: rfs_access (253) native I/ActivityManager( 662): ntv N 332 kB: lmkd (249) native I/ActivityManager( 662): ntv N 327 kB: qseecomd (292) native I/ActivityManager( 662): ntv N 327 kB: logcat (4778) native I/ActivityManager( 662): ntv N 311 kB: servicemanager (250) native I/ActivityManager( 662): ntv N 306 kB: dhcpcd (1980) native I/ActivityManager( 662): ntv N 280 kB: debuggerd (257) native I/ActivityManager( 662): ntv N 250 kB: installd (261) native I/ActivityManager( 662): ntv N 217 kB: auditd (255) native I/ActivityManager( 662): ntv N 209 kB: qseecomd (271) native I/ActivityManager( 662): sys P 63550 kB: system (662) fixed I/ActivityManager( 662): pers P 33951 kB: com.android.systemui (818) fixed I/ActivityManager( 662): pers P 14791 kB: com.android.phone (1193) fixed I/ActivityManager( 662): pers P 8402 kB: com.android.nfc (1187) fixed I/ActivityManager( 662): pers P 6143 kB: com.android.server.telecom (1157) fixed I/ActivityManager( 662): pers P 4855 kB: com.android.incallui (1221) fixed I/ActivityManager( 662): fore T 38731 kB: com.anddoes.launcher (3678) top-activity I/ActivityManager( 662): vis IF 23159 kB: com.google.process.gapps (4573) service I/ActivityManager( 662): com.google.android.gms/.gcm.http.GoogleHttpService<=Proc{4630:com.google.process.location/u0a18} I/ActivityManager( 662): vis IF 17013 kB: com.google.android.gms (4600) service I/ActivityManager( 662): com.google.android.gms/.analytics.service.AnalyticsService<=Proc{3678:com.anddoes.launcher/u0a63} I/ActivityManager( 662): vis IF 0 kB: com.google.process.location (4630) service I/ActivityManager( 662): com.google.android.gms/com.google.android.location.network.NetworkLocationService<=Proc{662:system/1000} I/ActivityManager( 662): svc S 0 kB: com.filekukiss3kukis (4780) started-services I/ActivityManager( 662): svcb S 0 kB: com.kakao.talk (4747) started-services I/ActivityManager( 662): 492719 kB: TOTAL I/ActivityManager( 662): MemInfo: 34108 kB slab, 1640 kB shmem, 316 kB buffers, 86012 kB cached, 306500 kB free I/ActivityManager( 662): Process com.google.process.location (pid 4630) has died E/lowmemorykiller( 249): Error writing /proc/4600/oom_score_adj; errno=22 W/ActivityManager( 662): Exception when unbinding service com.google.android.gms/.ads.identifier.service.AdvertisingIdService W/ActivityManager( 662): android.os.DeadObjectException W/ActivityManager( 662): at android.os.BinderProxy.transactNative(Native Method) W/ActivityManager( 662): at android.os.BinderProxy.transact(Binder.java:496) W/ActivityManager( 662): at android.app.ApplicationThreadProxy.scheduleUnbindService(ApplicationThreadNative.java:917) W/ActivityManager( 662): at com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:1773) W/ActivityManager( 662): at com.android.server.am.ActiveServices.killServicesLocked(ActiveServices.java:2157) W/ActivityManager( 662): at com.android.server.am.ActivityManagerService.cleanUpApplicationRecordLocked(ActivityManagerService.java:14681) W/ActivityManager( 662): at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:4823) W/ActivityManager( 662): at com.android.server.am.ActivityManagerService.appDiedLocked(ActivityManagerService.java:4988) W/ActivityManager( 662): at com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied(ActivityManagerService.java:1165) W/ActivityManager( 662): at android.os.BinderProxy.sendDeathNotice(Binder.java:551) E/lowmemorykiller( 249): Error opening /proc/4600/oom_score_adj; errno=2 W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.reporting.service.DispatchingService in 174301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.geofencer.service.GeofenceProviderService in 184301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.fused.FusedLocationService in 194301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.backup.BackupTransportService in 204301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.fused.service.FusedProviderService in 214301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService in 224301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.geocode.GeocodeService in 234301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.network.NetworkLocationService in 244301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.deviceconnection.service.DeviceConnectionServiceBroker in 254301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService in 264301ms W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.fused.NlpLocationReceiverService in 274301ms E/lowmemorykiller( 249): Error opening /proc/4573/oom_score_adj; errno=2 I/ActivityManager( 662): Process com.google.process.gapps (pid 4573) has died W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.gcm.GcmService in 284204ms I/ActivityManager( 662): Process com.google.android.gms (pid 4600) has died W/ActivityManager( 662): Scheduling restart of crashed service com.google.android.gms/.analytics.service.AnalyticsService in 294184ms
    via by OldNightlyBug,
  • GitHub comment 28#259297627
    via GitHub by licaon-kter
    ,
  • GitHub comment 134#147141847
    via GitHub by ashimokawa
    ,
  • GitHub comment 22#172684791
    via GitHub by c3ph3us
    ,
    • android.os.DeadObjectException at android.os.BinderProxy.transact(Native Method) at android.app.ApplicationThreadProxy.scheduleUnbindService(ApplicationThreadNative.java:880) at com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:1369) at com.android.server.am.ActiveServices.killServicesLocked(ActiveServices.java:1652) at com.android.server.am.ActivityManagerService.cleanUpApplicationRecordLocked(ActivityManagerService.java:12810) at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:3766) at com.android.server.am.ActivityManagerService.appDiedLocked(ActivityManagerService.java:3870) at com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied(ActivityManagerService.java:1045) at android.os.BinderProxy.sendDeathNotice(Binder.java:470) at com.android.server.SystemServer.init1(Native Method) at com.android.server.SystemServer.main(SystemServer.java:2012) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    Hiren Amaliyar
    23 times, last one,
    Agócs Tamás
    6 times, last one,
    Indri Yunita
    159 times, last one,
    ahmed
    2 times, last one,
    filpgame
    248 times, last one,
    95 more bugmates