のねのBlog

パソコンやソフト開発で起きた問題など書きます。よろしくお願いします。

android.os.DeadObjectException

12-23 07:42:00.782: W/LoaderManager(6579): Called doRetain when not started: LoaderManager{f3478ec in HostCallbacks{a38d233}}
12-23 07:42:00.782: W/LoaderManager(6579): java.lang.RuntimeException: here
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.LoaderManagerImpl.doRetain(LoaderManager.java:799)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.FragmentHostCallback.doLoaderStop(FragmentHostCallback.java:257)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.FragmentController.doLoaderStop(FragmentController.java:389)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.Activity.performStop(Activity.java:6822)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4124)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4185)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4459)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.ActivityThread.-wrap19(ActivityThread.java)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1466)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.os.Handler.dispatchMessage(Handler.java:102)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.os.Looper.loop(Looper.java:154)
12-23 07:42:00.782: W/LoaderManager(6579): 	at android.app.ActivityThread.main(ActivityThread.java:6077)
12-23 07:42:00.782: W/LoaderManager(6579): 	at java.lang.reflect.Method.invoke(Native Method)
12-23 07:42:00.782: W/LoaderManager(6579): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
12-23 07:42:00.782: W/LoaderManager(6579): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
12-23 07:42:00.792: I/art(6579): Starting a blocking GC Explicit
12-23 07:42:00.839: I/art(6579): Explicit concurrent mark sweep GC freed 30242(1549KB) AllocSpace objects, 0(0B) LOS objects, 37% free, 26MB/42MB, paused 449us total 46.217ms
12-23 07:42:00.846: W/InputMethodManagerService(742): Session failed to close due to remote exception
12-23 07:42:00.846: W/InputMethodManagerService(742): android.os.DeadObjectException
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at android.os.BinderProxy.transactNative(Native Method)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at android.os.BinderProxy.transact(Binder.java:615)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:305)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.server.InputMethodManagerService.finishSessionLocked(InputMethodManagerService.java:1627)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.server.InputMethodManagerService.clearClientSessionLocked(InputMethodManagerService.java:1618)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1644)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1663)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1470)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1484)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at android.os.Handler.handleCallback(Handler.java:751)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at android.os.Handler.dispatchMessage(Handler.java:95)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at android.os.Looper.loop(Looper.java:154)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.server.SystemServer.run(SystemServer.java:339)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.server.SystemServer.main(SystemServer.java:209)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at java.lang.reflect.Method.invoke(Native Method)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
12-23 07:42:00.846: W/InputMethodManagerService(742): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
12-23 07:42:00.874: I/art(6579): Starting a blocking GC Explicit
12-23 07:42:00.876: D/Index(6579): Locale 'ja_JP' is already indexed
12-23 07:42:00.877: D/Index(6579): Locale 'ja_JP' is already indexed
12-23 07:42:00.905: I/art(6579): Explicit concurrent mark sweep GC freed 48646(4MB) AllocSpace objects, 172(7MB) LOS objects, 40% free, 15MB/25MB, paused 292us total 30.380ms
12-23 07:42:00.909: W/System.err(6579): java.lang.Error: Cleaner terminated abnormally
12-23 07:42:00.910: W/System.err(6579): 	at sun.misc.Cleaner$1.run(Cleaner.java:147)
12-23 07:42:00.910: W/System.err(6579): 	at sun.misc.Cleaner$1.run(Cleaner.java:145)
12-23 07:42:00.910: W/System.err(6579): 	at java.security.AccessController.doPrivileged(AccessController.java:41)
12-23 07:42:00.910: W/System.err(6579): 	at sun.misc.Cleaner.clean(Cleaner.java:144)
12-23 07:42:00.910: W/System.err(6579): 	at java.lang.ref.ReferenceQueue.enqueueLocked(ReferenceQueue.java:75)
12-23 07:42:00.910: W/System.err(6579): 	at java.lang.ref.ReferenceQueue.enqueuePending(ReferenceQueue.java:243)
12-23 07:42:00.910: W/System.err(6579): 	at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:160)
12-23 07:42:00.910: W/System.err(6579): 	at java.lang.Thread.run(Thread.java:761)
12-23 07:42:00.910: W/System.err(6579): Caused by: java.lang.RuntimeException: Attempted to free 98 native bytes with only 52 native bytes registered as allocated
12-23 07:42:00.910: W/System.err(6579): 	at dalvik.system.VMRuntime.registerNativeFree(Native Method)
12-23 07:42:00.910: W/System.err(6579): 	at libcore.util.NativeAllocationRegistry.registerNativeFree(NativeAllocationRegistry.java:223)
12-23 07:42:00.910: W/System.err(6579): 	at libcore.util.NativeAllocationRegistry.-wrap0(NativeAllocationRegistry.java)
12-23 07:42:00.910: W/System.err(6579): 	at libcore.util.NativeAllocationRegistry$CleanerThunk.run(NativeAllocationRegistry.java:196)
12-23 07:42:00.910: W/System.err(6579): 	at sun.misc.Cleaner.clean(Cleaner.java:142)
12-23 07:42:00.910: W/System.err(6579): 	... 4 more
12-23 07:42:00.915: I/art(6579): System.exit called, status: 1
12-23 07:42:00.915: I/AndroidRuntime(6579): VM exiting with result code 1, cleanup skipped.
12-23 07:42:00.971: I/WindowManager(742): WIN DEATH: Window{84729f9 u0 com.android.settings/com.android.settings.SubSettings}
12-23 07:42:00.972: I/WindowManager(742): Destroying surface Surface(name=com.android.settings/com.android.settings.SubSettings) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack> 


Cross Reference: /libcore/ojluni/src/main/java/sun/misc/Cleaner.java

    135     /**
    136      * Runs this cleaner, if it has not been run before.
    137      */
    138     public void clean() {
    139         if (!remove(this))
    140             return;
    141         try {
    142             thunk.run();
    143         } catch (final Throwable x) {
    144             AccessController.doPrivileged(new PrivilegedAction<Void>() {
    145                     public Void run() {
    146                         if (System.err != null)
    147                             new Error("Cleaner terminated abnormally", x)
    148                                 .printStackTrace();
    149                         System.exit(1);
    150                         return null;
    151                     }});
    152         }
    153     }