Problem with Crash application

CapReed

Member
Licensed User
Longtime User
Good morning,

I'm developing an application that periodically connects to a mail server and downloads some emails. I am slowly making progress, but when I put in the test phase in real life connection through 3G, the application quits within minutes. I forced a panoramic position for this error. I understand that is because there is a communication problem, but I have not very clear. Can you tell me how I can check that the application does not close when the error occurs and automatically restart? The application has a service that is responsible for checking the mail server and other service that is responsible for a widget. I have since services are restarted to kill, but to crash the application services are also killed.

HTML:
Fatal signal 11 (SIGSEGV) at 0x00000070 (code=1)


problem setting interface quota


java.lang.IllegalStateException: Error communicating to native daemon
   at com.android.server.NetworkManagementService.setInterfaceQuota(NetworkManagementService.java:1155)
   at com.android.server.net.NetworkPolicyManagerService.setInterfaceQuota(NetworkPolicyManagerService.java:1507)
   at com.android.server.net.NetworkPolicyManagerService.updateNetworkRulesLocked(NetworkPolicyManagerService.java:842)
   at com.android.server.net.NetworkPolicyManagerService.access$1100(NetworkPolicyManagerService.java:148)
   at com.android.server.net.NetworkPolicyManagerService$7.onReceive(NetworkPolicyManagerService.java:692)
   at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
   at android.os.Handler.handleCallback(Handler.java:605)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:137)
   at android.os.HandlerThread.run(HandlerThread.java:60)
Caused by: com.android.server.NativeDaemonConnectorException: Cmd {bandwidth setiquota pdp0 677917864} failed with code 400 : {Bandwidth command failed}


   at com.android.server.NativeDaemonConnector.doCommandLocked(NativeDaemonConnector.java:281)
   at com.android.server.NativeDaemonConnector.doCommand(NativeDaemonConnector.java:241)
   at com.android.server.NetworkManagementService.setInterfaceQuota(NetworkManagementService.java:1152)
   ... 9 more

Thank you!
 
Top