Android TransactionTooLargeException经过多个小时的测试

时间:2014-02-12 14:44:02

标签: android android-binder transactiontoolargeexception

我在三星的设备上遇到了问题 经过几个小时的压力测试,两个小部件显示异常,并且关于这两个小部件(cmaweather和storyalbumwidget)发生了ANR。

这是跟踪:

  

02-11 08:38:00.219 W / ActivityManager(728):取消绑定时出现异常   服务   com.sec.android.widgetapp.ap.hero.cmaweather / .SurfaceWidgetWeather   02-11 08:38:00.219 W / ActivityManager(728):   android.os.TransactionTooLargeException 02-11 08:38:00.219   W / ActivityManager(728):在android.os.BinderProxy.transact(Native   方法)02-11 08:38:00.219 W / ActivityManager(728):at   android.app.ApplicationThreadProxy.scheduleUnbindService(ApplicationThreadNative.java:880)   02-11 08:38:00.219 W / ActivityManager(728):at   com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:1365)   02-11 08:38:00.219 W / ActivityManager(728):at   com.android.server.am.ActiveServices.unbindServiceLocked(ActiveServices.java:639)   02-11 08:38:00.219 W / ActivityManager(728):at   com.android.server.am.ActivityManagerService.unbindService(ActivityManagerService.java:13374)   02-11 08:38:00.219 W / ActivityManager(728):at   android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:824)   02-11 08:38:00.219 W / ActivityManager(728):at   com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2136)   02-11 08:38:00.219 W / ActivityManager(728):at   android.os.Binder.execTransact(Binder.java:388)02-11 08:38:00.219   W / ActivityManager(728):at dalvik.system.NativeStart.run(Native   方法)02-11 08:38:00.239 W / ActivityManager(728):异常时   开始服务   com.sec.android.widgetapp.ap.hero.cmaweather / .SurfaceWidgetWeather   02-11 08:38:00.239 W / ActivityManager(728):   android.os.TransactionTooLargeException 02-11 08:38:00.239   W / ActivityManager(728):在android.os.BinderProxy.transact(Native   方法)02-11 08:38:00.239 W / ActivityManager(728):at   android.app.ApplicationThreadProxy.scheduleCreateService(ApplicationThreadNative.java:857)   02-11 08:38:00.239 W / ActivityManager(728):at   com.android.server.am.ActiveServices.realStartServiceLocked(ActiveServices.java:1111)   02-11 08:38:00.239 W / ActivityManager(728):at   com.android.server.am.ActiveServices.bringUpServiceLocked(ActiveServices.java:1034)   02-11 08:38:00.239 W / ActivityManager(728):at   com.android.server.am.ActiveServices.bindServiceLocked(ActiveServices.java:534)   02-11 08:38:00.239 W / ActivityManager(728):at   com.android.server.am.ActivityManagerService.bindService(ActivityManagerService.java:13367)   02-11 08:38:00.239 W / ActivityManager(728):at   android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:814)   02-11 08:38:00.239 W / ActivityManager(728):at   com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2136)   02-11 08:38:00.239 W / ActivityManager(728):at   android.os.Binder.execTransact(Binder.java:388)02-11 08:38:00.239   W / ActivityManager(728):at dalvik.system.NativeStart.run(Native   方法)02-11 08:38:00.249 W / ActivityManager(728):异常时   解除束缚的服务   com.samsung.android.app.storyalbumwidget / .StoryAlbumWidget 02-11   08:38:00.249 W / ActivityManager(728):   android.os.TransactionTooLargeException 02-11 08:38:00.249   W / ActivityManager(728):在android.os.BinderProxy.transact(Native   方法)02-11 08:38:00.249 W / ActivityManager(728):at   android.app.ApplicationThreadProxy.scheduleUnbindService(ApplicationThreadNative.java:880)   02-11 08:38:00.249 W / ActivityManager(728):at   com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:1365)   02-11 08:38:00.249 W / ActivityManager(728):at   com.android.server.am.ActiveServices.unbindServiceLocked(ActiveServices.java:639)   02-11 08:38:00.249 W / ActivityManager(728):at   com.android.server.am.ActivityManagerService.unbindService(ActivityManagerService.java:13374)   02-11 08:38:00.249 W / ActivityManager(728):at   android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:824)   02-11 08:38:00.249 W / ActivityManager(728):at   com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2136)   02-11 08:38:00.249 W / ActivityManager(728):at   android.os.Binder.execTransact(Binder.java:388)02-11 08:38:00.249   W / ActivityManager(728):at dalvik.system.NativeStart.run(Native   方法)

我知道TransactionTooLargeException是因为事务的数据太大 但我不知道为什么这个例外只发生在经过数小时的压力测试之后 在压力测试中,我们只是一次又一次地打开一些应用程序。

有没有人有任何想法?
我怎么能检查这个问题?

0 个答案:

没有答案